> I don't have defaultSearchField, instead, I have the
> following qf clause,
> where title_tokenized is a tokenized version of title 
>        <str
> name="qf"> title_tokenized^3 text_description_tokenized
> phonetic_text^0.5</str>


I didn't know that you are using dismax. In your query fields list there is no 
title field. Probably match is coming from title_tokenized, and when you 
request highlighting from title (hl.fl=title) it returns empty snippets. If 
thats the case it is pretty expected because string typed fields are not 
analyzed. I mean there is no partial matches on string fields. If your title 
contains "Terrain something" q=Terrain won't match this document.
What are the title fields of returned documents?


> /?q=title:Terrain&debugQuery=on&hl=true&hl.fl=title
> 
> 
> > if it is zero, then it means that your match comes
> from your
> > defaultSearchField (not from title field).
> >
> > if it is not zero, highlighting should work. can you
> confirm this?
> >
> >
> this URL gives zero answer.  Again, I don't have
> defaultSearchField, the
> result is coming from the "qf" clause.

We should re-write this url (just to query on title field) accourding to 
dismax: /?q=Terrain&debugQuery=on&hl=true&hl.fl=title&qf=title



Reply via email to