[jira] Commented: (LUCENE-1726) IndexWriter.readerPool create new segmentReader outside of sync block

2009-07-13 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12730272#action_12730272 ] Michael McCandless commented on LUCENE-1726: {quote} I haven't really figured

[jira] Resolved: (LUCENE-1740) Lucli: Command to change the Analyzer

2009-07-13 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless resolved LUCENE-1740. Resolution: Fixed I just committed this. Thanks Bernd! Lucli: Command to

Re: Relevance's scores on TopFieldCollector/FieldComparator

2009-07-13 Thread Michael McCandless
It's odd that this was necessary. The ScoreCachingWrapperScorer simply wraps (and caches) the result from calling score(), per hit, so that if score() is called more than once we don't have to re-compute it. I don't understand why you were always seeing 0 score come back from it. Mike On Thu,

[jira] Assigned: (LUCENE-1566) Large Lucene index can hit false OOM due to Sun JRE issue

2009-07-13 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless reassigned LUCENE-1566: -- Assignee: Simon Willnauer (was: Michael McCandless) Assigning this one back

[jira] Commented: (LUCENE-1678) Deprecate Analyzer.tokenStream

2009-07-13 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12730303#action_12730303 ] Uwe Schindler commented on LUCENE-1678: --- Your solution is also cool, to fix the last

[jira] Commented: (LUCENE-1693) AttributeSource/TokenStream API improvements

2009-07-13 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12730306#action_12730306 ] Uwe Schindler commented on LUCENE-1693: --- Mike implemented a nice idea to solve the

[jira] Created: (LUCENE-1741) Make MMapDirectory.MAX_BBUF user configureable to support chunking the index files in smaller parts

2009-07-13 Thread Uwe Schindler (JIRA)
Make MMapDirectory.MAX_BBUF user configureable to support chunking the index files in smaller parts --- Key: LUCENE-1741 URL:

[jira] Updated: (LUCENE-1741) Make MMapDirectory.MAX_BBUF user configureable to support chunking the index files in smaller parts

2009-07-13 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-1741: -- Attachment: LUCENE-1741.patch Patch that allows configuration of chunk size. I will commit in

[jira] Updated: (LUCENE-1741) Make MMapDirectory.MAX_BBUF user configureable to support chunking the index files in smaller parts

2009-07-13 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-1741: -- Fix Version/s: (was: 3.1) 2.9 Make MMapDirectory.MAX_BBUF user

[jira] Commented: (LUCENE-1741) Make MMapDirectory.MAX_BBUF user configureable to support chunking the index files in smaller parts

2009-07-13 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12730368#action_12730368 ] Michael McCandless commented on LUCENE-1741: Should we default the chunking

[jira] Commented: (LUCENE-1741) Make MMapDirectory.MAX_BBUF user configureable to support chunking the index files in smaller parts

2009-07-13 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12730373#action_12730373 ] Uwe Schindler commented on LUCENE-1741: --- Good idea. Do we have still this 64bit

[jira] Updated: (LUCENE-1741) Make MMapDirectory.MAX_BBUF user configureable to support chunking the index files in smaller parts

2009-07-13 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-1741: -- Attachment: LUCENE-1741.patch Attached is a patch using the JRE_IS_64BIT in Constants. I set

Re: [jira] Updated: (LUCENE-1741) Make MMapDirectory.MAX_BBUF user configureable to support chunking the index files in smaller parts

2009-07-13 Thread eks dev
I have no test data which size is good, it is just trying out Sure, for this you need bad OS and large index, you are not as lucky as I am to have it :) Anyhow, I would argument against default value. An algorithm is quite simple, if you hit OOM on map(), reduce this value until it fits :)

[jira] Commented: (LUCENE-1741) Make MMapDirectory.MAX_BBUF user configureable to support chunking the index files in smaller parts

2009-07-13 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12730378#action_12730378 ] Michael McCandless commented on LUCENE-1741: Patch looks good! Make

[jira] Commented: (LUCENE-1726) IndexWriter.readerPool create new segmentReader outside of sync block

