lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukas Vlcek" <>
Subject Customized search with Lucene?
Date Sat, 13 Oct 2007 06:53:47 GMT

I am looking for an easy (~preferred) way of implementing customized search
with Lucene. What I mean by this is changing order of returned hits
according to user profile. In simple words I would like to be able to tweak
order of documents in Hits collection before it is presented to the client.

Example: if user A issues a query "lucene" then he/she tends to click the
third returned link (document #123). I would like to "boost" document #123
for this user so the next time he/she issues the query "lucene" again the
hit for the document #123 will be in the first or second position (providing
that the index hasn't been modified).

Looking at the Searchable<>interface
it does not seem it supports this kind of flexibility. I don't
want to use filter<>of
are not appropriate for my goal).

Custom scoring<>seems
to be the only option left. At the first glance it seems quite
complex; moreover, I am not sure it really allows me to achieve my goal, but
if there is no other way then I have to try it...
Any suggestions?



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message