lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zheng Lin Edwin Yeo <edwinye...@gmail.com>
Subject Search through all fields in collection
Date Thu, 25 May 2017 06:45:33 GMT
Hi,

I'm using Solr 6.5.1.

Would like to check, is it possible to set a configuration in
solrconfig.xml whereby the search will go through all the fields in the
collections?

Currently, I am defining the fields to be search under the "df" setting,
but unlike "fl", I could not set it to the value "*". The only way which I
can think of currently is to list all the fields under the "df" setting.
However, this doesn't seems like a very good way, so I'm checking if there
are better methods.


    <requestHandler name="/select" startup="lazy"
enable="${solr.clustering.enabled:true}" class="solr.SearchHandler">
    <lst name="defaults">
      <str name="echoParams">none</str>
      <int name="rows">1000</int>
 <str name="wt">json</str>
       <str name="indent">true</str>
  <str name="df">id,content</str>
  <str name="fl">*</str>
    </lst>

Regards,
Edwin

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message