Hi Arslan,

 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?

Thank you!

-----Message d'origine-----
De : Ahmet Arslan [mailto:iori...@yahoo.com] 
Envoyé : lundi 13 août 2012 13:44
À : solr-user@lucene.apache.org
Objet : RE: multi-searching problem

> <field name="all" type="string" indexed="true" stored="true" 
> multiValued="true"/>
>     <copyfield source="article_id"
> dest="all"/>
>     <copyfield source="article_nom"
> dest="all"/>
>  </fields>
> 
> <uniqueKey>article_id</uniqueKey>
> <defaultSearchField>all</defaultSearchField>

It is always good idea to edit example schema.xml according to your needs.
See  copyField declarations. 

http://svn.apache.org/repos/asf/lucene/dev/trunk/solr/example/solr/collection1/conf/schema.xml

It is not copyfield  but copyField. Case-sensitive stuff. And copyField 
declarations are defined under the <uniqueKey>article_id</uniqueKey> definition 
in example schema.xml. 

By the way using edismax is more flexible than catch all field. 


Think green - keep it on the screen.

This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.


Reply via email to