What are the differences between "string" and "text"?

What other types (that are available by default) can I use?

Thanks,
Khai

On Thu, Jul 29, 2010 at 1:30 PM, Mats Bolstad <mat...@stud.ntnu.no> wrote:

> Type string is not tokenized, meaning that it would match only the
> exact phrase "Khai Bright T". Use text (or another) type that
> tokenizes (on whitespace in this case) instead.
>
> Mats Bolstad
>
>
>
> On Thu, Jul 29, 2010 at 9:55 PM, Khai Doan <khaitd...@gmail.com> wrote:
> > Hi Yonik,
> >
> > Here is the field definition in schema.xml:
> >
> > <field name="membername" type="string" indexed="true" stored="true"/>
> >
> > and it is populated with "Khai Bright T"
> >
> > I am using solr 1.4.1
> >
> > Khai
> >
> > On Thu, Jul 29, 2010 at 12:49 PM, Yonik Seeley
> > <yo...@lucidimagination.com>wrote:
> >
> >> Is membername an indexed field in the schema, and was it populated
> >> with something that would match "Khai"?
> >> If so, what is the fieldType in the schema for the membername field?
> >>
> >> -Yonik
> >> http://www.lucidimagination.com
> >>
> >>
> >> On Thu, Jul 29, 2010 at 3:17 PM, Khai Doan <khaitd...@gmail.com> wrote:
> >> > Hello,
> >> >
> >> > My name is Khai.  I am new to Solr, and I am having a strange issue.
>  I
> >> use
> >> > the admin interface and search for "Khai" and it work fine.  However
> if I
> >> > type
> >> >
> >> > membername:Khai
> >> >
> >> > it does not work.
> >> >
> >> > Please provide me with hints on what the issue may be.
> >> >
> >> > Thank you,
> >> >
> >> > Khai
> >> >
> >>
> >
>

Reply via email to