lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shalin Shekhar Mangar <>
Subject Re: Search for a field whose value contains instead of begins with
Date Fri, 06 Mar 2009 19:14:26 GMT
On Sat, Mar 7, 2009 at 12:40 AM, SJ <> wrote:

> The nam' field defined as string. What is the best analyzer to analyze the
> name field text (ie Apple Corporation or The Applemint Gimlet) into
> individual tokens.
> Also shall I use stored or not stored property.
> <field name="NAME" type="string" indexed="true" stored="true"/>

Use the text data type (as given in the example schema). If you want the
field's original value to be returned in the results, use stored="true"
otherwise false.

Shalin Shekhar Mangar.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message