[jira] Updated: (LUCENE-2280) IndexWriter.optimize() throws NullPointerException

2010-03-22 Thread Ritesh Nigam (JIRA)
. > IndexWriter.optimize() throws NullPointerException > -- > > Key: LUCENE-2280 > URL: https://issues.apache.org/jira/browse/LUCENE-2280 > Project: Lucene - Java > Issue Type: Bug

[jira] Commented: (LUCENE-2280) IndexWriter.optimize() throws NullPointerException

2010-03-22 Thread Ritesh Nigam (JIRA)
ve a look at that and let me know if anything else can be fine tuned. > IndexWriter.optimize() throws NullPointerException > -- > > Key: LUCENE-2280 > URL: https://issues.apache.org/jira

[jira] Commented: (LUCENE-2280) IndexWriter.optimize() throws NullPointerException

2010-03-19 Thread Michael McCandless (JIRA)
if i disable the optimize (remove the call to IndexWriter.optimize() from my code) will that create any problem in the long run? if yes what kind of problems it may create? Most apps never need to optimize. You should only optimize if your search performance is not good enough, and really, be

[jira] Commented: (LUCENE-2280) IndexWriter.optimize() throws NullPointerException

2010-03-19 Thread Ritesh Nigam (JIRA)
JRE bug, There are few points which i need some advise 1. To fix this issue if i disable the optimize (remove the call to IndexWriter.optimize() from my code) will that create any problem in the long run? if yes what kind of problems it may create? 2. Just by knowing the scenario, that aft

[jira] Commented: (LUCENE-2280) IndexWriter.optimize() throws NullPointerException

2010-03-18 Thread Michael McCandless (JIRA)
mmit() internally. Are you saying you see the same exception on 3.0, using the IBM JRE? Can you try with the Sun JRE? > IndexWriter.optimize() throws NullPointerException > -- > > Key: LUCENE-2280 > URL: https:

[jira] Commented: (LUCENE-2280) IndexWriter.optimize() throws NullPointerException

2010-03-18 Thread Michael McCandless (JIRA)
un) JRE. > IndexWriter.optimize() throws NullPointerException > -- > > Key: LUCENE-2280 > URL: https://issues.apache.org/jira/browse/LUCENE-2280 > Project: Lucene - Java > Issue Type: Bug

[jira] Commented: (LUCENE-2280) IndexWriter.optimize() throws NullPointerException

2010-03-18 Thread Ritesh Nigam (JIRA)
d as lucene.zip. > IndexWriter.optimize() throws NullPointerException > -- > > Key: LUCENE-2280 > URL: https://issues.apache.org/jira/browse/LUCENE-2280 > Project: Lucene - Java >

[jira] Updated: (LUCENE-2280) IndexWriter.optimize() throws NullPointerException

