Re: Send kill -9 to a node and can not delete down replicas with onlyIfDown.

2016-07-19 Thread Justin Lee
extremely had to compensate for this kind > of thing, but kill -9 is a harsh, last-resort option and > shouldn't be part of your regular process. And you should > expect some "interesting" states when you do. And > you should use the bin/solr script to stop Solr > gracefully. &g

Re: Send kill -9 to a node and can not delete down replicas with onlyIfDown.

2016-07-19 Thread Justin Lee
Pardon me for hijacking the thread, but I'm curious about something you said, Erick. I always thought that the point (in part) of going through the pain of using zookeeper and creating replicas was so that the system could seamlessly recover from catastrophic failures. Wouldn't an OOM condition h

Re: Bypassing ExtractingRequestHandler

2016-06-13 Thread Justin Lee
Thanks everyone for the help and advice. The SolrJ exmaple makes sense to me. The import of SOLR-8166 was kind of mind boggling to me, but maybe I'll revisit after some time. Tim: for context, I'm ultimately trying to create an external highlighter. See https://issues.apache.org/jira/browse/SOLR

Bypassing ExtractingRequestHandler

2016-06-09 Thread Justin Lee
Has anybody had any experience bypassing ExtractingRequestHandler and simply managing Tika manually? I want to make a small modification to Tika to get and save additional data from my PDFs, but I have been procrastinating in no small part due to the unpleasant prospect of setting up a development

Re: Getting a list of matching terms and offsets

2016-06-06 Thread Justin Lee
something working. > > Ahmet > > > > > On Sunday, June 5, 2016 10:37 PM, Justin Lee > wrote: > Thanks, yea, I looked at debug query too. Unfortunately the output of > debug query doesn't quite do it. For example, if you use a wildcard query, > it will simp

Re: Getting a list of matching terms and offsets

2016-06-05 Thread Justin Lee
s of the matches. > Cannot find the example at the moment.. > > Ahmet > > > > On Sunday, June 5, 2016 9:10 PM, Justin Lee > wrote: > Thanks for the responses Alex and Ahmet. > > The TermVector component was the first thing I looked at, but what it gives > you i

Re: Getting a list of matching terms and offsets

2016-06-05 Thread Justin Lee
ewsletter and resources for Solr beginners and intermediates: > http://www.solr-start.com/ > > > > On 5 June 2016 at 07:39, Justin Lee wrote: > > Is anyone aware of a way of getting a list of each matching token and > their > > offsets after executing a search? The rea

Getting a list of matching terms and offsets

2016-06-04 Thread Justin Lee
Is anyone aware of a way of getting a list of each matching token and their offsets after executing a search? The reason I want to do this is because I have the physical coordinates of each token in the original document stored out of band, and I want to be able to highlight in the original docume