Solr Replication during Tomcat shutdown causes shutdown to hang/fail

2014-10-02 Thread Phil Black-Knight
Sorry to provide a link rather than reply to an email from the mailing list, but I joined late, and can't seem to figure out a sane way to reply to the original message... At any rate, I was helping to look into this issue with Solr Replacation blocking a clean tomcat shutdown, see the original

Re: Does StandardTokenizer remove punctuation (in Lucene 4.1)

2014-10-02 Thread Steve Rowe
Paul, You should also check out ICUTokenizer/DefaultICUTokenizerConfig, which adds better handling for some languages to UAX#29 Word Break rules conformance, and also finds token boundaries when the writing system (aka script) changes. This is intended to be extensible per script. The root

How to register new codec with sspi?

2014-10-02 Thread mmastroianni
I added a new codec that just uses FilterCodec and Lucene42Codec, and overrides so that I get a MemoryPostingsFormat for a field called primary_key as follows: package com.myCompany.search; import org.apache.lucene.codecs.FilterCodec; import org.apache.lucene.codecs.PostingsFormat; import

Lucene Java Caching Question

2014-10-02 Thread parth_n
Hi everyone, I am using a Lucene application from a JAVA IDE. I have this following scenario: I run my java application (set of spatial queries) to get the execution time and results for the queries. The application is terminated. Whenever I re-run the application with the same set of queries,

Lucene Spatial Question: Is there a primary and a secondary filter?

2014-10-02 Thread parth_n
Hi everyone, I have a Lucene Spatial code where I query (bounding box) the given data. Does Lucene have a primary and a secondary filter (like MS SQL or PostGIS) (where the primary filter returns the regions in the index to be looked at, and the secondary filter removes the false positives in

RE: Lucene Java Caching Question

2014-10-02 Thread Toke Eskildsen
parth_n [nagar...@asu.edu] wrote: I run my java application (set of spatial queries) to get the execution time and results for the queries. The application is terminated. Whenever I re-run the application with the same set of queries, the execution time is very low comparative to the first

NoClassDefFoundError for EarlyTerminatingSortingCollector

2014-10-02 Thread Cheng
Hi all, I am using the following simple code, which led to NoClassDefFoundError for EarlyTerminatingSortingCollector. Any one can help? Thanks. RAMDirectory index_dir = new RAMDirectory(); Analyzer analyzer = new StandardAnalyzer(); AnalyzingInfixSuggester suggester = new

Re: Lucene Spatial Question: Is there a primary and a secondary filter?

2014-10-02 Thread david.w.smi...@gmail.com
Hi Parth, Since Lucene 4.7 spatial, there is a “SerializedDVStrategy” for serialized geometries. It’s used as a second-pass after RPT (or perhaps BBoxStrategy). There was a presentation at FOSS4G about it (I was there and helped with this one too): http://vimeo.com/106843184 There’s a small

SpanTermQuery Issue

2014-10-02 Thread Xu Chu
Hi everyone In the following piece of code, Query test1 returns result, while Query test2 does not return result!! Obviously “Toronto” is appearing in the doc. Can any one tell me what’s wrong? Thanks private static void testRAMSpam() throws IOException {