You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Nellai <ng...@eforceglobal.com> on 2003/02/10 13:40:45 UTC
Reagarding score() in hits
Hello all!
Wat's score(i) in Hits object?
is it used to calculate the % of occurance of the searching parameter?
Can anyone tell us the exact use of score()
Thanks a ton
Nellai...
RE : highlighting with Lucene and Cocoon
Posted by Martin Sevigny <se...@ajlsm.com>.
> I'd would like to perform highlighting with Lutece integrated
> in Cocoon. Did someone already do the same task?
Well SDX (an XML search engine based on both Cocoon and Lucene, see
http://sdx.culture.fr and http://savannah.gnu.org/projects/sdx/) does
that.
See in particular the class
fr.gouv.culture.sdx.search.lucene.highlight.LuceneTermHighlighter, or
the demo application (sdxworld) with an example of its use.
Martin Sévigny
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org
highlighting with Lucene and Cocoon
Posted by Cyril Vidal <cy...@planetexml.com>.
Hi,
I'd would like to perform highlighting with Lutece integrated in Cocoon.
Did someone already do the same task?
Basically, if I have a xml file such as the following:
<flower>
This is a great yellow flower
</flower>
I would like when pointing by example
to http://localhost:8080/cocoon/flora?query=flower:yellow
to get an xml document like this:
<flower>
This a great <em>yellow</em> flower
</flower>
Any suggestions would help,
Thanks in advance,
Cyril.
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org