Re: Dismax, q, q.alt, and defaultSearchField?

2011-03-03 Thread Jan Høydahl
Hi, Try q.alt={!dismax}banana -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com On 2. mars 2011, at 23.06, mrw wrote: We have two banks of Solr nodes with identical schemas. The data I'm searching for is in both banks. One has defaultSearchField set to field1,

Re: Dismax, q, q.alt, and defaultSearchField?

2011-03-03 Thread mrw
Thanks, Jan. It looks like we need to do is use both q and q.alt, such that q.alt is always *:* and q is either empty for filter-only queries, or has the user text. That seems to work. Jan Høydahl / Cominvent wrote: Hi, Try q.alt={!dismax}banana -- Jan Høydahl, search solution

Dismax, q, q.alt, and defaultSearchField?

2011-03-02 Thread mrw
We have two banks of Solr nodes with identical schemas. The data I'm searching for is in both banks. One has defaultSearchField set to field1, the other has defaultSearchField set to field2. We need to support both user queries and facet queries that have no user content. For the latter, it