Greetings all,
Attached is a patch for field-restricted searches. Could people=20
please test it before I commit it, especially people who have=20
external parser and can test the new handling of <meta...> tags?
Questions that arose from doing this:
1. Could/should the tests for '|| (t >=3D 161 && t <=3D 255)' be made par=
t=20
of HtIsWordChar? I assume they are for accented letters.
2. Should 'prefix_match_character' really be a string, not a char?
3. What (if anything) should I do with the 'author' field, other than=20
put the words in the word list?
4. This *doesn't* allow field-restricted parenthesised queries like=20
'Harry and Potter and title:(fan and club)'. Is that OK?
5. Should 'exact:' inhibit fuzzy rules, as the comment in htsearch.cc=20
suggests? If not, what should it do?
5. I've made some annotations to STATUS. Could someone else please=20
check these too, and delete the entries if they are really resolved?
Thanks,
Lachlan |