Hello,

Set up a schema with at least 3 fields: id (integer or string, unique),
doc_contents (of type text_en for example), link (string).
Index each document into doc_contents field and use hightlights when
searching (hl=true&hl.fl=doc_contents). For each hit, count how many
highlights you have gotten and that's your occurrence_no, retrieve the link
as well.

-- Dmitry

On Tue, May 22, 2012 at 10:02 PM, 12rad <prama.an...@gmail.com> wrote:

> Hi,
>
> I want to display - a clickable link to the document along if a search
> matches along with the no of times the search query matched.
> What should i be looking at?
> I am fairly new to Solr and don't know how I can achieve this.
>
> Thanks for the help!
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/clickable-links-as-results-tp3985505.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
Regards,

Dmitry Kan

Reply via email to