Re: Rewrite SynonymQuery to support payloads

2018-05-23 Thread Alessandro Benedetti
Hi Markus, I contributed to Solr this exact part : https://issues.apache.org/jira/browse/SOLR-12238 Patch and Pull Request is attached but it has not been reviewed yet. Give it a look, and then we can continue the discussion here! let me know if you feel your requirement is different ! Cheers O

Rewrite SynonymQuery to support payloads

2018-05-23 Thread Markus Jelsma
Hello, To support payloads we rewrite SynonymQuery to a pair of SpanTerm queries which we then can wrap in the PayloadScoreQuery. This is not the right way to do this because if both clauses match, both are also scored.  We could try to rewrite SynonymQuery to a SpanOrQuery but i suppose that w

Re: Case Insensitive Search for StringField

2018-05-23 Thread Chellasamy G
Hi, Thanks for the reply. Actually I need to implement it for StringField which is non-analyzed. So, if I am not wrong I can't add the analyzer for StringField. My scenario is something similar to the one discussed in the below thread, https://discuss.elastic.co/t/es-5-0-case-insensi