lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nagelberg, Kallin" <KNagelb...@globeandmail.com>
Subject RE: how to eliminating scoring from a query?
Date Thu, 15 Jul 2010 17:47:32 GMT
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-node%2B970139-889457701-316247@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.

Mime
View raw message