I had the same problem  - I think the answer is that highlighting is
not currently supported with q.alt and dismax.

http://www.nabble.com/bug--No-highlighting-results-with-dismax-and-q.alt%3D*%3A*-td23438048.html#a23438048

-Peter

On Sun, Jun 7, 2009 at 7:51 AM, Fouad Mardini<f.mard...@gmail.com> wrote:
> Hello,
>
> I am having problems with the dismax request handler and highlighting.
> The following query works as intended
>
> http://localhost:8983/solr/select?indent=on&q=myquery&start=0&rows=10&fl=id%2Cscore&qt=standard&wt=standard&hl=true&hl.fl=myfield
>
> whereas
>
> http://localhost:8983/solr/select?indent=on&q.alt=myquery&start=0&rows=10&fl=id%2Cscore&qt=dismax&wt=standard&hl=true&hl.fl=myfield
>
> I am using dismax since i need boost functions.
> Furthermore, using the q parameter with dismax doesn't seem to work with me,
> debug gives the following output
>
> <str name="querystring">myquery</str>
> <str name="parsedquery">+() ()</str>
>
> is there a setting somewhere that i need to set?
>
> I am building SOLR right out of svn.
>
> Thanks,
> Fouad
>



-- 
Peter M. Wolanin, Ph.D.
Momentum Specialist,  Acquia. Inc.
peter.wola...@acquia.com

Reply via email to