wxx=? search gives "Error parsing find request"
- Article Type: General
- Product: Aleph
- Product Version: 20
Description:
We want to find all cases where a record has wcn Word index entries *regardless* of the value. But wcn=? gives us "Error parsing find request".
"wrd=?" , wti=?", etc., also give this error.
Resolution:
The "?" truncation symbol can not be used by itself. If the fields sent to the wcn index always begin with a number, then the following search could be used:
wcn= (0? or 1? or 2? or 3? or 4? or 5? or 6? or 7? or 8? or 9?)
If the fields sent to the wcn index can begin with numbers *or* letters, you include letters too:
wcn= (0? or 1? or 2? or 3? or 4? or 5? or 6? or 7? or 8? or 9? or a? or b? or c? or d?) <etc.>
Please note that the performance of bases with severe truncation (-- as these are --) can be very poor. This issue is described in KB 8192-471. It might be OK for a very small library, such as a Course Reserves library, but never for a bib library.
The solution in that case is to create a TYP field via tab_type_config which will generate a "TYP" with value "Course" if a CNO field exists:
1. in tab_expand
WORD expand_doc_type tab_type_config.eng
2. in tab_type_config.eng
TYP Course CNO EXIST
3. in tab11_word index the typ field to the WTYP index:
TYP## 03 WTYP
Then make a base where wtyp=course .
- Article last edited: 10/8/2013