You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by oferiko <of...@gmail.com> on 2010/07/15 07:43:24 UTC
how to eliminating scoring from a query?
in http://www.lucidimagination.com/files/file/LIWP_WhatsNew_Solr1.4.pdf
http://www.lucidimagination.com/files/file/LIWP_WhatsNew_Solr1.4.pdf under
the performance it mentions:
"Queries that don’t sort by score can eliminate scoring, which speeds up
queries"
how exactly can i do that? If i don't mention which sort i want, it
automatically sorts by "score desc".
thanks
--
View this message in context: http://lucene.472066.n3.nabble.com/how-to-eliminating-scoring-from-a-query-tp968581p968581.html
Sent from the Solr - User mailing list archive at Nabble.com.
RE: how to eliminating scoring from a query?
Posted by oferiko <of...@gmail.com>.
that's actually what i already had in mind, just wasn't sure that specifying
the sort order of indextime eliminates the work of scoring.
--
View this message in context: http://lucene.472066.n3.nabble.com/how-to-eliminating-scoring-from-a-query-tp968581p972325.html
Sent from the Solr - User mailing list archive at Nabble.com.
RE: how to eliminating scoring from a query?
Posted by "Nagelberg, Kallin" <KN...@globeandmail.com>.
How about:
1. Create a date field to indicate indextime.
2 Use a date filter to restrict articles to today and yesterday such as myindexdate:"[NOW/DAY-1DAY TO NOW/DAY+1DAY]"
3. sort on that field.
-Kallin Nagelberg
-----Original Message-----
From: oferiko [mailto:oferiko@gmail.com]
Sent: Thursday, July 15, 2010 1:38 PM
To: solr-user@lucene.apache.org
Subject: Re: how to eliminating scoring from a query?
thanks,
i want it to be the indexing order, but with a limit, something like
everything that matches my query, and was indexed since yesterday, in an
ascending order.
Ofer
On Thu, Jul 15, 2010 at 8:25 PM, Erick Erickson [via Lucene] <
ml-node+970139-889457701-316247@n3.nabble.com<ml...@n3.nabble.com>
> wrote:
> By specifying a sort that doesn't include score. I think it's just
> automatic
> then.
>
> It wouldn't make sense to eliminate scoring *without* sorting by some other
>
> field , you'd essentially get a random ordering.
>
>
> Best
> Erick
>
> On Thu, Jul 15, 2010 at 1:43 AM, oferiko <[hidden email]<http://user/SendEmail.jtp?type=node&node=970139&i=0>>
> wrote:
>
> >
> > in http://www.lucidimagination.com/files/file/LIWP_WhatsNew_Solr1.4.pdf
> > http://www.lucidimagination.com/files/file/LIWP_WhatsNew_Solr1.4.pdf under
>
> > the performance it mentions:
> > "Queries that don't sort by score can eliminate scoring, which speeds up
> > queries"
> > how exactly can i do that? If i don't mention which sort i want, it
> > automatically sorts by "score desc".
> >
> > thanks
> > --
> > View this message in context:
> >
> http://lucene.472066.n3.nabble.com/how-to-eliminating-scoring-from-a-query-tp968581p968581.html<http://lucene.472066.n3.nabble.com/how-to-eliminating-scoring-from-a-query-tp968581p968581.html?by-user=t>
> > Sent from the Solr - User mailing list archive at Nabble.com.
> >
>
>
> ------------------------------
> View message @
> http://lucene.472066.n3.nabble.com/how-to-eliminating-scoring-from-a-query-tp968581p970139.html
> To unsubscribe from how to eliminating scoring from a query?, click here< (link removed) =>.
>
>
>
--
View this message in context: http://lucene.472066.n3.nabble.com/how-to-eliminating-scoring-from-a-query-tp968581p970180.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: how to eliminating scoring from a query?
Posted by oferiko <of...@gmail.com>.
thanks,
i want it to be the indexing order, but with a limit, something like
everything that matches my query, and was indexed since yesterday, in an
ascending order.
Ofer
On Thu, Jul 15, 2010 at 8:25 PM, Erick Erickson [via Lucene] <
ml-node+970139-889457701-316247@n3.nabble.com<ml...@n3.nabble.com>
> wrote:
> By specifying a sort that doesn't include score. I think it's just
> automatic
> then.
>
> It wouldn't make sense to eliminate scoring *without* sorting by some other
>
> field , you'd essentially get a random ordering.
>
>
> Best
> Erick
>
> On Thu, Jul 15, 2010 at 1:43 AM, oferiko <[hidden email]<http://user/SendEmail.jtp?type=node&node=970139&i=0>>
> wrote:
>
> >
> > in http://www.lucidimagination.com/files/file/LIWP_WhatsNew_Solr1.4.pdf
> > http://www.lucidimagination.com/files/file/LIWP_WhatsNew_Solr1.4.pdf under
>
> > the performance it mentions:
> > "Queries that don’t sort by score can eliminate scoring, which speeds up
> > queries"
> > how exactly can i do that? If i don't mention which sort i want, it
> > automatically sorts by "score desc".
> >
> > thanks
> > --
> > View this message in context:
> >
> http://lucene.472066.n3.nabble.com/how-to-eliminating-scoring-from-a-query-tp968581p968581.html<http://lucene.472066.n3.nabble.com/how-to-eliminating-scoring-from-a-query-tp968581p968581.html?by-user=t>
> > Sent from the Solr - User mailing list archive at Nabble.com.
> >
>
>
> ------------------------------
> View message @
> http://lucene.472066.n3.nabble.com/how-to-eliminating-scoring-from-a-query-tp968581p970139.html
> To unsubscribe from how to eliminating scoring from a query?, click here< (link removed) =>.
>
>
>
--
View this message in context: http://lucene.472066.n3.nabble.com/how-to-eliminating-scoring-from-a-query-tp968581p970180.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: how to eliminating scoring from a query?
Posted by Erick Erickson <er...@gmail.com>.
By specifying a sort that doesn't include score. I think it's just automatic
then.
It wouldn't make sense to eliminate scoring *without* sorting by some other
field , you'd essentially get a random ordering.
Best
Erick
On Thu, Jul 15, 2010 at 1:43 AM, oferiko <of...@gmail.com> wrote:
>
> in http://www.lucidimagination.com/files/file/LIWP_WhatsNew_Solr1.4.pdf
> http://www.lucidimagination.com/files/file/LIWP_WhatsNew_Solr1.4.pdf under
> the performance it mentions:
> "Queries that don’t sort by score can eliminate scoring, which speeds up
> queries"
> how exactly can i do that? If i don't mention which sort i want, it
> automatically sorts by "score desc".
>
> thanks
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/how-to-eliminating-scoring-from-a-query-tp968581p968581.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>