only one field can be a default. use copy field and copy the fields
you need to search into a single field and set the copy field to be
the default. That might be ok depending upon your circumstances

On 25 November 2011 12:46, kiran.bodigam <kiran.bodi...@gmail.com> wrote:
> In my schema i have defined below tag for indexing the fields because in my
> use case except the uniquekey remaining fields needs to be indexed as it is
> (with same datatype)
> <dynamicField name="*" type="text_general" indexed="true" stored="true"
> multiValued="true" />
>
> Here i would like to search all of them with out field name unfortunately i
> can't put all of them using <defaultSearchField> option coz its dynamicfield
> ? how to make all of them default search please suggest?
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/How-many-defaultsearchfields-we-can-have-in-one-schema-xml-file-tp3536020p3536020.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to