Re: How to build a Lucene BooleanQuery?

2016-09-21 Thread Chaitanya Kumar Ch
4297102p4297106.html > Sent from the Lucene - Java Users mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h.

Re: How to build a Lucene BooleanQuery?

2016-09-21 Thread Chaitanya Kumar Ch
lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > > -- Thank You, Chaitanya Kumar Ch, +91 9550837582

Re: Issue while searching text with special characters like @,#

2016-09-07 Thread Chaitanya Kumar Ch
hs.get(PATH))); > IndexSearcher searcher = new IndexSearcher(reader); > QueryParser parser = new QueryParser( FIELD_NAME, analyzer); > Query query = parser.parse("+text:iker#"); > ScoreDoc[] docs = searcher.search(query, 2).scoreDocs; > for( ScoreDoc d : docs ){ > Sy

Re: Issue while searching text with special characters like @,#

2016-09-06 Thread Chaitanya Kumar Ch
.ietf.org/html/rfc3986 see section 2.2 so you would have to > URL encode them > > My 2 cents > > 2016-09-06 10:20 GMT-04:00 Chaitanya Kumar Ch : > > > Thanks for the reply. > > I have tried that but didn't work. > > Also please note that *@,# are not part of c

Re: Issue while searching text with special characters like @,#

2016-09-06 Thread Chaitanya Kumar Ch
ersyntax. > html#Escaping%20Special%20Characters > > 2016-09-06 10:02 GMT-04:00 Chaitanya Kumar Ch : > > > Hi All! > > > > I am facing issue while trying to match a fields content with some > keywords > > which contains symbols like @,# > > > > I have a

Issue while searching text with special characters like @,#

2016-09-06 Thread Chaitanya Kumar Ch
Bridge() to the field but I am not getting results. Below query is generated If i am remove ignoreFieldBridge() +(+body:johndaly +body:baby) Stack overflow link <http://stackoverflow.com/questions/39350676/hibernate-search-lucene-search-text-with-special-characters-like> -- Thank You, Chaitanya Kumar Ch, +91 9550837582