Another option you'll find out there is to use a 'copy field ' to copy the 
contents of multiple fields into a single indexed field for "universal " 
searching...



----- Reply message -----
From: "Ahmet Arslan" <iori...@yahoo.com>
To: "solr-user@lucene.apache.org" <solr-user@lucene.apache.org>
Subject: [External] Re: Query all fields
Date: Wed, Oct 24, 2012 6:26 pm




> Looking at the Solr tutorial I see
> queries like:
>
> q=video&fl=name,id (return only name and id fields)
>
> Does that query all fields for the word video?

No query is executed on default search field. If you add &debugQuery=on to your 
URL you can see which field is queried.

> Is there something specific setup in the solr tutorial that
> allows you
> to query across all fields?

With http://wiki.apache.org/solr/ExtendedDisMax you can do that. You just need 
to supply names of fields that you want to search.

defType=edismax&qf=description,title,name,etc.

Reply via email to