Alphanumeric + "_" + "%" + "."

So to say: "John_Smith", "John Smith", "John_B._Smith" and "John 44 Smith"
are all possible values.

On Sun, Nov 14, 2010 at 11:46 PM, Ahmet Arslan <iori...@yahoo.com> wrote:

>
> --- On Sun, 11/14/10, Parsa Ghaffari <parsa.ghaff...@gmail.com> wrote:
>
> > From: Parsa Ghaffari <parsa.ghaff...@gmail.com>
> > Subject: Re: Solr TermsComponent: space in term
> > To: solr-user@lucene.apache.org
> > Date: Sunday, November 14, 2010, 5:06 PM
> > Hi Ahmet,
> >
> > This is the fieldType for "name":
> >
> >     <fieldType name="textgen"
> > class="solr.TextField"
> > positionIncrementGap="100">
> >       <analyzer type="index">
> >         <tokenizer
> > class="solr.WhitespaceTokenizerFactory"/>
> >         <filter
> > class="solr.StopFilterFactory" ignoreCase="true"
> > words="stopwords.txt" enablePositionIncrements="true"
> > />
> >         <filter
> > class="solr.WordDelimiterFilterFactory"
> > generateWordParts="1" generateNumberParts="1"
> > catenateWords="1"
> > catenateNumbers="1" catenateAll="0"
> > splitOnCaseChange="0"/>
> >         <filter
> > class="solr.LowerCaseFilterFactory"/>
> >       </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"
> >
> > enablePositionIncrements="true"
> >
> > />
> >         <filter
> > class="solr.WordDelimiterFilterFactory"
> > generateWordParts="1" generateNumberParts="1"
> > catenateWords="0"
> > catenateNumbers="0" catenateAll="0"
> > splitOnCaseChange="0"/>
> >         <filter
> > class="solr.LowerCaseFilterFactory"/>
> >       </analyzer>
> >     </fieldType>
> >
> > and:
> >
> > <field name="name" type="textgen" indexed="true"
> > stored="true"/>
> >
> > there's no ShingleFilterFactory. And also after changing
> > parameters in the
> > schema, should one re-index the table?
>
> Yes yes, re-index and restart servlet container is required. What kind of
> values does name field take? Does it contains punctuations? Can you give
> some examples of that field's values?
>
>
>
>


-- 
Parsa B. Ghaffari

Reply via email to