Your Analyzer may be stripping the & character.
Also note that if you are using QueryParser, & character has a special
meaning there.
The easiest solution is to write your own Analyzer (if a suitable one
does not exist) and instead of using QueryParser create queries
programmatically.
Otis
--- Kai Grabfelder <[EMAIL PROTECTED]> wrote:
> hi!
>
> i'm quite new to lucene so i hope that this sounds not too stupid:
> I'm using lucene and cocoon. Everything works fine but there is one
> word
> i'm not able to search for (and find) We have got a product called
> foo&bar
> but lucene is not able to find it on our website. the & is not
> indexed i
> think because if i search for "foobar" the appropriate page is found
> - only
> the search for foo&bar is not working. Could somebody give me a clue
> which
> files from the source i have to change?
>
> I would appreciate any help very much
>
> Greetings
>
> Kai
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]