When I changed query *_query_:"{!complexphrase df=xml}\"olası (kast kasıt)\"~6 AND adam" OR _query_:"{!complexphrase df=xml_en}\"olası (kast kasıt)\"~6 **AND adam**" *, ' adam ' is highlighted.
'xml' field content : ... OLASI KAST OLASI KASTLA ADAM... <str name="parsedquery"> (+((+ComplexPhraseQuery("olası (kast kasıt)") +fullContent:adam) (+ComplexPhraseQuery("olası (kast kasıt)") +fullContent_en:adam)) () () () () () () ())/no_coord </str> On Tue, Aug 4, 2015 at 3:21 PM, Emre ERKEK <h.emre.er...@gmail.com> wrote: > Hi Ahmet, > > Unfortunatly, I cannot leverage hl.qparser and hl.q. I tried to queries > like that: > > *hl.q=_query_:"{!complexphrase df=xml}\"olası (kast kasıt)\"~6" OR > _query_:"{!complexphrase df=xml_en}\"olası (kast kasıt)\"~6" * is not > working. > > *hl.q="olası (kast kasıt)"~6&hl.qparser=complexphrase *is not working > for xml_en field because default search field is xml. > > Actually, my main problem is searching with complexphrase query doesn't > have highlighting problem on two field which is xml and xml_en. > > What can be equivalent this query? *_query_:"{!complexphrase > df=xml}\"olası (kast kasıt)\"~6" OR _query_:"{!complexphrase > df=xml_en}\"olası (kast kasıt)\"~6"* > > Emre > > On Tue, Aug 4, 2015 at 11:32 AM, Ahmet Arslan <iori...@yahoo.com.invalid> > wrote: > >> Hi Emre, >> >> May be you can leverage hl.qparser and hl.q ? >> >> Ahmet >> >> >> >> On Tuesday, August 4, 2015 11:00 AM, Emre ERKEK <h.emre.er...@gmail.com> >> wrote: >> >> >> >> Hi, >> >> When I search with nested query such as :* {!complexphrase df=xml}\"olası >> (kast kasıt)\"~6* , >> highlighting is working. >> >> But, when I use this query *_query_:"{!complexphrase df=xml}\"olası (kast >> kasıt)\"~6"* >> , highlighting is not working. >> >> Finally, I want to use query like that *_query_:"{!complexphrase >> df=xml}\"olası (kast kasıt)\"~6" OR _query_:"{!complexphrase >> df=xml_en}\"olası (kast kasıt)\"~6"* >> >> Any ideas? >> >> Thanks >> > > > > -- > İyi çalışmalar, > Hasan Emre ERKEK > > -- İyi çalışmalar, Hasan Emre ERKEK