Re: Questions about LocalParams syntax

2011-09-28 Thread Chris Hostetter
: 1.) How should I deal with repeating parameters? If I use multiple : boost queries, it seems that only the last one listed is used... for : example: : : ((_query_:{!dismax qf=\title^500 author^300 allfields\ bq=\format:Book^50\ bq=\format:Journal^150\}test)) Hmmm... that's either a bug

Questions about LocalParams syntax

2011-09-20 Thread Demian Katz
I'm using the LocalParams syntax combined with the _query_ pseudo-field to build an advanced search screen (built on Solr 1.4.1's Dismax handler), but I'm running into some syntax questions that don't seem to be addressed by the wiki page here: http://wiki.apache.org/solr/LocalParams 1.)

Re: Questions about LocalParams syntax

2011-09-20 Thread Jonathan Rochkind
I don't have the complete answer. But I _think_ if you do one 'bq' param with multiple space-seperated directives, it will work. And escaping is a pain. But can be made somewhat less of a pain if you realize that single quotes can sometimes be used instead of double-quotes. What I do:

RE: Questions about LocalParams syntax

2011-09-20 Thread Demian Katz
little-documented. - Demian -Original Message- From: Jonathan Rochkind [mailto:rochk...@jhu.edu] Sent: Tuesday, September 20, 2011 10:32 AM To: solr-user@lucene.apache.org Cc: Demian Katz Subject: Re: Questions about LocalParams syntax I don't have the complete answer. But I _think_