RE: Lucene 2.9 and deprecated IR.open() methods

2009-10-05 Thread Uwe Schindler
On Sun, Oct 04, 2009 at 05:53:14AM -0400, Michael McCandless wrote: 1 Do we prevent config settings from changing after creating an IW/IR? Any settings conveyed via a settings object ought to be final if you want pluggable index components. Otherwise, you need some nightmarish

RE: Lucene 2.9 and deprecated IR.open() methods

2009-10-05 Thread Uwe Schindler
On Sun, Oct 04, 2009 at 05:53:14AM -0400, Michael McCandless wrote: 1 Do we prevent config settings from changing after creating an IW/IR? Any settings conveyed via a settings object ought to be final if you want pluggable index components. Otherwise, you need some

Re: Lucene 2.9 and deprecated IR.open() methods

2009-10-05 Thread Marvin Humphrey
On Mon, Oct 05, 2009 at 08:27:20AM +0200, Uwe Schindler wrote: Pass a Properties or MapString,? to the ctor/open. The keys are predefined constants. Maybe our previous idea of an IndexConfiguration class is a subclass of HashMapString,? with all the constants and some easy-to-use setter

RE: Lucene 2.9 and deprecated IR.open() methods

2009-10-05 Thread Uwe Schindler
Hi Marvin, Property names are always String, values any type (therefore MapString,?). With Java 5, integer props and so on are no bad syntax problem because of autoboxing (no need to pass new Integer() or Integer.valueOf()). Argument validation gets to be a headache when you pass

Re: Lucene 2.9 and deprecated IR.open() methods

