[KinoSearch] Re: Wildcards

Father Chrysostomos sprout at cpan.org
Fri Feb 8 08:45:40 PST 2008


On Feb 8, 2008, at 3:59 AM, Marvin Humphrey wrote:

> Father Chrysostomos:
>
>> I suppose the answers to these questions are precisely what you are
>> working on. :-)
>
> Please take a look at the newly committed
> KinoSearch::Docs::Cookbook::WildcardQuery and let me know how it goes:
> <http://xrl.us/bfust>

Thank you. That’s very helpful.

> +        $tally{$id}    = KinoSearch::Search::Tally->new;
> +        $tally{$id}->set_score(1.0);    # fixed score of 1.0

One question: Is this the place where the weight’s value should be  
specified? (I.e., ->set_score($weight->get_value) )

>> Anyway, the attached patch shows what I've been trying to do so far
>> (completely untested).
>
> I didn't see this because my email machine just crashed, I've had to  
> restore
> from backup, and the list archive didn't preserve it.

It’s probably not much use to you now, but here it is anyway:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: RegexpTermQuery.pm
Type: text/x-perl-script
Size: 4372 bytes
Desc: not available
Url : http://www.rectangular.com/pipermail/kinosearch/attachments/20080208/67f5f9bf/RegexpTermQuery.bin
-------------- next part --------------



Father Chrysostomos

P.S.: I think there’s something else wrong with your e-mail program.  
It’s outputting a Bcc header, which clearly shouldn’t be there.



More information about the kinosearch mailing list