Paul Smith wrote:
I have written a custom analyzer to tokenize PowerQuery into  'power',
'query, and 'powerquery' and change the position increment to 0, but I
don't quite get the desired behavior. The phrase query "use power query
for advanced searches" does not match, but "use query for advanced
searches", and "use power for advanced searches" do.

Any ideas?

Another approach would be to index this as:

token:       use   power      query for advanced searches
                   powerquery
position:    0     1          2     3   4        5

Then use phrase queries with slop=1, to permit a one-token gap when someone searches for "use powerquery for advanced searches".

Doug

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to