2009-07-13 Thread Jason Rutherglen (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12730424#action_12730424 ] Jason Rutherglen commented on LUCENE-1726: -- I was thinking the sync on all of

[jira] Updated: (LUCENE-1712) Set default precisionStep for NumericField and NumericRangeFilter

2009-07-13 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-1712: -- Attachment: LUCENE-1712.patch Attached is a patch with the default precisionStep of 4. The

[jira] Commented: (LUCENE-1712) Set default precisionStep for NumericField and NumericRangeFilter

2009-07-13 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12730538#action_12730538 ] Michael McCandless commented on LUCENE-1712: Patch looks good Uwe! Set

[jira] Commented: (LUCENE-1741) Make MMapDirectory.MAX_BBUF user configureable to support chunking the index files in smaller parts

2009-07-13 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12730543#action_12730543 ] Uwe Schindler commented on LUCENE-1741: --- Eks Dev wrote in java-dev: bq. I have no

[jira] Commented: (LUCENE-1741) Make MMapDirectory.MAX_BBUF user configureable to support chunking the index files in smaller parts

2009-07-13 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12730547#action_12730547 ] Uwe Schindler commented on LUCENE-1741: --- OK, we have two patches, we can think about

[jira] Commented: (LUCENE-1741) Make MMapDirectory.MAX_BBUF user configureable to support chunking the index files in smaller parts

2009-07-13 Thread Paul Smith (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12730551#action_12730551 ] Paul Smith commented on LUCENE-1741: An algorithm is nice if there are no specific

[jira] Commented: (LUCENE-1741) Make MMapDirectory.MAX_BBUF user configureable to support chunking the index files in smaller parts

2009-07-13 Thread Eks Dev (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12730560#action_12730560 ] Eks Dev commented on LUCENE-1741: - Uwe, you convinced me, I looked at the code, and

[jira] Commented: (LUCENE-1741) Make MMapDirectory.MAX_BBUF user configureable to support chunking the index files in smaller parts

2009-07-13 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12730580#action_12730580 ] Michael McCandless commented on LUCENE-1741: I'd be more comfortable w/ 256 MB

[jira] Commented: (LUCENE-1741) Make MMapDirectory.MAX_BBUF user configureable to support chunking the index files in smaller parts

2009-07-13 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12730590#action_12730590 ] Uwe Schindler commented on LUCENE-1741: --- Javadocs state (in FileChannel#map): For

Lucene contrib build failing on jdk 1.4

2009-07-13 Thread Adriano Crestani
Hi, I checked out Lucene java trunk and ran build-contrib. When I run using Sun JDK 1.6.0_07 it builds successfully, but using Sun JDK 1.4.2_19 I get the error below. Am I doing something wrong? Thanks in advance, Adriano Crestani Campos ... build-artifacts-and-tests: bdb: BUILD FAILED

[jira] Updated: (LUCENE-1567) New flexible query parser

2009-07-13 Thread Adriano Crestani (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adriano Crestani updated LUCENE-1567: - Attachment: lucene_1567_adriano_crestani_07_13_2009.patch Hey guys, Here is a patch

[jira] Commented: (LUCENE-1567) New flexible query parser

2009-07-13 Thread Adriano Crestani (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12730627#action_12730627 ] Adriano Crestani commented on LUCENE-1567: -- Ah, I also couldn't run ant

Re: Lucene contrib build failing on jdk 1.4

2009-07-13 Thread Mark Miller
Hey Adriano, Only core is fully 1.4. To build all of contrib you must use at least java 1.5. If you want to build a contrib that is supposed to 1.4 with 1.4, use the individual build file for that contrib. -- - Mark http://www.lucidimagination.com On Mon, Jul 13, 2009 at 7:44 PM, Adriano

[jira] Created: (LUCENE-1742) Wrap SegmentInfos in public class

2009-07-13 Thread Jason Rutherglen (JIRA)
Wrap SegmentInfos in public class -- Key: LUCENE-1742 URL: https://issues.apache.org/jira/browse/LUCENE-1742 Project: Lucene - Java Issue Type: Improvement Reporter: Jason Rutherglen Wrap

[jira] Updated: (LUCENE-1742) Wrap SegmentInfos in public class

2009-07-13 Thread Jason Rutherglen (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Rutherglen updated LUCENE-1742: - Component/s: Index Fix Version/s: 3.0 Priority: Trivial

Re: Lucene contrib build failing on jdk 1.4

2009-07-13 Thread Adriano Crestani
Hi Mark, Thanks for the explanation, it makes sense now : ) Adriano Crestani Campos On Mon, Jul 13, 2009 at 5:41 PM, Mark Miller markrmil...@gmail.com wrote: Hey Adriano, Only core is fully 1.4. To build all of contrib you must use at least java 1.5. If you want to build a contrib that is

[jira] Commented: (LUCENE-1742) Wrap SegmentInfos in public class

2009-07-13 Thread Jason Rutherglen (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12730640#action_12730640 ] Jason Rutherglen commented on LUCENE-1742: -- In order for this class to be

[jira] Commented: (LUCENE-1567) New flexible query parser

2009-07-13 Thread Adriano Crestani (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12730641#action_12730641 ] Adriano Crestani commented on LUCENE-1567: -- {quote} Ah, I also couldn't run ant

[jira] Updated: (LUCENE-1742) Wrap SegmentInfos in public class

2009-07-13 Thread Jason Rutherglen (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Rutherglen updated LUCENE-1742: - Attachment: LUCENE-1742.patch After looking at it, I wasn't sure why we couldn't simply

[jira] Commented: (LUCENE-1567) New flexible query parser

2009-07-13 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12730653#action_12730653 ] Mark Miller commented on LUCENE-1567: - Hang on a sec - it sounds like the target was

[jira] Commented: (LUCENE-1566) Large Lucene index can hit false OOM due to Sun JRE issue

2009-07-13 Thread Thulasi Ram Naidu P (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12730704#action_12730704 ] Thulasi Ram Naidu P commented on LUCENE-1566: - any temporary solution for this