--- On Mon, 8/13/12, Videnova, Svetlana <svetlana.viden...@logica.com> wrote:
> From: Videnova, Svetlana <svetlana.viden...@logica.com> > Subject: RE: multi-searching problem > Thank you for your answer, finally it was only my bad > between copyfield and copyField. Now all good. > I don't know how copyField and edismax working exactly, but > can I do both? > Currently I copyed all fields in "all" > <defaultSearchField>all</defaultSearchField>. > So can I use edismax as well in the solrconfig.xml side? (e)dismax is designed to search over multiple fields with different boosts. (article_id, article_norm, title etc) Some advantages of (e)dismax over catch all field. 1) You can give different boosts to fields. qf=article_id^5 article_norm^3 2) If you want to add another search field you have to change your schema and re-index. With dismax no re-index is required. 3) With catch all field, you cannot use different fieldTypes. Think that you have two different field types for article_id and article_norm. (you may want different analysis for different fields) Once you copy them into all field, now you will be using fieldType of 'all' field. copyField copies raw content. 4-) Catch all field increases your index size. 5-) There is lots of useful parameters that you can fine-tune your relevancy. http://wiki.apache.org/solr/ExtendedDisMax