> I'm not very familiar with shingles but it seems to be that you should
> have ShingleFilter at index time and make the query as a phrase query?

Then the entry "abcd efgh ijkl" would be indexed as 
(abcd "abcd efgh" "abcd efgh ijkl" efgh "efgh ijkl" ijkl)

and a subsequent query "abcd" would return this entry.
If this is so then this is not exact matching and not what we are
looking for.

The filter behaviour we are looking for is like:
   (i've included ^$ to denote the exact matching)

Original Query   --> Filtered Query
 abcd            -->  ^abcd$
"abcd efgh"      --> (^abcd$ ^"abcd efgh"$ ^efgh$)
"abcd efgh ijkl" --> (^abcd$ ^"abcd efgh"$ ^"abcd efgh ijkl"$ ^efgh$ ^"efgh 
ijkl"$ ^ijkl$)


~mck

-- 
"All stable processes we shall predict. All unstable processes we shall
control." John von Neumann 
| semb.wever.org | sesat.no | sesam.no |

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to