You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by "Chong, Herb" <HC...@bloomberg.com> on 2005/03/03 20:13:35 UTC
Sandbox
where has the sandbox gone? the links from the Apache site no longer
point to anything.
Herb...
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: Score Question
Posted by Luke Shannon <ls...@futurebrand.com>.
A couple of times.
Luke
----- Original Message -----
From: "Erik Hatcher" <er...@ehatchersolutions.com>
To: <ja...@lucene.apache.org>
Sent: Wednesday, March 09, 2005 8:03 PM
Subject: Re: Score Question
> Did you reindex after upgrading?
>
> Erik
>
> On Mar 9, 2005, at 5:55 PM, Luke Shannon wrote:
>
> > Hi;
> >
> > Has the scoring changed recently? I just upgraded all the jars is our
> > application (Lucene included).
> >
> > I'm getting scores like this from documents in hits:
> >
> > 6.9699495E-4
> >
> > The XSL that creates the user interface converts the score to an int
> > and
> > than display it. This currently resulting in a zero for all scores.
> >
> > I'm being told that the XSL has always done this and everything worked
> > fine
> > before I did this upgrade.
> >
> > I made a few changes to the query parsing and searching logic.
> >
> > I'm thinking I have either:
> > 1. Done something to screw up the scores being returned (is this
> > possible?)
> > 2. The XSL did do something with this value before converting it to an
> > int
> > and somehow that code has been misplaced.
> > 3. Scoring has changed in the last version of Lucene and I need
> > multilply
> > the score by some factor to make it more int friendly.
> >
> > Can someone shed some light on this please?
> >
> > Thanks,
> >
> > Luke
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: java-user-help@lucene.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: Score Question
Posted by Erik Hatcher <er...@ehatchersolutions.com>.
Did you reindex after upgrading?
Erik
On Mar 9, 2005, at 5:55 PM, Luke Shannon wrote:
> Hi;
>
> Has the scoring changed recently? I just upgraded all the jars is our
> application (Lucene included).
>
> I'm getting scores like this from documents in hits:
>
> 6.9699495E-4
>
> The XSL that creates the user interface converts the score to an int
> and
> than display it. This currently resulting in a zero for all scores.
>
> I'm being told that the XSL has always done this and everything worked
> fine
> before I did this upgrade.
>
> I made a few changes to the query parsing and searching logic.
>
> I'm thinking I have either:
> 1. Done something to screw up the scores being returned (is this
> possible?)
> 2. The XSL did do something with this value before converting it to an
> int
> and somehow that code has been misplaced.
> 3. Scoring has changed in the last version of Lucene and I need
> multilply
> the score by some factor to make it more int friendly.
>
> Can someone shed some light on this please?
>
> Thanks,
>
> Luke
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Score Question
Posted by Luke Shannon <ls...@futurebrand.com>.
Hi;
Has the scoring changed recently? I just upgraded all the jars is our
application (Lucene included).
I'm getting scores like this from documents in hits:
6.9699495E-4
The XSL that creates the user interface converts the score to an int and
than display it. This currently resulting in a zero for all scores.
I'm being told that the XSL has always done this and everything worked fine
before I did this upgrade.
I made a few changes to the query parsing and searching logic.
I'm thinking I have either:
1. Done something to screw up the scores being returned (is this possible?)
2. The XSL did do something with this value before converting it to an int
and somehow that code has been misplaced.
3. Scoring has changed in the last version of Lucene and I need multilply
the score by some factor to make it more int friendly.
Can someone shed some light on this please?
Thanks,
Luke
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: Score Question
Posted by Luke Shannon <ls...@futurebrand.com>.
I think I've found my problem. In the example I'm having the problem with I
do a multiple field query. I think I need to play with my boosting factors.
This is the section of the book that I think will lead to a resolution to my
problem:
In addition to the explicit factors in this equation, other factors can be
computed
on a per-query basis as part of the queryNorm factor. Queries themselves can
have an impact on the document score. Boosting a Query instance is sensible
only
in a multiple-clause query; if only a single term is used for searching,
boosting it
would boost all matched documents equally. In a multiple-clause boolean
query,
some documents may match one clause but not another, enabling the boost
factor
to discriminate between queries. Queries also default to a 1.0 boost factor.
Luke
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: Sandbox
Posted by Erik Hatcher <er...@ehatchersolutions.com>.
On Mar 3, 2005, at 2:13 PM, Chong, Herb wrote:
> where has the sandbox gone? the links from the Apache site no longer
> point to anything.
Lucene is now in Subversion as mentioned on this very list :)
The Sandbox repository was folded into our single Subversion repository
at:
http://svn.apache.org/repos/asf/lucene/java/trunk
The sandbox code is in a bit of transition right now, as I've moved
some of it to /contrib, the rest is under /sandbox.
Erik
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org