Re: (~) opertor query....

2007-12-18 Thread Chris Hostetter
: You can look at org.apache.lucene.search.MultiPhraseQuery which does : something similar to what you ask. From its javadoc: good call .. funny thing, i was just pointing out MultiPhraseQuery as a way to meat this need only a few days ago, but for some reason it didn't occur to me in the threa

Re: (~) opertor query....

2007-12-14 Thread Shai Erera
I just noticed MultiPhraseQuery has a setSlop method, so I think this Query is what you're looking for. On Dec 15, 2007 7:04 AM, Shai Erera <[EMAIL PROTECTED]> wrote: > You can look at org.apache.lucene.search.MultiPhraseQuery which does > something similar to what you ask. From its javadoc: > >

Re: (~) opertor query....

2007-12-14 Thread Shai Erera
You can look at org.apache.lucene.search.MultiPhraseQuery which does something similar to what you ask. From its javadoc: * To use this class, to search for the phrase "Microsoft app*" first use * add(Term) on the term "Microsoft", then find all terms that have "app" as * prefix using IndexRead

Re: (~) opertor query....

2007-12-14 Thread Chris Hostetter
: I am parsing this query: "Auto* machine"~4. : : Will it work? If yes then right now it's not working. Can : anyone help on this? Tt depends, what do you want it to do? :) If you are hoping it will match documents that contain a word that starts with "Auto" withing a di