On Tuesday 18 December 2007 14:59:45 Peter Keegan wrote:
>
> Should I open a Jira issue?
>
What shall I say?
http://www.apache.org/foundation/how-it-works.html
Regards,
Paul Elschot
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
This is a nice alternative to using payloads and BoostingTermQuery. Is there
any reason not to make this change to SpanFirstQuery, in particular:
>This modification to SpanFirstQuery would be that the Spans
>returned by SpanFirstQuery.getSpans() must always return 0
>from its start() method.
Shou
hanks,
>> > > > > > > Shailendra Sharma,
>> > > > > > > CTO, Ver se' Innovation Pvt. Ltd.
>> > > > > > > Bangalore, India
>> > > > > > >
>> > > > > > > On 8/1/07, Cedric Ho <[EMAIL PROTECTED]>
Paul,
Hm..even being a Lucene newbie, I can understand your solution easily. Thanks =)
Shailendra,
Also thank you for your efforts in helping me to do this. I did learn
a lot more about the inner working of lucene through your examples =)
Thanks,
Cedric
On 8/4/07, Shailendra Sharma <[EMAIL PROT
Ah, Good way !
On 8/4/07, Paul Elschot <[EMAIL PROTECTED]> wrote:
>
> On Friday 03 August 2007 20:35, Shailendra Sharma wrote:
> > Paul,
> >
> > If I understand Cedric right, he wants to have different boosting
> depending
> > on search term positions in the document. By using SpanFirstQuery he
>
On Friday 03 August 2007 20:35, Shailendra Sharma wrote:
> Paul,
>
> If I understand Cedric right, he wants to have different boosting depending
> on search term positions in the document. By using SpanFirstQuery he will
> only be able to consider in terms till particular position;
> but he won
Paul,
If I understand Cedric right, he wants to have different boosting depending
on search term positions in the document. By using SpanFirstQuery he will
only be able to consider in terms till particular position; but he won't be
able to do something like following:
a) Give 100% boosting to ma
Cedric,
You can choose the end limit for SpanFirstQuery yourself.
Regards,
Paul Elschot
On Friday 03 August 2007 05:38, Cedric Ho wrote:
> Hi Paul,
>
> Isn't SpanFirstQuery only match those with position less than a
> certain end position?
>
> I am rather looking for a query that would score
I am doing implementation of SpanTermQuery for you, give me today. Sorry, I
was out for meetings for 2 days.
Enjoy,
Shailendra
On 8/3/07, Cedric Ho <[EMAIL PROTECTED]> wrote:
>
> Hi Paul,
>
> Isn't SpanFirstQuery only match those with position less than a
> certain end position?
>
> I am rather l
Hi Paul,
Isn't SpanFirstQuery only match those with position less than a
certain end position?
I am rather looking for a query that would score a document higher for
terms appear near the start but not totally discard those with terms
appear near the end.
Regards,
Cedric
On 8/2/07, Paul Elschot
Cedric,
SpanFirstQuery could be a solution without payloads.
You may want to give it your own Similarity.sloppyFreq() .
Regards,
Paul Elschot
On Thursday 02 August 2007 04:07, Cedric Ho wrote:
> Thanks for the quick response =)
>
> On 8/1/07, Shailendra Sharma <[EMAIL PROTECTED]> wrote:
> > Yes
Thanks for the quick response =)
On 8/1/07, Shailendra Sharma <[EMAIL PROTECTED]> wrote:
> Yes, it is easily doable through "Payload" facility. During indexing process
> (mainly tokenization), you need to push this extra information in each
> token. And then you can use BoostingTermQuery for using
Yes, it is easily doable through "Payload" facility. During indexing process
(mainly tokenization), you need to push this extra information in each
token. And then you can use BoostingTermQuery for using Payload value to
include Payload in the score. You also need to implement Similarity for this
(
Hi all,
I was wondering if it is possible to do boosting by search terms'
position in the document.
for example:
search terms appear in the first 100 words, or first 10% words, or in
first two paragraphs would be given higher score.
Is it achievable through using the new Payload function in luce
14 matches
Mail list logo