2009-10-05 Thread Earwin Burrfoot
On Mon, Oct 5, 2009 at 12:01, Uwe Schindler u...@thetaphi.de wrote: Hi Marvin, Property names are always String, values any type (therefore MapString,?). With Java 5, integer props and so on are no bad syntax problem because of autoboxing (no need to pass new Integer() or

RE: Lucene 2.9 and deprecated IR.open() methods

2009-10-05 Thread Uwe Schindler
See my second mail. The recently introduced Attributes and AttributeSource would solve this. Each component just defines its attribute interface and impl class and you pass in an AttributeSource as configuration. Then you can do: AttributeSource cfg = new AttributeSource();

[jira] Commented: (LUCENE-1257) Port to Java5

2009-10-05 Thread Karl Wettin (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12762131#action_12762131 ] Karl Wettin commented on LUCENE-1257: - bq. err... looks like perhaps its only hit once

Re: Lucene 2.9 and deprecated IR.open() methods

2009-10-05 Thread Michael McCandless
I think AS is overkill for conveying configuration of IW/IR? Suddenly, instead of: cfg.setRAMBufferSizeMB(128.0) I'd have to do something like this? cfg.addAttribute(IndexWriterRAMBufferSizeAttribute.class).setRAMBufferSize(128.0) It's too cumbersome, I think, for something that ought to

[jira] Updated: (LUCENE-1458) Further steps towards flexible indexing

2009-10-05 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless updated LUCENE-1458: --- Attachment: LUCENE-1458.tar.bz2 LUCENE-1458-back-compat.patch New

RE: Lucene 2.9 and deprecated IR.open() methods

2009-10-05 Thread Uwe Schindler
Hi Mike, I think AS is overkill for conveying configuration of IW/IR? Suddenly, instead of: cfg.setRAMBufferSizeMB(128.0) I'd have to do something like this? cfg.addAttribute(IndexWriterRAMBufferSizeAttribute.class).setRAMBufferSize (128.0) It's too cumbersome, I think, for

Re: Lucene 2.9 and deprecated IR.open() methods

2009-10-05 Thread Mark Miller
Michael McCandless wrote: I think AS is overkill for conveying configuration of IW/IR? Suddenly, instead of: cfg.setRAMBufferSizeMB(128.0) I'd have to do something like this? cfg.addAttribute(IndexWriterRAMBufferSizeAttribute.class).setRAMBufferSize(128.0) It's too cumbersome, I

Re: Lucene 2.9 and deprecated IR.open() methods

2009-10-05 Thread Earwin Burrfoot
I think AS is overkill for conveying configuration of IW/IR? Agree. It's too cumbersome, I think, for something that ought to be simple. I'd prefer a dedicated config class with strongly typed setters exposed.  Of all the pure syntax options so far I'd still prefer the traditional config

[jira] Commented: (LUCENE-1458) Further steps towards flexible indexing

2009-10-05 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12762203#action_12762203 ] Yonik Seeley commented on LUCENE-1458: -- Sounding cool! I haven't had time to look at

[jira] Commented: (LUCENE-1458) Further steps towards flexible indexing

2009-10-05 Thread John Wang (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12762224#action_12762224 ] John Wang commented on LUCENE-1458: --- Hi Yonik: These are indeed useful features.

[jira] Closed: (LUCENE-1939) IndexOutOfBoundsException at ShingleMatrixFilter's Iterator#hasNext method

2009-10-05 Thread Karl Wettin (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Karl Wettin closed LUCENE-1939. --- Resolution: Fixed Fix Version/s: 3.0 Committed in 821888. Thanks Patrick! (I'll consider

[jira] Created: (LUCENE-1947) Snowball package contains BSD licensed code with ASL header

2009-10-05 Thread Karl Wettin (JIRA)
Snowball package contains BSD licensed code with ASL header --- Key: LUCENE-1947 URL: https://issues.apache.org/jira/browse/LUCENE-1947 Project: Lucene - Java Issue Type: Task

[jira] Updated: (LUCENE-1947) Snowball package contains BSD licensed code with ASL header

2009-10-05 Thread Karl Wettin (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Karl Wettin updated LUCENE-1947: Attachment: LUCENE-1947.patch Snowball package contains BSD licensed code with ASL header

[jira] Created: (LUCENE-1948) Deprecating InstantiatedIndexWriter

2009-10-05 Thread Karl Wettin (JIRA)
Deprecating InstantiatedIndexWriter --- Key: LUCENE-1948 URL: https://issues.apache.org/jira/browse/LUCENE-1948 Project: Lucene - Java Issue Type: Task Components: contrib/* Affects Versions:

[jira] Updated: (LUCENE-1948) Deprecating InstantiatedIndexWriter

2009-10-05 Thread Karl Wettin (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Karl Wettin updated LUCENE-1948: Attachment: LUCENE-1948.patch Deprecating InstantiatedIndexWriter

[jira] Commented: (LUCENE-1947) Snowball package contains BSD licensed code with ASL header

2009-10-05 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12762253#action_12762253 ] Mark Miller commented on LUCENE-1947: - bq. I suppose this a misstake or possible due

[jira] Issue Comment Edited: (LUCENE-1947) Snowball package contains BSD licensed code with ASL header

2009-10-05 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12762253#action_12762253 ] Mark Miller edited comment on LUCENE-1947 at 10/5/09 9:48 AM: --

Re: [jira] Created: (LUCENE-1948) Deprecating InstantiatedIndexWriter

2009-10-05 Thread DM Smith
On 10/05/2009 12:22 PM, Karl Wettin (JIRA) wrote: Deprecating InstantiatedIndexWriter --- Key: LUCENE-1948 URL: https://issues.apache.org/jira/browse/LUCENE-1948 Project: Lucene - Java Issue Type: Task

Re: Lucene 2.9 and deprecated IR.open() methods

2009-10-05 Thread Michael Busch
I think we shouldn't discuss too many different things here. To begin I'd just like to introduce the IndexConfig class, that will hold the parameters we currently pass to the different IndexWriter constructors. If we later need to create different IndexWriter impls we can introduce a

[jira] Commented: (LUCENE-1636) TokenFilters with a null value in the constructor fail

2009-10-05 Thread Mark Bennett (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12762281#action_12762281 ] Mark Bennett commented on LUCENE-1636: -- (trouble posting, forgive if duplicate) This

[jira] Commented: (LUCENE-1458) Further steps towards flexible indexing

2009-10-05 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12762282#action_12762282 ] Michael McCandless commented on LUCENE-1458: bq. 1) How many terms in a field?

[jira] Commented: (LUCENE-1947) Snowball package contains BSD licensed code with ASL header

2009-10-05 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12762284#action_12762284 ] Mark Miller commented on LUCENE-1947: - We should actually add a comment in the files

[jira] Commented: (LUCENE-1910) Extension to MoreLikeThis to use tag information

2009-10-05 Thread Mark Harwood (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12762290#action_12762290 ] Mark Harwood commented on LUCENE-1910: -- 2 minutes to create a query based on 10,000

[jira] Commented: (LUCENE-1458) Further steps towards flexible indexing

2009-10-05 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12762292#action_12762292 ] Yonik Seeley commented on LUCENE-1458: -- bq. I agree this would be useful. I did have

[jira] Commented: (LUCENE-1698) Change backwards-compatibility policy

2009-10-05 Thread Michael Busch (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12762329#action_12762329 ] Michael Busch commented on LUCENE-1698: --- Now that 2.9 is out and 3.0 is close, I'd

[jira] Commented: (LUCENE-1946) Remove deprecated TokenStream API

2009-10-05 Thread Michael Busch (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12762330#action_12762330 ] Michael Busch commented on LUCENE-1946: --- In case the change in our

[jira] Commented: (LUCENE-1946) Remove deprecated TokenStream API

2009-10-05 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12762375#action_12762375 ] Uwe Schindler commented on LUCENE-1946: --- I already promoted (and also Grant in his

[jira] Commented: (LUCENE-1946) Remove deprecated TokenStream API

2009-10-05 Thread Michael Busch (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12762386#action_12762386 ] Michael Busch commented on LUCENE-1946: --- {quote} even the UIMA people were very

[jira] Commented: (LUCENE-1636) TokenFilters with a null value in the constructor fail

2009-10-05 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12762387#action_12762387 ] Uwe Schindler commented on LUCENE-1636: --- This change is also noted in the backwards

[jira] Commented: (LUCENE-1458) Further steps towards flexible indexing

2009-10-05 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12762406#action_12762406 ] Grant Ingersoll commented on LUCENE-1458: - I haven't followed too closely (even

[jira] Updated: (LUCENE-1458) Further steps towards flexible indexing

2009-10-05 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller updated LUCENE-1458: Attachment: LUCENE-1458.patch bq. I haven't svn upd to all the recent the deprecations removals /

[jira] Updated: (LUCENE-486) Core Test should not have dependencies on the Demo code

2009-10-05 Thread Michael Busch (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Busch updated LUCENE-486: - Attachment: lucene-486.patch Will have to commit the change in TestDoc also to the compatibility

[jira] Updated: (LUCENE-1458) Further steps towards flexible indexing

2009-10-05 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller updated LUCENE-1458: Attachment: LUCENE-1458.patch eh - even if you have moved on, if I'm going to put up a patch,

[jira] Updated: (LUCENE-1888) Provide Option to Store Payloads on the Term Vector

2009-10-05 Thread Michael Busch (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Busch updated LUCENE-1888: -- Fix Version/s: (was: 3.0) Provide Option to Store Payloads on the Term Vector

[jira] Updated: (LUCENE-965) Implement a state-of-the-art retrieval function in Lucene

2009-10-05 Thread Michael Busch (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Busch updated LUCENE-965: - Fix Version/s: (was: 3.0) 3.1 Implement a state-of-the-art retrieval

[jira] Updated: (LUCENE-1711) Field meta-data

2009-10-05 Thread Michael Busch (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Busch updated LUCENE-1711: -- Fix Version/s: (was: 3.0) 3.1 Field meta-data ---