Look up span queries.
On Thu, Jun 23, 2011 at 7:25 PM, Crackle <bjnikon-fitzwa...@yahoo.com> wrote: > Trying to figure out how to do the following search: > > item1 AND item2 OR item3 within 10 words of item4* OR item5* > > What I did is the following: > > item1 AND "((item2 OR item3) (item4* OR item5*))"~10 > > but then I find out that I can't use wildcards in a phrase. > > Is there any solution for what I am trying to do? > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/How-to-Search-tp3102224p3102224.html > Sent from the Lucene - General mailing list archive at Nabble.com. >