lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anuvenk <anuvenkat...@hotmail.com>
Subject Re: Dismax handler phrase matching question
Date Tue, 02 Jun 2009 20:29:08 GMT

I have to search over multiple fields so passing everything in the 'q' might
not be neat. Can something be done with the facet.query to accomplish this.
I'm using the facet parameters. I'm not familiar with java so not sure if a
function query could be used to accomplish this. Any other thoughts?


Shalin Shekhar Mangar wrote:
> 
> On Tue, Jun 2, 2009 at 12:53 AM, anuvenk <anuvenkatesh@hotmail.com> wrote:
> 
>>
>> title                      state
>>
>> dui faq1               california
>> dui faq2               florida
>> dui faq3               federal
>>
>> Now I want to be able to return federal results irrespective of the
>> state.
>> For example dui california should return all federal results for 'dui'
>> also
>> along with california results.
>>
> 
> Perhaps you just need to create your query in such a way that both match?
> 
> q=title:(dui california) state:(dui california) state:federal
> 
> -- 
> Regards,
> Shalin Shekhar Mangar.
> 
> 

-- 
View this message in context: http://www.nabble.com/Dismax-handler-phrase-matching-question-tp23820340p23840154.html
Sent from the Solr - User mailing list archive at Nabble.com.


Mime
View raw message