Re: Highlighting text field when query is for string field

2012-03-09 Thread solrdude
Or is it because query is on keyword field and I expect matching keywords to be highlighted on excerpts field? Any insights would help a lot. Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/Highlighting-text-field-when-query-is-for-string-field-tp3475334p3814159.html

Re: Highlighting text field when query is for string field

2012-01-17 Thread solrdude
Just to be clear, I do phrase query on string field like q=keyword_text:smooth skin. I am expecting highlighting to be done on excerpt field. What I see is: lst name=highlighting lst name=18602-1973/ lst name=18603-1973/ lst name=18604-1973/ /lst These numbers are unique id's of documents. Where

Highlighting text field when query is for string field

2011-11-02 Thread solrdude
I have situation where I need to highlight matching phrases in text field where as query is against string field. Its not highlighting now, may be because in text field they are all terms and hence not a match for phrase. How do i do it? With hl.alternateField, it identifies those things in

Solr main query response input to facet query

2011-10-24 Thread solrdude
Hi, I am implementing an solr solution where I want to use some field values from main query output as an input in building facet. How do I do that? Eg: Response from main query: doc str name=namename1/str int name=prod_id200/int /doc doc str name=namename1/str int name=prod_id400/int /doc I