Try StandardAnalyzer rather than SimpleAnalyzer.  See the javadocs for
these classes and the tokenizers they use for explanations.

SimpleAnalyzer uses LetterTokenizer which divides text at non-letters.


--
Ian.


On Fri, Jun 13, 2008 at 4:00 PM, MaxiRobbie <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I've worked just a little with Lucene and now i need some stuffs to be done
> but i can't find responses in faq or how-to.
>
> My index contains products title like Nikon d300, nikon d200, nikon d3
>
> i'm using SimpleAnalyzer and when i query for title:d300, it's transformed
> in title:d and the results contains d200 and others kind of stuff.
>
> How can i correct this ? somes links would be helpfull.
>
> Thanks for share your experience.
> --
> View this message in context: 
> http://www.nabble.com/-BEGINNER-Query-on-index-with-number-tp17825442p17825442.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to