As i am new to solr and trying to explore payloads in solr but i
haven't got
any success on that. In one of the thread Grant mentioned solr have
DelimitedPayloadTokenFilter which
can store payloads at index time. But to make search on it we will
require implementation of BoostingTermQuery extending
SpanTermQuery . And
if any other thing also we require.
This looks about the same as the approach I'm about to use for our
research.
We're looking into using payloads to improve relevance for stemmed
terms, using the payload to store the unstemmed term, boosting the
term if there's an exact match with the payloads.
My Question:
1. What all i will have to do for this.
2. How i will do this. I mean even if by adding some classes and
rebuilding
solr jars and then how i will prepare Document to index to store
payloads
and how i will build my search query to do payload search. Do we
need to add
a new Requesthandler for making such custom searches? Please provide a
sample code if have any...
--
Cheers....
Sumit
I'm starting work on this in the next few days, I'll let you know how
I get on.
If anyone else has any experience with payloads in solr please chip
in :)
--
Toby Cole
Software Engineer, Semantico Limited
<toby.c...@semantico.com> <tel:+44 1273 358 238>
Registered in England and Wales no. 03841410, VAT no. GB-744614334.
Registered office Lees House, 21-23 Dyke Road, Brighton BN1 3FE, UK.
Check out all our latest news and thinking on the Discovery blog
http://blogs.semantico.com/discovery-blog/