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.ht

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: These numbers are unique id's of documents. Where is excerpts with highlighted text? Any idea? Thanks -- View this message in conte

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 fi

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: name1 200 name1 400 I want to build facet for the query where "prod_id:200 prod_id:400". I like to do all this i