RE: seemingly impossible query

2010-05-26 Thread Nagelberg, Kallin
mmit that would conflict. Hopefully someone finds this useful eventually! -Kallin Nagelberg -Original Message- From: Nagelberg, Kallin [mailto:knagelb...@globeandmail.com] Sent: Friday, May 21, 2010 4:44 PM To: 'solr-user@lucene.apache.org' Subject: RE: seemingly impossible que

RE: seemingly impossible query

2010-05-21 Thread Nagelberg, Kallin
its [mailto:gbr...@gmail.com] Sent: Thursday, May 20, 2010 1:03 PM To: solr-user@lucene.apache.org Subject: Re: seemingly impossible query Hi Kallin, again please look at FieldCollapsing<http://wiki.apache.org/solr/FieldCollapsing> , that should do the trick. basically: first you constrain the

RE: seemingly impossible query

2010-05-20 Thread Nagelberg, Kallin
Sent: Thursday, May 20, 2010 1:03 PM To: solr-user@lucene.apache.org Subject: Re: seemingly impossible query Hi Kallin, again please look at FieldCollapsing<http://wiki.apache.org/solr/FieldCollapsing> , that should do the trick. basically: first you constrain the field: 'listOfIds&

RE: seemingly impossible query

2010-05-20 Thread Nagelberg, Kallin
documents to find all 100 and even then > there's no guarantee and no way of knowing how deep to go. > > -Kallin Nagelberg > > -Original Message- > From: dar...@ontrenet.com [mailto:dar...@ontrenet.com] > Sent: Thursday, May 20, 2010 12:27 PM > To: solr-user@lucene.a

Re: seemingly impossible query

2010-05-20 Thread Geert-Jan Brits
find all 100 and even then > there's no guarantee and no way of knowing how deep to go. > > -Kallin Nagelberg > > -Original Message- > From: dar...@ontrenet.com [mailto:dar...@ontrenet.com] > Sent: Thursday, May 20, 2010 12:27 PM > To: solr-user@lucene.apache.org &

RE: seemingly impossible query

2010-05-20 Thread darren
all 100 and even then > there's no guarantee and no way of knowing how deep to go. > > -Kallin Nagelberg > > -Original Message- > From: dar...@ontrenet.com [mailto:dar...@ontrenet.com] > Sent: Thursday, May 20, 2010 12:27 PM > To: solr-user@lucene.apache.org >

RE: seemingly impossible query

2010-05-20 Thread Nagelberg, Kallin
cuments to find all 100 and even then there's no guarantee and no way of knowing how deep to go. -Kallin Nagelberg -Original Message- From: dar...@ontrenet.com [mailto:dar...@ontrenet.com] Sent: Thursday, May 20, 2010 12:27 PM To: solr-user@lucene.apache.org Subject: RE: seemingly impo

Re: seemingly impossible query

2010-05-20 Thread Geert-Jan Brits
ve 100 > documents, all containing just 1 of the IDs. > > -Kallin Nagelberg > > -Original Message- > From: dar...@ontrenet.com [mailto:dar...@ontrenet.com] > Sent: Thursday, May 20, 2010 12:21 PM > To: solr-user@lucene.apache.org > Subject: Re: seemingly imp

RE: seemingly impossible query

2010-05-20 Thread darren
gt; > -Original Message- > From: dar...@ontrenet.com [mailto:dar...@ontrenet.com] > Sent: Thursday, May 20, 2010 12:21 PM > To: solr-user@lucene.apache.org > Subject: Re: seemingly impossible query > > Ok. I think I understand. What's impossible about this? > > If you h

RE: seemingly impossible query

2010-05-20 Thread Nagelberg, Kallin
[mailto:dar...@ontrenet.com] Sent: Thursday, May 20, 2010 12:21 PM To: solr-user@lucene.apache.org Subject: Re: seemingly impossible query Ok. I think I understand. What's impossible about this? If you have a single field name called that is multivalued then you can retrieved the documents with some

Re: seemingly impossible query

2010-05-20 Thread darren
Ok. I think I understand. What's impossible about this? If you have a single field name called that is multivalued then you can retrieved the documents with something like: id:1 OR id:2 OR id:56 ... id:100 then add limit 100. There's probably a more succinct way to do this, but I'll leave that

seemingly impossible query

2010-05-20 Thread Nagelberg, Kallin
Hey everyone, I've recently been given a requirement that is giving me some trouble. I need to retrieve up to 100 documents, but I can't see a way to do it without making 100 different queries. My schema has a multi-valued field like 'listOfIds'. Each document has between 0 and N of these ids