ranged queries concerning 2 fields, each are multivalued

2008-03-04 Thread zqzuk
Hi all, in my application I need to index some seminar data. The basic assumption is that each seminar can be allocated to multiple time slots, with an start time and an end time. For example on 1st March it is allocated to 14:00 to 16:00 ; then on 1st April it is reallocated to 10:00 - 11:30. The

Random search result

2008-03-04 Thread Evgeniy Strokin
I want to get sample from my search result. Not first 10 but 10 random (really random, not pseudo random) documents. For example if I run simple query like STATE:NJ no order by any field, just the query and get 10 first documents from my result set, will it be random 10 or pseudo random, like fi

Re: Random search result

2008-03-04 Thread Ryan Grange
Your best bet would probably be to send a query for one record, get the number of matching records, and then repeat several requests for a single record starting at a random number from 1 to the number of records discovered on the first query. So if you do a search for state:NJ with start=0 an

Question about facet.prefix usage

2008-03-04 Thread steve berry
Question: Is it possible to pass complex queries to facet.prefix? Example instead of facet.prefix:foo I want facet.prefix:foo OR facet.prefix:bar My application is for browsing business records that fall into categories. The user is only allowed to see businesses falling into categories whi

RE: Delete document

2008-03-04 Thread Feng Gao
Try this: 05991 As I remember, we only can delete one doc once, but I am not sure. Give that a try later. Feng -Original Message- From: Jae Joo [mailto:[EMAIL PROTECTED] Sent: March 4, 2008 5:06 PM To: solr-user Subject: Delete document Hi, I have many document to be deleted and the x

Delete document

2008-03-04 Thread Jae Joo
Hi, I have many document to be deleted and the xml file is built shown as below. delete.xml id:0286-14582373 id:0286-14582372 id:0286-14582371 id:0286-14582415 id:0286-14582414 id:0286-14582413 id:0286-14582412 id:0286-14582411 id:0286-14582410 id:0286-14582409 id:0286-14582408 Once I post it