Re: limiting the total number of documents matched

2010-07-16 Thread Yonik Seeley
>>> and you only request your IDs to keep it snappy, then do a second query >>> against the IDs and sort by your other field. 1000 seems like a lot for >>> that approach, but who knows until you try it on your data. >>> >>> -Kallin Nagelberg >>&

Re: limiting the total number of documents matched

2010-07-16 Thread Lance Norskog
snappy, then do a second query >>> against the IDs and sort by your other field. 1000 seems like a lot for >>> that approach, but who knows until you try it on your data. >>> >>> -Kallin Nagelberg >>> >>> >>> -Original Message---

Re: limiting the total number of documents matched

2010-07-14 Thread Paul
ield. 1000 seems like a lot for that approach, but >> who knows until you try it on your data. >> >> -Kallin Nagelberg >> >> >> -Original Message----- >> From: Paul [mailto:p...@nines.org] >> Sent: Wednesday, July 14, 2010 4:16 PM >> To: so

Re: limiting the total number of documents matched

2010-07-14 Thread Paul
..@nines.org] > Sent: Wednesday, July 14, 2010 4:16 PM > To: solr-user > Subject: limiting the total number of documents matched > > I'd like to limit the total number of documents that are returned for > a search, particularly when the sort order is not based on relevancy.

RE: limiting the total number of documents matched

2010-07-14 Thread Nagelberg, Kallin
ry against the IDs and sort by your other field. 1000 seems like a lot for that approach, but who knows until you try it on your data. -Kallin Nagelberg -Original Message- From: Paul [mailto:p...@nines.org] Sent: Wednesday, July 14, 2010 4:16 PM To: solr-user Subject: limiting the to

limiting the total number of documents matched

2010-07-14 Thread Paul
I'd like to limit the total number of documents that are returned for a search, particularly when the sort order is not based on relevancy. In other words, if the user searches for a very common term, they might get tens of thousands of hits, and if they sort by "title", then very high relevancy d