lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emre ERKEK <h.emre.er...@gmail.com>
Subject Re: Highlight not working when using _query_ syntax
Date Tue, 04 Aug 2015 12:21:04 GMT
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 <iorixxx@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.erkek@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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message