lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Klaas <>
Subject Re: Filter Search!
Date Sun, 22 Jul 2007 20:29:36 GMT

On 21-Jul-07, at 11:19 PM, John Ni wrote:

> Hi all,
>     I have a question regarding filter Search with the subset: Let  
> say, I have the following form
>   Search article [xyz]
>   Subject: {x] Math [X]English [ ] Science
>   Grade: [ ] freshman [x] junior [x]senior
>   so the query syntax would be q=xyz&fq=Subject:Math 
> +English&fq=Grade:junior+senior
>   Basically, I'm seaching for the article containg "xyz" in either  
> in Math or English subject for either junior or senior grade.   
> Currenlty, I'm trying EmbeddedSolr 
> EmbeddedSolr , but I having a hard time implementing above filter  
> search.  I was just wonder anybody had implemented similar case  
> using EmbeddedSolr or any other method.  If anybody has any idea/ 
> suggestion please let this newbie know.

I'm not sure what is the canonical way of passing parameters in  
embedded mode, but the main problem is likely the values of your  
parameters.  you probably want:

Subject:(Math English)
Grade:(junior senior)


View raw message