Re: Working with Query classes

2010-03-10 Thread Matt Honeycutt
2010 8:23 AM > To: [email protected] > Subject: RE: Working with Query classes > > I'm no power user, but I hunted for something similar and ended up > switching off the concrete type like you mentioned. It's not even clear > to me which concrete Query ty

RE: Working with Query classes

2010-03-10 Thread Michael Garski
-Original Message- From: Mike Schenk [mailto:[email protected]] Sent: Wednesday, March 10, 2010 8:23 AM To: [email protected] Subject: RE: Working with Query classes I'm no power user, but I hunted for something similar and ended up switching off the concrete type lik

RE: Working with Query classes

2010-03-10 Thread Digy
Maybe that can help; queryParser.SetMultiTermRewriteMethod(MultiTermQuery.SCORING_BOOLEAN_QUERY_R EWRITE); query=queryParser.Parse(...); query.Rewrite(indexReader).ToString(); DIGY -Original Message- From: Matt Honeycutt [mailto:[email protected]] Sent: Wednesday, March 10, 2010 3:

RE: Working with Query classes

2010-03-10 Thread Mike Schenk
I'm no power user, but I hunted for something similar and ended up switching off the concrete type like you mentioned. It's not even clear to me which concrete Query types can be produced by the QueryParser, but I don't believe all of them can. In particular, I don't believe the SpanQuery types can