New equivalent to QueryParsing.parseQuery()?

2014-05-15 Thread Jeff Leedy
I have some older code that works as expected in Solr 3.4: final IndexSchema indexSchema = new IndexSchema( new SolrConfig(solrHome + "/repository","solrconfig.xml",null), "schema.xml", null); final Query luceneQuery = QueryParsing.parseQuery(

Relative performance of updating documents of different sizes

2011-08-30 Thread Jeff Leedy
I was curious to know if anyone has any information about the relative performance of document updates (delete/add operations) on documents of different sizes. I have a use case in which I can either create large Solr documents first and subsequently add a small amount of information to them, or do

How to delete records that don't contain a field?

2007-12-03 Thread Jeff Leedy
I was wondering if there was a way to post a delete query using curl to delete all records that do not contain a certain field--something like this: curl http://localhost:8080/solr/update --data-binary '-_title:[* TO *]' -H 'Content-type:text/xml; charset=utf-8' The minus syntax seems to ret