You might want to look into the DisjunctionMaxQuery class ... in particular building a BooleanQuery containing a DisjunctionMaxQuery for each 'word' of your input in the various fields ... i've found it to be very effective. when it was first proposed it was called "MaxDisjunctionQuery" and you can find an explanation of how it can be usefull here...http://issues.apache.org/jira/browse/LUCENE-323
This should solve most of my heartache. Whats the suggested way to use this ? Copy a solr jar ? Or just copy the code for this 1 query ? Are there plans to move this into lucene core ? (or contrib area?) There are a lot of good utils in Solr which I (and I guess most people building a search) would want. Are there plans to move the utils like DisjunctionMaxQueryParser, SynonymFilter, etc back into lucene, or would it be simpler for someone using java 1.5 to start using solr straight away. Are there any issues if I do decide to move to solr that I should be aware of ? (I am using lucene 2.0 as of now) Thanks a ton, mek. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
