How can I factor recency into the relevance score? ie add a boost factor
to docs that have been created more recently.
ta
clint
--
Web Announcements Limited is a company registered in England and Wales,
with company number 05608868, with registered address at 10 Arvon Road,
London, N5 1PR.
Thats a bit tricky. The best way to provide something like that is by
elasticsearch providing you with an option to control the boosting based on
external functions/field values. I plan to add this support to
elasticsearch.
How can I factor recency into the relevance score? ie add a boost factor
to docs that have been created more recently.
ta
clint
--
Web Announcements Limited is a company registered in England and Wales,
with company number 05608868, with registered address at 10 Arvon Road,
London, N5 1PR.
On Mon, 2010-04-19 at 11:16 +0300, Shay Banon wrote:
Thats a bit tricky. The best way to provide something like that is by
elasticsearch providing you with an option to control the boosting
based on external functions/field values. I plan to add this support
to elasticsearch.
The problem with using external functions (if I understand it correctly)
is that it makes it tricky for us non-java types to use them.
How can I factor recency into the relevance score? ie add a
boost factor
to docs that have been created more recently.
ta
clint
--
Web Announcements Limited is a company registered in England
and Wales,
with company number 05608868, with registered address at 10
Arvon Road,
London, N5 1PR.
--
Web Announcements Limited is a company registered in England and Wales,
with company number 05608868, with registered address at 10 Arvon Road,
London, N5 1PR.
On Mon, 2010-04-19 at 11:16 +0300, Shay Banon wrote:
Thats a bit tricky. The best way to provide something like that is by
elasticsearch providing you with an option to control the boosting
based on external functions/field values. I plan to add this support
to elasticsearch.
The problem with using external functions (if I understand it correctly)
is that it makes it tricky for us non-java types to use them.
Why? You just list the function name in request parameter.
How can I factor recency into the relevance score? ie add a
boost factor
to docs that have been created more recently.
ta
clint
--
Web Announcements Limited is a company registered in England
and Wales,
with company number 05608868, with registered address at 10
Arvon Road,
London, N5 1PR.
--
Web Announcements Limited is a company registered in England and Wales,
with company number 05608868, with registered address at 10 Arvon Road,
London, N5 1PR.
I think he means if he has to write the function himself.
A recency one could be quite easy to implement as a standard function
and probably would get a lot of use. The inverse would also make good
sense to me.
On Mon, 2010-04-19 at 11:16 +0300, Shay Banon wrote:
Thats a bit tricky. The best way to provide something like that is by
elasticsearch providing you with an option to control the boosting
based on external functions/field values. I plan to add this support
to elasticsearch.
The problem with using external functions (if I understand it correctly)
is that it makes it tricky for us non-java types to use them.
Why? You just list the function name in request parameter.
How can I factor recency into the relevance score? ie add a
boost factor
to docs that have been created more recently.
ta
clint
--
Web Announcements Limited is a company registered in England
and Wales,
with company number 05608868, with registered address at 10
Arvon Road,
London, N5 1PR.
--
Web Announcements Limited is a company registered in England and Wales,
with company number 05608868, with registered address at 10 Arvon Road,
London, N5 1PR.
Actually, I am thinking of a nicer way to do it then just a set of
predefined functions. Writing the functions in an expression lang (like
mvel, which is fast, and has a pretty nice syntax).
On Mon, 2010-04-19 at 12:36 +0300, Shay Banon wrote:
Actually, I am thinking of a nicer way to do it then just a set of
predefined functions. Writing the functions in an expression lang
(like mvel, which is fast, and has a pretty nice syntax).
While it'd be great to support custom functions, it does mean that there
is another DSL that we have to learn to make use of them.
Having a library of commonly used functions would be very useful.
On Mon, 2010-04-19 at 12:36 +0300, Shay Banon wrote:
Actually, I am thinking of a nicer way to do it then just a set of
predefined functions. Writing the functions in an expression lang
(like mvel, which is fast, and has a pretty nice syntax).
While it'd be great to support custom functions, it does mean that there
is another DSL that we have to learn to make use of them.
Having a library of commonly used functions would be very useful.
And how about to allow custom functions in Java as plugins too, the same way
attachments plugin is done. Then anybody should be able to implement
function in Java and provide jar for.
Lukas
On Mon, 2010-04-19 at 12:36 +0300, Shay Banon wrote:
Actually, I am thinking of a nicer way to do it then just a set of
predefined functions. Writing the functions in an expression lang
(like mvel, which is fast, and has a pretty nice syntax).
While it'd be great to support custom functions, it does mean that there
is another DSL that we have to learn to make use of them.
Having a library of commonly used functions would be very useful.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.