I follow this exemple 
https://github.com/boonious/misc/blob/master/fedora-solr-integration-conf/schema.xml
 but still no results 

-----Message d'origine-----
De : Videnova, Svetlana [mailto:svetlana.viden...@logica.com] 
Envoyé : lundi 13 août 2012 08:59
À : solr-user@lucene.apache.org
Objet : RE: multi-searching problem

I always tried this in my schema.xml: 

###
<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>
###


I have no errors with that code but when I search for a term who is present in 
article_nom this give me 0 results ... I don't know why and where im doing 
wrong :s


Thank you for your help



-----Message d'origine-----
De : deniz [mailto:denizdurmu...@gmail.com] Envoyé : lundi 13 août 2012 08:54 
À : solr-user@lucene.apache.org Objet : RE: multi-searching problem

well i dont know much stuff about dismax, but for making a search as default on 
multiple fields, you can use copyField which is simpler than dismax (though 
performance could be effected, I am not so sure) basically, you can copy the 
other fields into one field and make it your default search field and you are 
done... I have done a similar thing for providing a "universal search", where 
all of the fields on a document are checked by default



-----
Zeki ama calismiyor... Calissa yapar...
--
View this message in context: 
http://lucene.472066.n3.nabble.com/multi-searching-problem-tp4000433p4000748.html
Sent from the Solr - User mailing list archive at Nabble.com.


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.




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