nest - Is character @ special in Elasticsearch? -
we searching elasticsearch .net core 2 project using nest library, query:
var response = await client.searchasync<document>( s => s.query(q => q.querystring(qs => qs .defaultfield(f => f.info) .query(term) .defaultoperator(operator.and) ))); if elasticsearch contains document info myemail@gmail.com , term=myemail or term=gmail, document found.
problem when searching term=myemail@gmail, since document not found in case. why character @ making problem? should somehow escaped?
Comments
Post a Comment