Re: solr single threaded?

2010-08-08 Thread Otis Gospodnetic
Andy, Short answer: No, Solr will use multiple CPU cores and/or multiple CPUs if they are present. A single non-distributed search request runs in a single thread, but Solr (and the servlet container you put it in) can handle a number of such threads in parallel. Otis Sematext :: http://

solr single threaded?

2010-08-08 Thread Andy
I read that Lucene search is single threaded. Does that mean Solr search is also single threaded? What does it mean - that there are no concurrent searches & all searches are serialized? Can Solr take advantages of multiple CPUs? Thanks.

Re: how to commit certain xml files using PHP commit()

2010-08-08 Thread Paul Dhaliwal
I am not sure if the php client supports updates via xml files. If it doesn't, you probably need to use php curl to submit the file. You can see regular curl usage here: http://wiki.apache.org/solr/UpdateXmlMessages and http://wiki.apache.org/solr/UpdateCSV I imagine you would use CURLOPT_INFILE

how to commit certain xml files using PHP commit()

2010-08-08 Thread e8en
I'm solr newbie, I use my PHP script to delete index and commit certain xml file in solr this is what I do: $solr->deleteByQuery('ITEM_CAT:576'); $solr->commit(); the question is, how to commit certain xml file, for example to do this: java -jar post.jar cat_576.xml please help me thanks before

Schema Definition Question

2010-08-08 Thread Frank A
Hi, I have a db handler with the following definition: In my schema I have: This yields results that have a list of feature labels and a separate list of FeatureIDs with now real connection between the two. Is the

Solr 1.4.1 and 3x: Grouping of query changes results

2010-08-08 Thread David Benson
I'm seeing what I believe to be a logic error in the processing of a query. Returns document 1234 as expected: id:1234 AND -indexid:1 AND -indexid:2 AND -indexid:3 Does not return document as expected: id:1234 AND (-indexid:1 AND -indexid:2) AND -indexid:3 Has anyone else experienced this? The e

Re: DIH, UTF8 and default DIH encoding value

2010-08-08 Thread Amit Nithian
Thanks Otis. I went ahead and added this section. I hope that others can add to this too but of course the list should be short :-) - Amit On Sun, Aug 1, 2010 at 12:00 AM, Otis Gospodnetic < otis_gospodne...@yahoo.com> wrote: > Hi Amit, > > Anyone can edit any Solr Wiki page - just create an acc

Re: No "group by"? looking for an alternative.

2010-08-08 Thread Otis Gospodnetic
Dennis, Unfortunately it's not ready, at least not SOLR-236. There is another issue that you could look at from memory, I think it's SOLR-1682. Otis Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem search :: http://search-lucene.com/ - Original Message

Re: Changing the Database while using Solr with the DSpace digital repository.

2010-08-08 Thread Otis Gospodnetic
Paul, I'm guessing DSpace mailing list is a better place to ask. I think most people here don't know much about DSpace and how it uses Solr. Otis Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem search :: http://search-lucene.com/ - Original Message >

Re: Should MergeIndexes call params.add instead of set?

2010-08-08 Thread Otis Gospodnetic
You may be right. I don't have the sources handy to check, but there should be a unit test that you can play with and see if add is the right thing to use. If it turns out to be a bug, please file a ticket in JIRA. Otis Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene eco