writer.updateDocument() not working (possible bug?)

2014-05-15 Thread Jamie
Greetings I am using Lucene NRT search. After calling writer.updateDocument(term, doc) and then search(), the document is no longer visible in the search results. The program must be restarted to see it again. In addition, the update is not being applied. The original document (before the upda

AW: [lucene 4.6] NPE when calling IndexReader#openIfChanged

2014-05-15 Thread Clemens Wyss DEV
Tackled this down a little bit more: Lucene40LiveDocsFormat#readLiveDocs calls IndexFileNames#fileNameForGeneration If I get this right, param 'gen' seems to be -1. Gen is being gathered from SegmentCommitInfo#getDelGen What does "delGen == -1" mean? -Ursprüngliche Nachricht- Von: Clemens

Re: How to add machine learning to Apache lucene

2014-05-15 Thread Ahmet Arslan
Hi Priyanka, There are existing tools that can feed from lucene index. For example http://mahout.apache.org Why not use them? Ahmet On Wednesday, May 7, 2014 11:05 PM, Priyanka Tufchi wrote: Hello All How can I add Maching Learning Part in Apache Lucene . Thanks Priyanka -

Re: How to add machine learning to Apache lucene

2014-05-15 Thread Furkan KAMACI
Hi; Could you explain what you need a bit more? Thanks; Furkan KAMACI 7 May 2014 23:05 tarihinde "Priyanka Tufchi" yazdı: > Hello All > > How can I add Maching Learning Part in Apache Lucene . > > > Thanks > Priyanka >

Re: How to locate a Phrase inside text (like a Browser text searcher)

2014-05-15 Thread teko
*Emanuel Buzek, Can you explain how you use NGram?? Did you create a Analyzer? is it?? Sorry, but, I really don't have a great knowledge about Lucene... Thank advance! -- View this message in context: http://lucene.472066.n3.nabble.com/SOLVED-How-to-locate-a-Phrase-inside-text-like-a-Browser-

best choice for ramBufferSizeMB

2014-05-15 Thread Gudrun Siedersleben
Hi all, we want to speed up building our lucene index. We set ramBufferSize to some values between 32 and 128 MB, but that does not make any difference concerning the time used for reindexing. We did not set maxBufferedDocs, .. which could conflict. We start the JVM with the following JAVA_OPT

Re: Lucene: Index Writer to write in multiple file instead make one heavy file

2014-05-15 Thread Michael McCandless
Just don't call optimize... In theory, you could make a custom Directory impl that would split a single large file (from Lucene's standpoint) into multiple OS files, but this ... would be a lot of work. It's simpler to just not optimize. Mike McCandless http://blog.mikemccandless.com On Wed,

Re: Lucene: Index Writer to write in multiple file instead make one heavy file

2014-05-15 Thread Yogesh patel
In my case, it creates CFS(Compound File) As 10 GB. Can we split that file while optimize or writing index. Thanks On Wed, May 14, 2014 at 7:38 PM, Yogesh patel wrote: > Thanks for reply!!! > > Can you please provide me sample code for it? I got the idea but i dont > know how to impleme

Re: ConcurrentModificationException in ICU analyzer

2014-05-15 Thread Robert Muir
This looks like a bug in ICU? I'll try to reproduce it. We are also a little out of date, maybe they've already fixed it. Thank you for reporting this. On Fri, May 9, 2014 at 12:14 PM, feedly team wrote: > I am using the 4.7.0 ICU analyzer (via elastic search) and noticed this > exception in the