But you can't really have a good multi-lingual search with a single index and without having content in different languages in different fields and analyzed differently. So filtering by language field will "work", but won't work very well as far as the "search experience" is concerned.
Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch ----- Original Message ---- > From: Shalin Shekhar Mangar <[EMAIL PROTECTED]> > To: solr-user@lucene.apache.org > Sent: Sunday, September 14, 2008 1:38:56 AM > Subject: Re: Help with Dismax query Handler > > On Sun, Sep 14, 2008 at 10:08 AM, Vaijanath N. Rao wrote: > > > > > 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 > > > > instead the q can be of type > > q=field1:en +xyz&qt=dismax > > > > It seems to me that the language field is only being used for filtering. So > what you actually need is the fq parameter. Your query should look like: > q=xyz&fq=field1:en&qt=dismax > > > -- > Regards, > Shalin Shekhar Mangar.