You can also add a copyField to your schema to copy from "*_s" (or whatever schema fields you are storing your strings in) to the "text" field (which as type of "text_general" or something similar.) Best to do separate copyFields for only the specific string fields that have text you want to search on. Then the (text) string fields would be searchable by default.

-- Jack Krupansky

-----Original Message----- From: anarchos78
Sent: Wednesday, May 09, 2012 5:04 PM
To: solr-user@lucene.apache.org
Subject: Re: Solr query issues

I have imported data from a database. When i set a type different than string
solr throws error: Unknown fieldtype 'text' specified on field biog at
org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:511)

--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-query-issues-tp3974922p3975398.html Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to