lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: myField:value does not seem to work
Date Sun, 01 Aug 2010 12:39:52 GMT
A very useful page:
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters

Best
Erick

On Thu, Jul 29, 2010 at 6:44 PM, Khai Doan <khaitdoan@gmail.com> wrote:

> Thank you all.
>
> Khai
>
> On Thu, Jul 29, 2010 at 3:38 PM, Mats Bolstad <mbolstad@gmail.com> wrote:
>
> > Put simply, strings do not go through filters, and will need exact
> > matching. A string field can typically be an ID field.
> > Texts go through filters so that "bar" could match "Foo Bars", for
> example.
> >
> > Types are well documented in the example schema.xml shipped with solr.
> > You would also find more info in the wiki.
> >
> > On 29. juli 2010, at 22:53, Khai Doan <khaitdoan@gmail.com> wrote:
> >
> > > 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 <matsbo@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 <khaitdoan@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
> > >>> <yonik@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 <khaitdoan@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
> > >>>>>
> > >>>>
> > >>>
> > >>
> >
>

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