The TokenFilterFactory side is trivial for the DelimitedPayloadTokenFilter. That could be in for 1.4. In fact, there is an automated way to generate the stubs that should be run in preparing for a release. I'll see if I can find a minute or two to make that happen.

For query support, I've never hooked into the query parser, so I have no clue. Yonik seems to crank out new query capabilities pretty fast, so maybe it isn't too bad, even if it isn't done as fast as Yonik. Bigger picture, it would be great to have spans support too.


On Jul 14, 2009, at 3:44 PM, Shalin Shekhar Mangar wrote:

It may be nice to tell us why you need payloads? There may be other ways of solving your problem than adding payload support to Solr? Anyway, I don't
see payload support before 1.5

On Tue, Jul 14, 2009 at 10:07 PM, Sumit Aggarwal
<sumit.kaggar...@gmail.com>wrote:

Hey Nobel,
Any comments on Grant suggestion.

Thanks,
-Sumit

On Tue, Jul 14, 2009 at 8:40 PM, Sumit Aggarwal
<sumit.kaggar...@gmail.com>wrote:

Hi Walter,
I do have a search server where i have implemented things using payload
feature itself. These days i am evaluating solr to get rid of my own
search
server. For that i need payloads feature in solr itself. I raised a
related
question and got a message from *Grant* as
* "**I added a new DelimitedPayloadTokenFilter to Lucene that should make it really easy to send in payloads "inline" in Solr XML, so what remains
to
be done, I think is:*
*1. Create a new TokenFilterFactory for the TokenFilter
**2. Hook in some syntax support for creating a BoostingTermQuery in the
Query Parsers.**"*

Now can any one provide any custom code to do what grant mentioned.

Thanks,
Sumit

On Tue, Jul 14, 2009 at 8:24 PM, Walter Underwood <
wunderw...@netflix.com>wrote:

That doesn't require payloads. I was doing that with Solr 1.1. Define
two
fields, stemmed and exact, with different analyzer chains. Use copyfield
to
load the same info into both. With the dismax handler, search both
fields
with a higher boost on the exact field.

wunder

On 7/14/09 7:39 AM, "Toby Cole" <toby.c...@semantico.com> wrote:

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.







--
Regards,
Shalin Shekhar Mangar.

--------------------------
Grant Ingersoll
http://www.lucidimagination.com/

Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids) using Solr/Lucene:
http://www.lucidimagination.com/search

Reply via email to