lucenenet-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Zaharov <sergozaha...@gmail.com>
Subject Search with special characters
Date Wed, 02 Aug 2017 22:52:39 GMT
Hi all,

I have a problem with searching when my search string contains some of
special characters. As example, string
var textQry = parser.Parse("*22/*");
raise  an unhandled exception of type
'Lucene.Net.QueryParsers.Classic.ParseException' occurred in
Lucene.Net.QueryParser.dll
but it works fine if search string do not contains /

Is it any way to search with the string which contains such characters?
If that not possible, where can  i find a list of characters, which doesnot
allowed in the search string in case i will exclude them from string.

Sample solution you could find by the link
https://drive.google.com/open?id=0B4yKxCojuj4fbjV3bjl5c0JPeUE

Many thanks in advance,
Sergey.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message