--- On Wed, 10/21/09, Bill Au <bill.w...@gmail.com> wrote:
> From: Bill Au <bill.w...@gmail.com> > Subject: Question on ShingleFilter > To: solr-user@lucene.apache.org > Date: Wednesday, October 21, 2009, 6:04 PM > I am having problem with using the > ShingleFIlter. My test document is "the > quick brown fox jumps over the lazy dog". My query is > "my quick brown". > Since both have the term "quick brown" at term position 2, > the query should > match the test document, right? But my query is not > returning anything. I > tried googling for example use fo the ShingleFIlter but > didn't find any... Could it be your default operator which is set to AND? Can you try after setting it to OR? You can do in either: &q.op=OR at query time or change it in schema.xml. Did you see the output of /admin/analysis.jsp?