On Mon, Jul 23, 2012 at 10:16 PM, Deepak Shakya <just...@gmail.com> wrote:
> Hey Jack,
>
> Can you let me know how should I do that? I am using the Lucene 3.6 version
> and I dont see any parse() method for StandardAnalyzer.

In your case, presumably at indexing time you should be using a
PerFieldAnalyzerWrapper with cs-uri getting a KeywordAnalyser.

If you pass that analyser in when you construct the QueryParser, it
won't remove the slash.

The main thing is that you should use the same analyser for indexing
and searching.

TX

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to