Re: myField:value does not seem to work

2010-08-01 Thread Erick Erickson
A very useful page:
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters

Best
Erick

On Thu, Jul 29, 2010 at 6:44 PM, Khai Doan  wrote:

> Thank you all.
>
> Khai
>
> On Thu, Jul 29, 2010 at 3:38 PM, Mats Bolstad  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  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 
> > 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 
> wrote:
> > >>> Hi Yonik,
> > >>>
> > >>> Here is the field definition in schema.xml:
> > >>>
> > >>> 
> > >>>
> > >>> 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
> > >>> 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 
> > 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
> > >
> > 
> > >>>
> > >>
> >
>


Re: myField:value does not seem to work

2010-07-29 Thread Khai Doan
Thank you all.

Khai

On Thu, Jul 29, 2010 at 3:38 PM, Mats Bolstad  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  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 
> 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  wrote:
> >>> Hi Yonik,
> >>>
> >>> Here is the field definition in schema.xml:
> >>>
> >>> 
> >>>
> >>> 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
> >>> 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 
> 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
> >
> 
> >>>
> >>
>


Re: myField:value does not seem to work

2010-07-29 Thread Mats Bolstad
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  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  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  wrote:
>>> Hi Yonik,
>>>
>>> Here is the field definition in schema.xml:
>>>
>>> 
>>>
>>> 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
>>> 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  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
>

>>>
>>


Re: myField:value does not seem to work

2010-07-29 Thread Khai Doan
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  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  wrote:
> > Hi Yonik,
> >
> > Here is the field definition in schema.xml:
> >
> > 
> >
> > 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
> > 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  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
> >> >
> >>
> >
>


Re: myField:value does not seem to work

2010-07-29 Thread Mats Bolstad
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  wrote:
> Hi Yonik,
>
> Here is the field definition in schema.xml:
>
> 
>
> 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
> 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  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
>> >
>>
>


Re: myField:value does not seem to work

2010-07-29 Thread Khai Doan
Hi Yonik,

Here is the field definition in schema.xml:



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
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  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
> >
>


Re: myField:value does not seem to work

2010-07-29 Thread Yonik Seeley
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  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
>