Just tried to use Field.Index.UN_TOKENIZED, and it did not have any
effect.

Thomas

-----Oprindelig meddelelse-----
Fra: Thomas Skovsende 
Sendt: 20. september 2007 09:49
Emne: SV: Problem indexing isbn

Just triple checked - yes, it does get indexed as a seperate field With
Field.Index.TOKENIZED set...

Just a thought - should I try using UN_TOKENIZED instead? But as far as
I can tell it shouldn't really matter when using standard analyzer.

Thomas

-----Oprindelig meddelelse-----
Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sendt: 20. september 2007 09:36
Emne: Re: Problem indexing isbn

Jokin:
I don't  agree , StandardAnalyser doesn't break  xx-xx-xx , but  keeps
it as  is.
Try Luke to have a look (  rhyming unintentional :) , tab Plugin shows
that.
)

Thomas:
If ISBN is a separate Lucene field  ( you don't concat database fields
for searching ) , are you sure  it  is either default or you explicitly
use field name when searching.

Regards
Michael
On 9/20/07, Jokin Cuadrado <[EMAIL PROTECTED]> wrote:
>
> standardAnalyzer will break the isbn at the "-" characters. I think 
> the best option in this case is to use a  keyword analizer that will 
> index the field without analyzing it.
>
> regards
> Jokin
>
> On 9/20/07, Thomas Skovsende <[EMAIL PROTECTED]> wrote:
> > Hey guys.
> >
> > I have searched around abit, and I havent really found a solution to

> > my problem, so I'm gonna try here.
> >
> > I am trying to index an ISBN number using a StandardAnalyzer, but i 
> > get absolutely no hits when I try to search on that ISBN number.
> > Every other search I do works perfectly, so I know that everything 
> > is set up correctly.
> >
> > I have tried to look at the code for the StandardTokenizer and as 
> > far as I can see, it should be able to index ISBN's.
> >
> > I feel pretty sure this is just another case of "stupid developer", 
> > so if anyone have any pointers or hints, they would be appriciated.
> >
> > Best regards,
> >   Thomas Skovsende
> >
>

Reply via email to