Thanks for responding. The original text has ARIZONA in it. I am using the example solrConfig.xml. Can the request handlers be part of the issue? I'm thinking of taking out everything except the standard request handler.
On Jan 10, 2008 10:50 PM, Otis Gospodnetic <[EMAIL PROTECTED]> wrote: > Try Ar*, that should work if the original text had "Arizona" in it. > This is covered in the Lucene FAQ, actually. :) > > Otis > -- > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch > > ----- Original Message ---- > From: Abin Shahab <[EMAIL PROTECTED]> > To: solr-user@lucene.apache.org > Sent: Friday, January 11, 2008 12:38:47 AM > Subject: Fwd: Solr "Text" field > > Hi, > I am having a lot of issues with the simple solr.textField. > > I do not get anything back from simple lucene queries such as wildcard > searches. > > Searching for AR* does not return everything that starts with AR(for > example > Arizona). > > I turned on debugging, and it returned me the following: > <lst name="debug"> > <str name="rawquerystring">institution.name:AR*</str> > <str name="querystring"> institution.name:AR*</str> > <str name="parsedquery">institution.name:AR*</str> > <str name="parsedquery_toString">institution.name:AR*</str> > <lst name="explain"/> > </lst> > > I have tried the following settings from the sample schema: > > <fieldType name="text" class="solr.TextField" > positionIncrementGap="100"> > <analyzer type="index"> > <tokenizer class="solr.WhitespaceTokenizerFactory"/> > <!-- in this example, we will only use synonyms at query time > <filter class="solr.SynonymFilterFactory" > synonyms="index_synonyms.txt" ignoreCase="true" expand="false"/> > --> > > <filter class="solr.StopFilterFactory" ignoreCase="true" > words=" > stopwords.txt"/> > <filter class="solr.WordDelimiterFilterFactory " > generateWordParts="1" generateNumberParts="1" catenateWords="1" > catenateNumbers="1" catenateAll="0"/> > <filter class="solr.LowerCaseFilterFactory "/> > <filter class="solr.EnglishPorterFilterFactory" protected=" > protwords.txt"/> > <filter class="solr.RemoveDuplicatesTokenFilterFactory"/> > </analyzer> > <analyzer type="query"> > <tokenizer class="solr.WhitespaceTokenizerFactory"/> > <filter class="solr.SynonymFilterFactory" > synonyms="synonyms.txt " > ignoreCase="true" expand="true"/> > <filter class="solr.StopFilterFactory" ignoreCase="true" > words=" > stopwords.txt"/> > <filter class=" solr.WordDelimiterFilterFactory" > generateWordParts="1" generateNumberParts="1" catenateWords="0" > catenateNumbers="0" catenateAll="0"/> > <filter class=" solr.LowerCaseFilterFactory"/> > <filter class="solr.EnglishPorterFilterFactory" protected=" > protwords.txt"/> > <filter class="solr.RemoveDuplicatesTokenFilterFactory "/> > </analyzer> > </fieldType> > > > >