Re: Search through all fields in collection

2017-05-25 Thread Zheng Lin Edwin Yeo
Hi Shawn, Yes, I couldn't use more than one field for the df parameter. What I am worried about is the increase of the size of the index, and affecting overall performance when using copyField, which is why we are not very keen on using that. When using dynamic fields for copyField, is it true t

Re: Search through all fields in collection

2017-05-25 Thread Zheng Lin Edwin Yeo
Hi Rick, Thanks for the advice. Regards, Edwin On 25 May 2017 at 15:11, Rick Leir wrote: > Edwin, > > Use copyfield to copy all fields to one field, which could be your default > field. This is a common pattern in Solr installations. > > cheers -- Rick > > https://cwiki.apache.org/confluence/

Re: Search through all fields in collection

2017-05-25 Thread Shawn Heisey
On 5/25/2017 12:45 AM, Zheng Lin Edwin Yeo wrote: > 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",

Re: Search through all fields in collection

2017-05-25 Thread Rick Leir
Edwin, Use copyfield to copy all fields to one field, which could be your default field. This is a common pattern in Solr installations. cheers -- Rick https://cwiki.apache.org/confluence/display/solr/Copying+Fields https://drupal.stackexchange.com/questions/54538/search-api-solr-how-to-index

Search through all fields in collection

2017-05-24 Thread Zheng Lin Edwin Yeo
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 "