Hi Chris and David,
We have one field called language, i.e.. language of the documents, we
want people to search for there required query terms but limit it to the
language selected
I think the confusion caused was with the query string
q=field1:xyz+xyz&qt=dismax.
instead the q can be of type
q=field1:en +xyz&qt=dismax
Hope this explains the problem in a better fashion.
I still need dismax feature for the xyz term and not for the language
term. I think I will look at SOLR-405 and SOLR-756 and see if they work
for me.
--Thanks and Regards
Vaijanath
Smiley, David W. (DSMILEY) wrote:
I think the point is that Viaj would like to permit users to specify the
field if they so choose.
On 9/11/08 12:48 PM, "Chris Hostetter" <[EMAIL PROTECTED]> wrote:
: b) q=field1:xyz+xyz&qt=dismax it returns me zero result.
:
: Is there anyway I get results for the query type b but still use the
: DisMaxHandler.
that would kind of defeat the point of dismax, which is to move the
selection of which fields are searched out of the query string (which came
from users) and into other params (which can be controlled independently)
the "bq" and "fq" params are both available as ways to specify arbitrary
Lucene formated query strings which influence the query ... "fq" filters
the query (no score impact) "bq" adds a boost query (does impact the
scores)
q=xyz&bq=field1:xyz&qt=dismax
-Hoss