Sorry, I just realized I can use SolrIndexSearcher.search(Query, Hit)...
that was my question basically. paul Le 02-avr.-09 à 03:31, Erik Hatcher a écrit :
Paul,I'm not sure I understand what you're looking for exactly. Solr supports Lucene's QueryParser by default for /select?q=... so you get the breadth of what it supports including boolean, prefix, fuzzy, and more. QueryParser has never supported span queries though. There is also a dismax parser available (&defType=dismax to enable it), and numerous other parser plugins. Queries with Solr aren't created from the client as a Query object, but rather some string parameters come from the client that are then used to build a Query on the server side.You can also add your own QParserPlugin to build custom Lucene Query objects however you like.Erik On Apr 1, 2009, at 6:34 PM, Paul Libbrecht wrote:I am surprised not to find any equivalent to the classical Lucene queries in Solr... I must have badly looked... E.g. where can I get a BooleanQuery, a PrefixQuery, a FuzzyQuery, or even a few spanqueries?thanks in advance paul
smime.p7s
Description: S/MIME cryptographic signature