Re: Search for a field whose value contains instead of begins with

2009-03-06 Thread Shyamsunder Reddy
E ROAD NEW YORK LAWYERS ALLIANCE FOR NEW YORK NEW YORK IMMIGRATION COALITION, INC. NEW YORK LEGAL ASSISTANCE GROUP VISITING NURSE SERVICE OF NEW YORK --- On Fri, 3/6/09, Shalin Shekhar Mangar wrote: From: Shalin Shekhar Mangar Subject: Re: Search for a fi

Re: Search for a field whose value contains instead of begins with

2009-03-06 Thread Shalin Shekhar Mangar
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. > > Use the text data type (as

Re: Search for a field whose value contains instead of begins with

2009-03-06 Thread SJ
>> Indian Apple, >> West Apple Corporation >> The Applemint Gimlet. >> > > Use the sort parameter to your request e.g. sort=name asc > > Also see http://wiki.apache.org/solr/CommonQueryParameters > -- > Regards, > Shalin Shekhar Mangar. > > -- View this message in context: http://www.nabble.com/Search-for-a-field-whose-value-contains-instead-of-begins-with-tp22375189p22378688.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Search for a field whose value contains instead of begins with

2009-03-06 Thread Shalin Shekhar Mangar
On Fri, Mar 6, 2009 at 9:24 PM, Shyamsunder Reddy wrote: > I am indexing a document with field 'name'. The values of the field 'name' > are like: Apple Corp, Apple iPod, Apple Games, Indian Apple, West Apple > Corporation and The Applemint Gimlet. > > > Now my question is how to configure the fi

Search for a field whose value contains instead of begins with

2009-03-06 Thread Shyamsunder Reddy
I am indexing a document with field 'name'. The values of the field 'name' are like: Apple Corp, Apple iPod, Apple Games, Indian Apple, West Apple Corporation and  The Applemint Gimlet. Now my question is how to configure the field 'name' in my Solr configuration and schema, so that when I sea