Re: Solr WARN Log

2014-09-13 Thread Joseph V J
Thank you for the info Chris. ~Regards Joe On Thu, Sep 11, 2014 at 10:36 PM, Chris Hostetter wrote: > > : But it seems this has not fixed in 4.10, as the issue SOLR-6179 > : is not in changes list > : http://lucene.apache.org/solr/4_10_0/changes

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

Re: Solr: How to delete a document

2014-09-13 Thread François Schiettecatte
How about adding 'expungeDeletes=true' as well as 'commit=true'? François On Sep 13, 2014, at 4:09 PM, FiMka wrote: > 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

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 "

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: SolrJ : fieldcontent from (multiple) file(s)

2014-09-13 Thread Erick Erickson
bq: I'd ideally like to put the burden of tika-extraction into the Solr-process. Why? That puts the entire parsing burden on the Solr machine. Under any significant indexing load, parsing the doc may become a bottleneck. If you do the Tika extraction on the client, you can spread that (sometimes q

New tiny high-performance HTTP/Servlet server for Solr

2014-09-13 Thread Jayson Minard
Instead of within an Application Server such as Jetty, Tomcat or Wildly ... Solr can also now be run standalone on Undertow without the overhead or complexity of a full application server. Open-sourced on https://github.com/bremeld/solr-undertow solr-undertow Solr running in standalone server - H

Re: SolrJ : fieldcontent from (multiple) file(s)

2014-09-13 Thread Alexandre Rafalovitch
On 13 September 2014 17:03, Erick Erickson wrote: > Which probably just means I don't understand your problem > space in sufficient depth I suspect this means the clients do not have access to the shared drive with the files, but the Solr server does. A firewall in between or some such. If I

Re: Solr: How to delete a document

2014-09-13 Thread Erick Erickson
H, it should not be necessary to add expungeDeletes, so I'd like to understand what's happening here. FiMka: Could you give us the exact URL you send? Because trying the below from a browser works just fine for me on 4.x. with the sample data. http://localhost:8983/solr/collection1/update?com

Re: Solr: How to delete a document

2014-09-13 Thread Alexandre Rafalovitch
If "commit" was the answer, you may want to step back and review your understanding of Solr. The main point is that Solr commit is not the same as SQL transaction, but is something that has to be triggered manually (or through timeout specifications in the request and/or solrconfig.xml). Also, com

Re: Solr: Tricky exact match, unwanted search results

2014-09-13 Thread Erick Erickson
The easiest way to make your examples work would be to use a copyField to an "exact match" field that uses the KeywordTokenizer (and perhaps a lowercase filter). Then your exact match would be satisfied by a simple wildcard search for cat*. You'll have to be a little careful to escape spaces for m

Re: SolrJ : fieldcontent from (multiple) file(s)

2014-09-13 Thread Erick Erickson
Alexandre: Hmmm, if you're correct, that pretty much shoots SolrCel in the head too. You'd probably have to do something with a custom UpdateRequestProcessor in that case... On Sat, Sep 13, 2014 at 2:06 PM, Alexandre Rafalovitch wrote: > On 13 September 2014 17:03, Erick Erickson wrote: >> Whic

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". Sol

Re: Solr: How to delete a document

2014-09-13 Thread Erick Erickson
Ahhh! Thanks for letting us know, I was wondering! And that fact was right there in the URL you pasted and I overlooked it totally. Siiigggh. Erick On Sat, Sep 13, 2014 at 2:28 PM, FiMka wrote: > I've got the answer! The problem was not in absence of 'expungeDeletes=true', > I've double checked

Re: Solr: How to delete a document

2014-09-13 Thread Alexandre Rafalovitch
Well, I missed it as well. :-) I usually put my URLs on their own lines to make looking at them easier. Wonder if that would have helped in this particular case. Regards, Alex. Personal: http://www.outerthoughts.com/ and @arafalov Solr resources and newsletter: http://www.solr-start.com/ and @

Re: New tiny high-performance HTTP/Servlet server for Solr

2014-09-13 Thread William Bell
Can we get some stats? Do you have any numbers on performance? On Sat, Sep 13, 2014 at 3:03 PM, Jayson Minard wrote: > Instead of within an Application Server such as Jetty, Tomcat or Wildly ... > Solr can also now be run standalone on Undertow without the overhead or > complexity of a full appl

AW: SolrJ : fieldcontent from (multiple) file(s)

2014-09-13 Thread Clemens Wyss DEV
Thanks for all you advices and thoughts. The "client" in our case is/are the tomcats. To be more precise the webapps running in the tomcats. These should serve http request. I'd also like to note that it's he batch-updates that in my opinion cause load (cpu and memory (dependeing on the pdf)) w

Re: Advice on highlighting

2014-09-13 Thread Ramkumar R. Aiyengar
https://issues.apache.org/jira/plugins/servlet/mobile#issue/LUCENE-2878 provides lucene API what you are trying to do, it's not yet in though. There's a fork which has the change in https://github.com/flaxsearch/lucene-solr-intervals On 12 Sep 2014 21:24, "Craig Longman" wrote: > In order to take