Re: no concurrent merging?

2016-08-09 Thread Yonik Seeley
On Thu, Aug 4, 2016 at 9:35 AM, Michael McCandless wrote: > Lucene's merging is concurrent, but Solr unfortunately uses > UninvertingReader on each DBQ ... I'm not sure why. It looks like DeleteByQueryWrapper was added by https://issues.apache.org/jira/browse/LUCENE-5666 But other than perhaps c

Re: encoding in byteref?

2016-08-09 Thread Michael McCandless
It's best to index numeric using the new dimensional points, e.g. IntPoint. Mike McCandless http://blog.mikemccandless.com On Tue, Aug 9, 2016 at 10:12 AM, Cristian Lorenzetto < cristian.lorenze...@gmail.com> wrote: > how to encode a short or a byte type in byteRef in lucene 6.1? >

Re: Newbie Questions

2016-08-09 Thread lukes
Thanks for the reply. Is there a way to partially update the document ? I know there's a API updateDocument on IndexWriter, but that seems to create a new document with just a field i am specifying. What i want is delete some fields from existing(indexed) document, and then add some new fields(c

"input" parameter in src\lucene\analysis\common\src\java\org\apache\lucene\analysis\standard\ClassicTokenizer.java

2016-08-09 Thread Christopher
On line 114, in the init() method, a ClassicTokenizerImpl object is created, but the constructor is passed a parameter called input. Where does this variable come from? It doesn't seem to be declared anywhere in the java file.

Re: Newbie Questions

2016-08-09 Thread Bauer, Herbert S. (Scott)
You might start here: http://lucene.apache.org/core/6_1_0/core/org/apache/lucene/index/IndexWrite r.html On 8/8/16, 8:17 PM, "lukes" wrote: >Can anyone please reply ? . > >Regards. > > > >-- >View this message in context: >http://lucene.472066.n3.nabble.com/Newbie-Questions-tp4290817p4290854.

Lucene 4.7 fetching facet values for a single document

2016-08-09 Thread Stefán Baxter
Hi, I'm indexing documents using FacetFeilds, FacetsConfig, TaxonomyWriter etc. and all is good, including faceted search, but I do not seem to be able to get the values for the faceted fields for a single document by any means. Can someone please point me to an example that show hot to retrieve

encoding in byteref?

2016-08-09 Thread Cristian Lorenzetto
how to encode a short or a byte type in byteRef in lucene 6.1?

Lucene 4.7 fetching facet values for a single document

2016-08-09 Thread Stefán Baxter
Hi, I'm indexing documents using FacetFeilds, FacetsConfig, TaxonomyWriter etc. and all is good, including faceted search, but I do not seem to be able to get the values for the faceted fields for a single document by any means. Can someone please point me to an example that show hot to retrieve

Re: Segment Corruption - ForUtil.readBlock AIOBE

2016-08-09 Thread Ravikumar Govindarajan
Ran CheckIndex and it reported fine... Little bit of digging and found issue in application code. We cache few data-blocks returned from IndexInput & there was an issue in reading with that. Corrected it now & things are running fine... Apologies for the false alarm -- Ravi On Mon, Aug 8, 2016