Solr optimistic concurrency update: version conflict

2014-09-18 Thread FiMka
Hi, could you please help me to understand why I have such results for optimistic concurrency update. Say, I have the following document: In solrconfig.xml: In schema.xml: Because I use SignatureUpdate, I can't use partial update requests containing signature field (known Solr

Re: Tricky exact match, unwanted search results

2014-09-15 Thread FiMka
Seems now the problem is solved for me. I have already tried to re-index the documents, but after I have re-indexed the core once again, Solr starts returning the correct results. query: srcphrase:in AND srcphrase:case AND srcphrase:if the phrase found query: srcphrase:case if in~3 the phrase

Re: Solr: Tricky exact match, unwanted search results

2014-09-14 Thread FiMka
*Erick*, thank you for help! For exact match I still want: to use stemming (e.g. for sleep I want the word forms slept, sleeping, sleeps also to be used in searching) to disregard case sensitivity to disregard prepositions, conjunctions and other function words to match only docs having all of the

Re: Solr: Tricky exact match, unwanted search results

2014-09-14 Thread FiMka
FiMka wrote After I disabled solr.StopFilterFactory for analyzer type=query Solr stopped returning this document for the query: http://localhost:8983/solr/lexikos/select?q=phraseExact%3A%22on+a+case-by-case%22. Forgot to say, I have also disabled solr.StopFilterFactory for analyzer type=index

Solr: How to delete a document

2014-09-13 Thread FiMka
Hi guys, could you say how to delete a document in Solr? After I delete a document it still persists in the search results. For example there is the following document saved in Solr: After I POST the following data to localhost:8983/solr/update/?commit=true: Solr each time says 200 OK and responds

Solr: Tricky exact match, unwanted search results

2014-09-13 Thread FiMka
Hi guys, could you help me with implementing exact match search in Solr. Say I have the following Solr documents: And my search query is: By default Solr for the given documents and the search query cat will give all the partially matched documents (cat, pussy cat and cats), but only the cat and

Re: Solr: How to delete a document

2014-09-13 Thread FiMka
*François*, thank you for help, it is really working now! -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-How-to-delete-a-document-tp4158649p4158654.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr: How to delete a document

2014-09-13 Thread FiMka
I've got the answer! The problem was not in absence of 'expungeDeletes=true', I've double checked and this does not matter actually. But in fact first time I sent the documents removal request to localhost:8983/solr/update/?commit=true with no specifying any exact Solr core, e.g. collection1. Solr