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

2016-09-06 Thread Iker Huerga
oc); } 2016-09-06 10:42 GMT-04:00 Chaitanya Kumar Ch : > Do you suggest me to pass matching string by encoding. > Ex: > .onField("body").ignoreFieldBridge().ignoreAnalyzer().matching( > URLEncoder.encode("#chaitu")) > > On Tue, Sep 6, 2016 at 7:58

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

2016-09-06 Thread Iker Huerga
t *@,# are not part of current special characters > list*. > > On Tue, Sep 6, 2016 at 7:47 PM, Iker Huerga wrote: > > > I'd try scaping the characters as in > > https://lucene.apache.org/core/2_9_4/queryparsersyntax. > > html#Escaping%20Special%20Characters >

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

2016-09-06 Thread Iker Huerga
d 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 > -- Iker Huerga http://www.ikerhuerga.com/