All of the "text_en", "text_es" entries in the schema.xml are "field types". These field types are different ways of parsing and searching free text appropriate for English, Spanish etc.
You have to say "text_en" instead of "text" as the field type. This will do a good job for searching English language text. On Wed, May 9, 2012 at 9:18 PM, Jack Krupansky <j...@basetechnology.com> wrote: > 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. -- Lance Norskog goks...@gmail.com