Displaying 1 result from an estimated 1 matches for "ztsearch".
Did you mean:
tsearch
2012 Jan 05
1
Enhance synonyms feature of the query parser (patch included)
...ym("foo bar", "foobar");
qp.add_prefix("title", "T");
I think my expected results of query parser should be like this:
"search something" ==> "(Zsearch:(pos=1) SYNONYM find:(pos=1)) AND Zsometh:(pos=2)
"title:search" ==> "ZTsearch:(pos=1) SYNONYM Tfind:(pos=1)"
"title:searching" ==> "ZTSearch:(pos=1) SYNONYM ZTfind:(pos=1)"
"title:(foo bar)" ==> "(ZTfoo:(pos=1) AND ZTbar:(pos=2)) SYNONYM Tfoobar:(pos=1)
...
In general, it is hoped can add prefix info to synonym term automatically...