lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Videnova, Svetlana" <>
Subject RE: multi-searching problem
Date Mon, 13 Aug 2012 06:42:02 GMT
I added this in schema.xml

<dynamicField name="attr_*" 	type="text" indexed="true" stored="true" multiValued="true"/>

   &defType = edismax &qf = article_id article_nom   


<solrQueryParser defaultOperator="OR"/>

But i have this error: 

org.xml.sax.SAXParseException: The reference to entity "defType" must end with the ';' delimiter.
Source) at
Source) at

Is this a syntax problem? Am I writing defType wrong?

Thank you

-----Message d'origine-----
De : Ahmet Arslan [] 
Envoyé : vendredi 10 août 2012 16:22
À :
Objet : RE: multi-searching problem

> It seems more complicate than i
> need.
> I just want, if the user specify nothing, to search in all my fields 
> that I declared in my schema.xml like that :
> <defaultSearchField>article_nom</defaultSearchField>
> but not only article_nom but all fields.
> There should be some simple way to do that without using all of 
> this..?
> Or am I wrong? 

It is not that complicated. Just list your fields in qf parameter, that's all. defType=edismax&qf=field1
field2 field3 ... 

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.

View raw message