Is it necessary to test the search_analyzer using the analyzer name?

Hi,

I'm building some unit tests around parsing in a new index. We're using SynonymGraphFilter, with the intention that they be applied query-time only, which necessitates using an analyzer and a search_analyzer.

I'd rather validate at the level of:

GET /my_index/_analyze
{
  "field": "my_field",
  "text": "some query value",
 "use_search_analyzer_or_some_such_flag":True

} 

than

GET /jobs/_analyze
{
  "analyzer": "my_query_time_analyzer",
  "text": "some query value"
}

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.