- Article Type: General
- Product: Aleph
- Product Version: 17.01
In v15.5 we were able to do searches with the words in quotation and get phrase search results. In v17 this is not working. tab11_word and tab_word_breaking are set up exactly the same in the 2 versions. The only difference is that we changed ADJACENCY_TYPE from 2 in v15.5 to 0 in v17. It was our understanding that this would only effect indexing and response times, not functionality.
Why doesn't putting a search in quotation marks return phrase search results?
wrd=wild !0 rice - 18 hits
wrd=wild %0 rice - 18 hits
wrd="wild rice" - 19 hits
wrd=wild rice - 19 hits
wrd=popular !0 reading - 305 hits
wrd=popular %0 reading - 306 hits
wrd="popular reading" - 332 hits
wrd=popular reading - 332 hits
In v16-up, adjacency_type 0 does not work: when the Words are built with adjacency_type 0, putting the search in quote marks does not work.
You should always specify adjacency_type 2 in version 16-up.
The documentation for adjacency_type 0 has been changed as follows:
Note! It is highly recommended NOT to use this type of adjacency. The adjacency is kept only for backwards compatibility (for converting libraries that built their indexes in previous version).
- Article last edited: 10/8/2013