lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Jordan <robe...@gmx.net>
Subject Re: Cannot Escape Special charectors Search with Lucene.Net 2.0
Date Fri, 17 Dec 2010 12:24:36 GMT
On 17.12.2010 12:29, abhilash ramachandran wrote:
> q = new global::Lucene.Net.QueryParsers.QueryParser("content", new
> StandardAnalyzer()).Parse(query);

I believe the issue has nothing to do with your query
syntax. StandardAnalyzer is skipping chars like "&" during
the indexing process, so you can't search for them.

Robert


Mime
View raw message