How to improve indexing performance for lucene 6

2016-06-14 Thread Mukul Ranjan
); Can we further decrease the indexing time? Can you provide the pinpoint areas where we can focus to decrease the indexing time. Thanks, Mukul Ranjan Visit eGain on YouTube<https://www.youtube.com/user/egainchannel> and LinkedIn<https://www.linkedin.com/company/egain-corporation>

Getting exception while initializing FSDirectory

2016-06-15 Thread Mukul Ranjan
at java.lang.invoke.MethodHandles$Lookup.linkMethodHandleConstant(MethodHandles.java:1746) <@> at java.lang.invoke.MethodHandleNatives.linkMethodHandleConstant(MethodHandleNatives.java:477) <@> can anybody help to resolve this issue? Thanks, Mukul Ranjan Visit eGain on YouTube

LockFactory issue observed in lucene while getting instance of indexWriter

2016-06-16 Thread Mukul Ranjan
Hi, I'm observing below exception while getting instance of indexWriter- java.lang.IllegalArgumentException: Directory MMapDirectory@"directoryName" lockFactory=org.apache.lucene.store.NativeFSLockFactory@1ec79746 still has pending deleted files; cannot initialize IndexWriter Is it related to

RE: LockFactory issue observed in lucene while getting instance of indexWriter

2016-06-16 Thread Mukul Ranjan
McCandless [mailto:luc...@mikemccandless.com] Sent: Thursday, June 16, 2016 10:22 PM To: Lucene Users ; Mukul Ranjan Subject: Re: LockFactory issue observed in lucene while getting instance of indexWriter Are you running on Windows? This is not a LockFactory issue ... it's likely caused be

RE: LockFactory issue observed in lucene while getting instance of indexWriter

2016-06-16 Thread Mukul Ranjan
Hi Mike, Yes, we are getting indexReader instance from the active Directory. We are using MultiReader to obtain instance of indexSearcher. Thanks, Mukul From: Michael McCandless [mailto:luc...@mikemccandless.com] Sent: Friday, June 17, 2016 12:56 AM To: Mukul Ranjan Cc: Lucene Users Subject

Issue observed while releasing searcher from SearcherManager for MultiSearcher

2016-06-30 Thread Mukul Ranjan
chables[i].releaseSearcher(tempSearchers[i]); } catch (IOException e) { mLogger.logException(Level.ERROR, callerContext, mSrcInfo, "Falied to release searcher ", e); } } Do you think it's right way to use MultiSearcher? If not, please suggest a way to use MultiSearcher. Thanks, M

get enumeration of all terms starting at a given term after lucene 4

2016-07-28 Thread Mukul Ranjan
of the field which is used to get the matching result. Terms terms = MultiFields.getTerms(reader, TEXT_FIELD); TermsEnum termsEnum = terms.iterator(); Can anyone help me on this. Thanks, Mukul Ranjan ___ Watch an eGain Customer Service Transformation<https://www.youtube.com/watch?v=dEwdFfWo

RE: get enumeration of all terms starting at a given term after lucene 4

2016-07-28 Thread Mukul Ranjan
Bowyer [mailto:gbow...@fastmail.co.uk] Sent: Friday, July 29, 2016 12:27 AM To: java-user@lucene.apache.org Subject: Re: get enumeration of all terms starting at a given term after lucene 4 I am confused by your example, MultiFields.get allows you to ask for a specific field. On Thu, Jul 28, 2016, at 09:00 AM

RE: get enumeration of all terms starting at a given term after lucene 4

2016-07-29 Thread Mukul Ranjan
given term after lucene 4 On 07/29/2016 08:27 AM, Mukul Ranjan wrote: > lucene version from lucene 3.6 to lucene 5.5.2. After 3.6, > >indexReader terms api is removed which used to give list of terms. > >I have used below code to get the termEnum, but it has no option to > >

RE: get enumeration of all terms starting at a given term after lucene 4

2016-07-29 Thread Mukul Ranjan
Thanks Parit!!! I will try the below solution. Thanks, Mukul Ranjan -Original Message- From: Parit Bansal [mailto:Parit.Bansal@sib.swiss] Sent: Friday, July 29, 2016 7:11 PM To: java-user@lucene.apache.org Subject: Re: get enumeration of all terms starting at a given term after lucene

Increase in ByteBufferImpl class heap size in longevity run

2016-12-02 Thread Mukul Ranjan
to day4 for this class. We were adding some document in indexing in parallel. But we do not excepted to increase in size of this class that much. Please suggest if this is expected behaviour or we are missing something in our code. Thanks, Mukul Ranjan - Watch an eGain Try+Buy(tm) customer

CompressingStoredFieldReader object taking lot of heap space

2016-12-21 Thread Mukul Ranjan
Could you please confirm if this is the normal behaviour or there is some issue with the code. Thanks, Mukul Ranjan - Watch an eGain Try+Buy(tm) customer success video<https://www.youtube.com/watch?v=ewEeyeqJRCE&feature=youtu.be/>

RE: CompressingStoredFieldReader object taking lot of heap space

2016-12-21 Thread Mukul Ranjan
Hi Adrien, Could you please explain the 2nd point in detail? Thanks, Mukul Ranjan -Original Message- From: Adrien Grand [mailto:jpou...@gmail.com] Sent: Wednesday, December 21, 2016 6:43 PM To: java-user@lucene.apache.org Subject: Re: CompressingStoredFieldReader object taking lot of

RE: CompressingStoredFieldReader object taking lot of heap space

2016-12-23 Thread Mukul Ranjan
Thanks Adrien for quick reply! We use jboss app server to handle application level threads. Thanks, Mukul Ranjan From: Adrien Grand [mailto:jpou...@gmail.com] Sent: Friday, December 23, 2016 6:33 PM To: Mukul Ranjan ; Lucene Users Mailing List Subject: Re: CompressingStoredFieldReader object