2010-03-17 Thread Ritesh Nigam (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ritesh Nigam updated LUCENE-2280: - Attachment: lucene.zip Lucene infostream log file. > IndexWriter.optimize() thr

[jira] Commented: (LUCENE-2280) IndexWriter.optimize() throws NullPointerException

2010-03-17 Thread Ritesh Nigam (JIRA)
r my application and index file got deleted, this time had turned on the infostream on for indexwriter, attaching the infostream log file. > IndexWriter.optimize() throws NullPointerException > -- > >

[jira] Commented: (LUCENE-2280) IndexWriter.optimize() throws NullPointerException

2010-03-08 Thread Michael McCandless (JIRA)
upgraded to the newer version of lucene, but probably i will try 3.0.0 version of lucene in future. OK. > IndexWriter.optimize() throws NullPointerException > -- > > Key: LUCENE-2280 >

Re: [jira] Commented: (LUCENE-2280) IndexWriter.optimize() throws NullPointerException

2010-03-08 Thread Erick Erickson
er version of lucene, but probably i will try > 3.0.0 version of lucene in future. > > > IndexWriter.optimize() throws NullPointerException > > -- > > > > Key: LUCENE-2280 > > URL: ht

[jira] Commented: (LUCENE-2280) IndexWriter.optimize() throws NullPointerException

2010-03-08 Thread Ritesh Nigam (JIRA)
n of lucene in future. > IndexWriter.optimize() throws NullPointerException > -- > > Key: LUCENE-2280 > URL: https://issues.apache.org/jira/browse/LUCENE-2280 > Project: Lucene -

[jira] Commented: (LUCENE-2280) IndexWriter.optimize() throws NullPointerException

2010-03-06 Thread Michael McCandless (JIRA)
FS of the segment flushed during close. Are you using autoCommit=true or false? The fact that this only happens on Windows is telling is there a virus checker running on this machine? It'd also be good to know if this still happens on newer versions of Lucene.

[jira] Commented: (LUCENE-2280) IndexWriter.optimize() throws NullPointerException

2010-03-03 Thread Ritesh Nigam (JIRA)
I am logging it in catch block and then finally closing the indexwriter. > IndexWriter.optimize() throws NullPointerException > -- > > Key: LUCENE-2280 > URL: https://issues.apache.org/jira

[jira] Commented: (LUCENE-2280) IndexWriter.optimize() throws NullPointerException

2010-02-24 Thread Michael McCandless (JIRA)
the latest updates to the IBM 1.6 JRE? > IndexWriter.optimize() throws NullPointerException > -- > > Key: LUCENE-2280 > URL: https://issues.apache.org/jira/browse/LUCENE-2280 > Pr

[jira] Updated: (LUCENE-2280) IndexWriter.optimize() throws NullPointerException

2010-02-24 Thread Ritesh Nigam (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ritesh Nigam updated LUCENE-2280: - Attachment: lucene.jar lucene.jar my application is using > IndexWriter.optimize() thr

[jira] Commented: (LUCENE-2280) IndexWriter.optimize() throws NullPointerException

2010-02-24 Thread Ritesh Nigam (JIRA)
sing for my application. > IndexWriter.optimize() throws NullPointerException > -- > > Key: LUCENE-2280 > URL: https://issues.apache.org/jira/browse/LUCENE-2280 > Project: Lucene - Java >

[jira] Commented: (LUCENE-2280) IndexWriter.optimize() throws NullPointerException

2010-02-24 Thread Ritesh Nigam (JIRA)
ce there is no index file exists after the NullPointerExcepton, I cannot run CheckIndex. Does this happen in a Sun JRE? - I have not yet tested the same scenario on Sun JRE till now. > IndexWriter.optimize() throws NullPointerException > -- > >

[jira] Commented: (LUCENE-2280) IndexWriter.optimize() throws NullPointerException

2010-02-23 Thread Michael McCandless (JIRA)
it uncovers. Does this happen in a Sun JRE? > IndexWriter.optimize() throws NullPointerException > -- > > Key: LUCENE-2280 > URL: https://issues.apache.org/jira/browse/LUCENE-2280 > Project: L

[jira] Created: (LUCENE-2280) IndexWriter.optimize() throws NullPointerException

2010-02-22 Thread Ritesh Nigam (JIRA)
IndexWriter.optimize() throws NullPointerException -- Key: LUCENE-2280 URL: https://issues.apache.org/jira/browse/LUCENE-2280 Project: Lucene - Java Issue Type: Bug Components: Index

[jira] Resolved: (LUCENE-1266) IndexWriter.optimize(boolean doWait) ignores doWait parameter

2008-04-18 Thread Michael McCandless (JIRA)
to 2.3.2 & 2.4. Thanks Grant! > IndexWriter.optimize(boolean doWait) ignores doWait parameter > - > > Key: LUCENE-1266 > URL: https://issues.apache.org/jira/browse/LUCENE-1266 >

[jira] Commented: (LUCENE-1266) IndexWriter.optimize(boolean doWait) ignores doWait parameter

2008-04-18 Thread Michael McCandless (JIRA)
#x27;ll fix it on 2.4 & 2.3.2. Thanks for catching this! > IndexWriter.optimize(boolean doWait) ignores doWait parameter > - > > Key: LUCENE-1266 > URL: https://issues.a

[jira] Assigned: (LUCENE-1266) IndexWriter.optimize(boolean doWait) ignores doWait parameter

2008-04-18 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless reassigned LUCENE-1266: -- Assignee: Michael McCandless > IndexWriter.optimize(boolean doWait) igno

[jira] Created: (LUCENE-1266) IndexWriter.optimize(boolean doWait) ignores doWait parameter

2008-04-17 Thread Grant Glouser (JIRA)
IndexWriter.optimize(boolean doWait) ignores doWait parameter - Key: LUCENE-1266 URL: https://issues.apache.org/jira/browse/LUCENE-1266 Project: Lucene - Java Issue Type: Bug

[jira] Resolved: (LUCENE-1014) IndexWriter.optimize() does not respect maxMergeDocs

2008-01-07 Thread Michael McCandless (JIRA)
o breaking backwards compatibility. If it's really important you can always create a custom MergePolicy which does respect maxMergeDocs during optimize. > IndexWriter.optimize() does not respect maxMergeDocs > > >

[jira] Updated: (LUCENE-1014) IndexWriter.optimize() does not respect maxMergeDocs

2007-11-14 Thread Michael McCandless (JIRA)
hould block 2.3. > IndexWriter.optimize() does not respect maxMergeDocs > > > Key: LUCENE-1014 > URL: https://issues.apache.org/jira/browse/LUCENE-1014 > Project: Lucene - Java >

[jira] Resolved: (LUCENE-1036) Unreleased 2.3 version of IndexWriter.optimize() consistly throws java.lang.IllegalArgumentException out-of-the-box

2007-11-07 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless resolved LUCENE-1036. Resolution: Fixed > Unreleased 2.3 version of IndexWriter.optimize() consis

[jira] Commented: (LUCENE-1036) Unreleased 2.3 version of IndexWriter.optimize() consistly throws java.lang.IllegalArgumentException out-of-the-box

2007-11-07 Thread Michael McCandless (JIRA)
is good to hear that the MAX_PRIORITY was in fact the issue. I committed the fix on 10/29 so you should be able to use any nightly build since then. > Unreleased 2.3 version of IndexWriter.optimize() consistly throws > java.lang.IllegalArgumentException out-of-t

[jira] Commented: (LUCENE-1036) Unreleased 2.3 version of IndexWriter.optimize() consistly throws java.lang.IllegalArgumentException out-of-the-box

2007-11-07 Thread R Giles (JIRA)
changed the priority of my thread from MAX_PRIORITY down to NORM_PRIORITY and my IndexWriter.optimize() step completes successfully. So your patch is probably correct. When will your patch be included in a nightly build? > Unreleased 2.3 version of IndexWriter.optimize() consistly thr

[jira] Updated: (LUCENE-1036) Unreleased 2.3 version of IndexWriter.optimize() consistly throws java.lang.IllegalArgumentException out-of-the-box

2007-10-29 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless updated LUCENE-1036: --- Fix Version/s: 2.3 > Unreleased 2.3 version of IndexWriter.optimize() consis

[jira] Commented: (LUCENE-1036) Unreleased 2.3 version of IndexWriter.optimize() consistly throws java.lang.IllegalArgumentException out-of-the-box

2007-10-29 Thread Michael McCandless (JIRA)
the issue here, but I'll leave this issue open for a while to hopefully hear confirmation back from the original poster... > Unreleased 2.3 version of IndexWriter.optimize() consistly throws > java.lang.IllegalArgumentException out

[jira] Updated: (LUCENE-1036) Unreleased 2.3 version of IndexWriter.optimize() consistly throws java.lang.IllegalArgumentException out-of-the-box

2007-10-26 Thread Michael McCandless (JIRA)
that fixes it. I also catch & ignore SecurityException coming out of mergeThread.setPriority since it's fine if we fail to set the thread's priority. > Unreleased 2.3 version of IndexWriter.optimize() consistly throws > java.lang.IllegalArgument

[jira] Commented: (LUCENE-1036) Unreleased 2.3 version of IndexWriter.optimize() consistly throws java.lang.IllegalArgumentException out-of-the-box

2007-10-26 Thread Michael McCandless (JIRA)
the thread priority of the threads spawned by ConcurrentMergeScheduler to 1+priority of calling thread. But, we fail to bounds check that this is <= MAX_PRIORITY. Are your calling threads being set to MAX_PRIORITY? > Unreleased 2.3 version of IndexWriter.optimize() consistly

[jira] Updated: (LUCENE-1036) Unreleased 2.3 version of IndexWriter.optimize() consistly throws java.lang.IllegalArgumentException out-of-the-box

2007-10-26 Thread R Giles (JIRA)
:commit point reached: 1250659 INFO:optimize index INFO: SEIndexThread(): java.lang.IllegalArgumentException > Unreleased 2.3 version of IndexWriter.optimize() consistly throws > java.lang.IllegalArgumentException out-of-t

[jira] Commented: (LUCENE-1036) Unreleased 2.3 version of IndexWriter.optimize() consistly throws java.lang.IllegalArgumentException out-of-the-box

2007-10-26 Thread Michael McCandless (JIRA)
2.3 version of IndexWriter.optimize() consistly throws > java.lang.IllegalArgumentException out-of-the-box > > > Key: LUCENE-1036 >

[jira] Commented: (LUCENE-1036) Unreleased 2.3 version of IndexWriter.optimize() consistly throws java.lang.IllegalArgumentException out-of-the-box

2007-10-26 Thread Michael McCandless (JIRA)
to combine indices in the end? > Unreleased 2.3 version of IndexWriter.optimize() consistly throws > java.lang.IllegalArgumentException out-of-the-box > > >

[jira] Commented: (LUCENE-1036) Unreleased 2.3 version of IndexWriter.optimize() consistly throws java.lang.IllegalArgumentException out-of-the-box

2007-10-26 Thread robert engels (JIRA)
of IndexWriter.optimize() consistly throws > java.lang.IllegalArgumentException out-of-the-box > > > Key: LUCENE-1036 > URL: https://issu

[jira] Created: (LUCENE-1036) Unreleased 2.3 version of IndexWriter.optimize() consistly throws java.lang.IllegalArgumentException out-of-the-box

2007-10-26 Thread R Giles (JIRA)
Unreleased 2.3 version of IndexWriter.optimize() consistly throws java.lang.IllegalArgumentException out-of-the-box Key: LUCENE-1036 URL: https

[jira] Created: (LUCENE-1014) IndexWriter.optimize() does not respect maxMergeDocs

2007-10-01 Thread Michael McCandless (JIRA)
IndexWriter.optimize() does not respect maxMergeDocs Key: LUCENE-1014 URL: https://issues.apache.org/jira/browse/LUCENE-1014 Project: Lucene - Java Issue Type: Bug Components

IndexWriter.optimize()

2006-05-30 Thread Ngo, Anh \(ISS Southfield\)
Hello All, I am new to Java Lucene Api. I am writing a heavy test for lucene java api. The test is to write text data to disk and also create a lucene index for it. Everytime, I write index file, I do the following: org.apache.lucene.index.IndexWriter writer = new org.apache.lucene.index.IndexW