lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ogren, Philip V." <>
Subject RE: Relevance boosting with the aid of semantic markup
Date Thu, 06 Dec 2001 15:56:07 GMT
see #7 and #5 on the FAQ under 'Searching'

-----Original Message-----
From: Stefano Mazzocchi []
Sent: Thursday, December 06, 2001 6:43 AM
To: Apache Lucene
Subject: Relevance boosting with the aid of semantic markup

Hello everybody,

first of all, let me state that I've looked into Lucene internals (and
read all Doug's papers) and I'm impressed by the elegance of the
architecture design, the resulting flexibility of the engine and the
impressive performance and memory use.


Now I would like to know your opinion on something.

Suppose we have some content like this:

 <paragraph>This is a paragraph about

 <paragraph>This is a paragraph about Lucene</paragraph>

Now we search for "lucene".

The optimal result would be to have Document1 rated higher than
Document2 since <strong> idenfities a more important result.

I don't think this is currently possible with Lucene algorithms (since
they are based on monodimensional text, while markup adds at least
another dimensional), but I'd love to be wrong since I'm lazy :)

Anyway, a possible solution would be to add the ability of add a
'boost-factor' to each token so that the Scorer can perform hits rating
based on this information (the search phase could not be influenced by
this boost factors).

If this is possible, it would be much easier to perform XML indexing
with Lucene without loosing the semantic contextual information that
markup can convey.


Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<>                             Friedrich Nietzsche

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message