On Thu, Nov 12, 2009 at 2:54 PM, Chris Hostetter
<hossman_luc...@fucit.org>wrote:

>
> oh man, so you were parsing the Stored field values of every matching doc
> at query time? ouch.
>
> Assuming i'm understanding your goal, the conventional way to solve this
> type of problem is "payloads" ... you'll find lots of discussion on it in
> the various Lucene mailing lists, and if you look online Michael Busch has
> various slides that talk about using them.  they let you say things
> like "in this document, at this postion of field 'x' the word 'microsoft'
> is worth 37.4, but at this other position (or in this other document)
> 'microsoft' is only worth 17.2"
>
> The simplest way to use them in Solr (as i understand it) is to use
> soemthing like the DelimitedPayloadTokenFilterFactory when indexing, and
> then write yourself
> a simple little custom QParser that generates a BoostingTermQuery on your
> field.
>
> should be a lot simpler to implement then the Query you are describing,
> and much faster.
>
>
> -Hoss
>
>
Thanks. I finally got around to looking at this again today and was looking
at a similar path, so I appreciate the confirmation.

-- 
Stephen Duncan Jr
www.stephenduncanjr.com

Reply via email to