Am 07.06.2012 09:55, schrieb sheethal shreedhar:
http://localhost:8983/solr/select/?q=fruit&version=2.2&start=0&rows=10&indent=on
I get
HTTP ERROR 400
Problem accessing /solr/select/. Reason:
undefined field text
Look at your schema.xml. You'll find a line like this:
<defaultSearchField>text</defaultSearchField>
Replace "text" with a field that s defined somewhere in schema.xml.
Or change your query to something with a field name like this:
http://localhost:8983/solr/select/?q=somefield:fruit
Or use the (e)dismax handler and configure it accordingly. See
http://wiki.apache.org/solr/DisMaxRequestHandler.
Greetings,
Kuli