How do I make Solr search on all fields in a document?

I read the documentation about the df field, and added the following to my
solrconfig.xml:

 <lst name="defaults">
      <str name="echoParams">explicit</str>
      <int name="rows">10</int>
         <str name="df">_text_</str>
    </lst>

in my managed-schema file i have the following:

 <field name="_text_" type="text_general" multiValued="true" indexed="true"
stored="true"/>

I have deleted the documents, and re-indexed the csv file.

When I do a search in the api for: _text_:amy - which should return 2
documents, I get nothing.

If I do a search for 'amy' in the q field, I still get nothing.

If I do an explicit search for name:amy, I get 2 documents returned.

Reply via email to