Exceptions during batch indexing

2014-11-06 Thread Peter Keegan
How are folks handling Solr exceptions that occur during batch indexing? Solr (4.6) stops parsing the docs stream when an error occurs (e.g. a doc with a missing mandatory field), and stops indexing. The bad document is not identified, so it would be hard for the client to recover by skipping over

How to find common terms between a input string and an indexed document?

2014-11-06 Thread Amir H. Jadidinejad
Hi,I have a Lucene index contains a collection of documents. For an input string segment (s) and a specific document in the index (d), I want to get the number of common terms between s and d.After searching the web, I found that I can extract all terms of d using "IndexReader.getTermVector" an

How to find common terms between a input string and an indexed document?

2014-11-06 Thread Amir H. Jadidinejad
Hi,I have a Lucene index contains a collection of documents. For an input string segment (s) and a specific document in the index (d), I want to get the number of common terms between s and d.After searching the web, I found that I can extract all terms of d using "IndexReader.getTermVector" and

Re: Lucene spatial for grid clusters

2014-11-06 Thread david.w.smi...@gmail.com
>From an API standpoint, I envision you would supply a rectangular region of interest and some means of specifying the resolution. It could be the so-called “grid level” in lucene spatial (1 is biggest most coarsest, larger numbers yield progressively smaller cells), or it might be expressed in te

Re: Lucene spatial for grid clusters

2014-11-06 Thread Shahak Nagiel
Thanks, David. In the meantime, care to share any thoughts about your planned implementation? On Thursday, November 6, 2014 8:11 AM, "david.w.smi...@gmail.com" wrote: FYI I plan to implement this in Lucene-spatial & Solr in January. ~ David Smiley Freelance Apache Lucene/Solr Search Co

Re: Lucene spatial for grid clusters

2014-11-06 Thread david.w.smi...@gmail.com
FYI I plan to implement this in Lucene-spatial & Solr in January. ~ David Smiley Freelance Apache Lucene/Solr Search Consultant/Developer http://www.linkedin.com/in/davidwsmiley On Wed, Nov 5, 2014 at 10:52 PM, Shahak Nagiel wrote: > I need a way to perform a spatial aggregation query against a

Re: how to ignore full stop for specific word

2014-11-06 Thread Paul Libbrecht
My trick would be to replace .net with dotNet (or use some funky Unicode-letter to replace the dot). If you use consistently the same analyzer-chain, then it will match cleanly. paul On 6 nov. 2014, at 12:42, Rajendra Rao wrote: > I have some word which contain full stop (.) itself ,examp

Fwd: how to ignore full stop for specific word

2014-11-06 Thread Rajendra Rao
Hello , I have some word which contain full stop (.) itself ,example is (1) .Net , asp.net .i want lucene consider it as a single word not full stop . how to achieve it. another problem is some word contain specific format like c# .lucene not searching this type of word. if word