I have an application that uses Lucene.net. Up until today, I've had success 
using the query 'syntax' until I needed to programmatically add a TON of 
clauses to the queries. With ~700 clauses, QueryParser.Parse is very slow.

 

So, I turned to the query API, which works absolutely great; except for one 
minor thing. I can't seem to get any results (Hits) by passing the Query object 
to my Searcher without going through the QueryParser. And when I do that, I'm 
back to the beginning again. Blehhhh! J

 

What in the world am I missing here? I can't find a way to simply tell any of 
the players which Analyzer to use.

 

Of course, using Query.ToString() works find in Luke paired up with the correct 
Analyzer.

 

Thanks for any and all help!

 

Chris Martin

Software Developer - myKB.com

ΓΌ http://mykb.com  U [EMAIL PROTECTED] O+1 480-424-6952 x124

 

Reply via email to