I'm not sure if you are after a custom query parsing component, but if that is 
that you are after, start by looking at these:

$ ff \*QParser\*java 
./src/test/org/apache/solr/search/FooQParserPlugin.java
./src/java/org/apache/solr/search/LuceneQParserPlugin.java    <== here
./src/java/org/apache/solr/search/DisMaxQParserPlugin.java
./src/java/org/apache/solr/search/PrefixQParserPlugin.java
./src/java/org/apache/solr/search/QParser.java                            <=== 
here
./src/java/org/apache/solr/search/RawQParserPlugin.java
./src/java/org/apache/solr/search/FieldQParserPlugin.java
./src/java/org/apache/solr/search/BoostQParserPlugin.java
./src/java/org/apache/solr/search/NestedQParserPlugin.java
./src/java/org/apache/solr/search/FunctionQParser.java
./src/java/org/apache/solr/search/QParserPlugin.java            <== here
./src/java/org/apache/solr/search/FunctionQParserPlugin.java
./src/java/org/apache/solr/search/OldLuceneQParserPlugin.java

+ SolrQueryParser.java

Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch

----- Original Message ----
> From: Phillip Rhodes <[EMAIL PROTECTED]>
> To: solr-user@lucene.apache.org
> Sent: Monday, May 5, 2008 1:34:51 PM
> Subject: custom queries via plugins?
> 
> I am currently using lucene directly to build custom queries.  Can I write a 
> plugin to build these custom BooleanQueries, RangeQueries, etc...?  As a 
> simple 
> example, we have documents that represent coupons, events and activities.  
> Some 
> searches may only be for coupons and events. Currently, I programmatically 
> build 
> up a boolean query for this.  I wanted to know if I could still do this with 
> solr.
> 
> I just wanted to get a little bit of validation before investing a few hours 
> into actually trying to use solr.  I have been reading the tutorials, docs, 
> but 
> while I suspect that solr exposes the lucene query via plugins, I have not 
> seen 
> this spelled out (but I'm a bad speller;)
> 
> 
> 
> Thank you for your time.
> 
> Phillip
> 
> 


Reply via email to