RE: Finishing Lucene 2.9

2009-08-20 Thread Uwe Schindler
I know this docs. We also had the same discussion on java-dev half a year ago. Generics are not visible in the compiled java code, they are "erasured" and replaced by their upper type (at least Object, like for Collection API). "E Extends Attribute" in my example would be replaced by Attribute.

[jira] Issue Comment Edited: (LUCENE-1826) All Tokenizer implementations should have constructors that take AttributeSource and AttributeFactory

2009-08-20 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745803#action_12745803 ] Uwe Schindler edited comment on LUCENE-1826 at 8/20/09 10:35 PM: ---

[jira] Commented: (LUCENE-1826) All Tokenizer implementations should have constructors that take AttributeSource and AttributeFactory

2009-08-20 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745803#action_12745803 ] Uwe Schindler commented on LUCENE-1826: --- bq. without the Tokenizer.reset(Reader, Att

Re: Finishing Lucene 2.9

2009-08-20 Thread Mark Miller
I guess you could consider that you have to use 1.5 the break? But I think that goes without saying ... Mark Miller wrote: > bq. While technically it breaks back compatibility, > > How does it break back compatibility? Generics are only compile time - > they simply don't exist in the binary. Jav

Re: Finishing Lucene 2.9

2009-08-20 Thread Mark Miller
bq. While technically it breaks back compatibility, How does it break back compatibility? Generics are only compile time - they simply don't exist in the binary. Java itself is extremely back compat, so you can still use StringBuffer and the rest. I didn't find anything in the archives or the wik

Re: Finishing Lucene 2.9

2009-08-20 Thread Grant Ingersoll
Please read the archives on the 1.5 move. We have discussed it many times. There is also a Wiki page on it under the committers section. While technically it breaks back compatibility, we are going forward with it and we decided to allow generics, etc. right from the start. We also didn

[jira] Reopened: (LUCENE-584) Decouple Filter from BitSet

2009-08-20 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller reopened LUCENE-584: I think I have tracked down this issue as the one changing things most regarding Scorer documentation

[jira] Updated: (LUCENE-1834) remove unused code in SmartChineseAnalyzer hmm pkg

2009-08-20 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir updated LUCENE-1834: Attachment: LUCENE-1834.patch > remove unused code in SmartChineseAnalyzer hmm pkg > -

[jira] Created: (LUCENE-1834) remove unused code in SmartChineseAnalyzer hmm pkg

2009-08-20 Thread Robert Muir (JIRA)
remove unused code in SmartChineseAnalyzer hmm pkg -- Key: LUCENE-1834 URL: https://issues.apache.org/jira/browse/LUCENE-1834 Project: Lucene - Java Issue Type: Task Components: contr

[jira] Issue Comment Edited: (LUCENE-1821) Weight.scorer() not passed doc offset for "sub reader"

2009-08-20 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745756#action_12745756 ] Mark Miller edited comment on LUCENE-1821 at 8/20/09 6:12 PM: --

[jira] Commented: (LUCENE-1821) Weight.scorer() not passed doc offset for "sub reader"

2009-08-20 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745756#action_12745756 ] Mark Miller commented on LUCENE-1821: - {quote} howevever, this method is actually also

[jira] Commented: (LUCENE-1821) Weight.scorer() not passed doc offset for "sub reader"

2009-08-20 Thread Tim Smith (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745754#action_12745754 ] Tim Smith commented on LUCENE-1821: --- in the case of the getDocIdSet() method, i would sa

[jira] Commented: (LUCENE-1821) Weight.scorer() not passed doc offset for "sub reader"

2009-08-20 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745735#action_12745735 ] Mark Miller commented on LUCENE-1821: - I'm still not a fan of giving access to the upp

[jira] Commented: (LUCENE-1826) All Tokenizer implementations should have constructors that take AttributeSource and AttributeFactory

2009-08-20 Thread Tim Smith (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745724#action_12745724 ] Tim Smith commented on LUCENE-1826: --- without the Tokenizer.reset(Reader, AttributeSource

[jira] Commented: (LUCENE-1827) Make the Payload Boosting Queries consistent

2009-08-20 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745723#action_12745723 ] Mark Miller commented on LUCENE-1827: - If no one objects to this patch I'm going to co

[jira] Updated: (LUCENE-1826) All Tokenizer implementations should have constructors that take AttributeSource and AttributeFactory

2009-08-20 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-1826: -- Summary: All Tokenizer implementations should have constructors that take AttributeSource and

[jira] Commented: (LUCENE-1826) All Tokenizer implementations should have constructor that takes an AttributeSource

2009-08-20 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745713#action_12745713 ] Uwe Schindler commented on LUCENE-1826: --- I was thinking about that, too. But it was

[jira] Commented: (LUCENE-1833) When we move to java 1.5 in 3.0 we should replace all Interger, Long, etc construction with .valueOf

2009-08-20 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745708#action_12745708 ] Uwe Schindler commented on LUCENE-1833: --- ...and also StringBuffers! > When we move

MultiTermRewriteMethodProcessor

2009-08-20 Thread Mark Miller
This is either a bug (its meant to be something else) or a harmless mistake - someone check it out? // set setMultiTermRewriteMethod for WildcardQueryNode and PrefixWildcardQueryNode if (node instanceof WildcardQueryNode || node instanceof ParametricRangeQueryNode || node instance

RE: TypeAttributeImpl

2009-08-20 Thread Uwe Schindler
Not really, there is no reason fort hat in my opinion. And Token.copyTo() does not do this, but should then! I think, remove it. Strings can always by kept, as they are final and unmodifiable. - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de

[jira] Created: (LUCENE-1833) When we move to java 1.5 in 3.0 we should replace all Interger, Long, etc construction with .valueOf

2009-08-20 Thread Mark Miller (JIRA)
When we move to java 1.5 in 3.0 we should replace all Interger, Long, etc construction with .valueOf Key: LUCENE-1833 URL: https://issues.apache.org/jira/browse/L

TypeAttributeImpl

2009-08-20 Thread Mark Miller
Getting into the nitpick stuff ;) In TypeAttributeImpl: public void copyTo(AttributeImpl target) { TypeAttribute t = (TypeAttribute) target; t.setType(new String(type)); } The class uses type.equals and type.hashCode - is there any reason to create a new String object here? Just use

[jira] Created: (LUCENE-1832) minor/nitpick TermInfoReader bug ?

2009-08-20 Thread Mark Miller (JIRA)
minor/nitpick TermInfoReader bug ? -- Key: LUCENE-1832 URL: https://issues.apache.org/jira/browse/LUCENE-1832 Project: Lucene - Java Issue Type: Bug Reporter: Mark Miller Priority: Triv

[jira] Resolved: (LUCENE-1831) TokenWrapperAttributeFactory, CachingWrapperFilterHelper implements equals and so should also implement hashCode

2009-08-20 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler resolved LUCENE-1831. --- Resolution: Fixed Committed rev 806381 > TokenWrapperAttributeFactory, CachingWrapperFilter

[jira] Commented: (LUCENE-1760) TokenStream API javadoc improvements

2009-08-20 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745697#action_12745697 ] Mark Miller commented on LUCENE-1760: - I also think it couldn't hurt to add some javad

[jira] Updated: (LUCENE-1831) TokenWrapperAttributeFactory, CachingWrapperFilterHelper implements equals and so should also implement hashCode

2009-08-20 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-1831: -- Attachment: LUCENE-1831.patch Forgot a static xor for a difference in hashCode. > TokenWrappe

[jira] Updated: (LUCENE-1831) TokenWrapperAttributeFactory, CachingWrapperFilterHelper implements equals and so should also implement hashCode

2009-08-20 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-1831: -- Attachment: LUCENE-1831.patch I will commit this shortly. > TokenWrapperAttributeFactory, Cac

[jira] Commented: (LUCENE-1831) TokenWrapperAttributeFactory, CachingWrapperFilterHelper implements equals and so should also implement hashCode

2009-08-20 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745692#action_12745692 ] Uwe Schindler commented on LUCENE-1831: --- I implemented the two hashCodes. The wrappe

[jira] Commented: (LUCENE-1831) TokenWrapperAttributeFactory, CachingWrapperFilterHelper implements equals and so should also implement hashCode

2009-08-20 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745689#action_12745689 ] Mark Miller commented on LUCENE-1831: - I disagree - whatever a classes original intent

[jira] Commented: (LUCENE-1831) TokenWrapperAttributeFactory, CachingWrapperFilterHelper implements equals and so should also implement hashCode

2009-08-20 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745688#action_12745688 ] Uwe Schindler commented on LUCENE-1831: --- This class is used internally only. There i

[jira] Assigned: (LUCENE-1831) TokenWrapperAttributeFactory, CachingWrapperFilterHelper implements equals and so should also implement hashCode

2009-08-20 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler reassigned LUCENE-1831: - Assignee: Uwe Schindler (was: Mark Miller) > TokenWrapperAttributeFactory, CachingWrapp

[jira] Updated: (LUCENE-1831) TokenWrapperAttributeFactory, CachingWrapperFilterHelper implements equals and so should also implement hashCode

2009-08-20 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller updated LUCENE-1831: Summary: TokenWrapperAttributeFactory, CachingWrapperFilterHelper implements equals and so should

[jira] Updated: (LUCENE-1821) Weight.scorer() not passed doc offset for "sub reader"

2009-08-20 Thread Tim Smith (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tim Smith updated LUCENE-1821: -- Fix Version/s: 2.9 Marking as fix for 2.9 so this gets looked over real good prior to 2.9 going out (

[jira] Created: (LUCENE-1831) TokenWrapperAttributeFactory implements equals and so should also implement hashCode

2009-08-20 Thread Mark Miller (JIRA)
TokenWrapperAttributeFactory implements equals and so should also implement hashCode Key: LUCENE-1831 URL: https://issues.apache.org/jira/browse/LUCENE-1831 Project:

[jira] Updated: (LUCENE-1825) AttributeSource.getAttribute() should throw better IllegalArgumentException

2009-08-20 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-1825: -- Attachment: LUCENE-1825.patch Attached is a first patch, that fixes the wrong getAttribute() c

[jira] Reopened: (LUCENE-1760) TokenStream API javadoc improvements

2009-08-20 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller reopened LUCENE-1760: - Would love to have some sample code, but at a min we have to update javadocs to have full contract

[jira] Commented: (LUCENE-1827) Make the Payload Boosting Queries consistent

2009-08-20 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745671#action_12745671 ] Mark Miller commented on LUCENE-1827: - I want to remove PayloadQuery marking interface

[jira] Created: (LUCENE-1830) BoostingNearQuery doesn't have hashCode/equals

2009-08-20 Thread Mark Miller (JIRA)
BoostingNearQuery doesn't have hashCode/equals -- Key: LUCENE-1830 URL: https://issues.apache.org/jira/browse/LUCENE-1830 Project: Lucene - Java Issue Type: Bug Components: Search

[jira] Commented: (LUCENE-1826) All Tokenizer implementations should have constructor that takes an AttributeSource

2009-08-20 Thread Tim Smith (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745667#action_12745667 ] Tim Smith commented on LUCENE-1826: --- This is further complicated by the fact that Tokeni

[jira] Updated: (LUCENE-1829) 'ant javacc' in root project should also properly create contrib/queryparser Java files

2009-08-20 Thread Jan-Pascal (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan-Pascal updated LUCENE-1829: --- Attachment: contrib-queryparser-javacc.patch This patch caused 'ant javacc' to also run in contrib/q

[jira] Created: (LUCENE-1829) 'ant javacc' in root project should also properly create contrib/queryparser Java files

2009-08-20 Thread Jan-Pascal (JIRA)
'ant javacc' in root project should also properly create contrib/queryparser Java files --- Key: LUCENE-1829 URL: https://issues.apache.org/jira/browse/LUCENE-1829 Pr

[jira] Updated: (LUCENE-1828) MemoryIndex doesn't call TokenStream.reset() and TokenStream.end()

2009-08-20 Thread Tim Smith (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tim Smith updated LUCENE-1828: -- Attachment: LUCENE-1828.patch Patch to call TokenStream.reset() and TokenStream.end() in MemoryIndex

[jira] Commented: (LUCENE-1825) AttributeSource.getAttribute() should throw better IllegalArgumentException

2009-08-20 Thread Tim Smith (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745624#action_12745624 ] Tim Smith commented on LUCENE-1825: --- I agree that a 'more helpful' error message may not

[jira] Assigned: (LUCENE-1825) AttributeSource.getAttribute() should throw better IllegalArgumentException

2009-08-20 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler reassigned LUCENE-1825: - Assignee: Uwe Schindler In principle you should always use addAttribute() when consuming

[jira] Created: (LUCENE-1828) MemoryIndex doesn't call TokenStream.reset() and TokenStream.end()

2009-08-20 Thread Tim Smith (JIRA)
MemoryIndex doesn't call TokenStream.reset() and TokenStream.end() -- Key: LUCENE-1828 URL: https://issues.apache.org/jira/browse/LUCENE-1828 Project: Lucene - Java Issue Type:

RE: Finishing Lucene 2.9

2009-08-20 Thread Uwe Schindler
It would *not* break apps without generics, if the "upper" type is the same (which is easily fulfilled by my example with the AttributeSource). The whole 1.5 Java Collection API uses generics and 1.4 programs still run. - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaph

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

2009-08-20 Thread Jason Rutherglen (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745617#action_12745617 ] Jason Rutherglen commented on LUCENE-965: - The link http://www.ece.udel.edu/~hfang/

New Remaining 2.9 issues

2009-08-20 Thread Mark Miller
So I am trying to give a bit of time for rapid fixes to come in, and upgrade issues to be addressed before we actually start a code freeze (I'm getting the feeling noone is going to come out of the woodwork to be RM). I'd love to at least give that another day or two. We are building up a couple m

[jira] Updated: (LUCENE-1827) Make the Payload Boosting Queries consistent

2009-08-20 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller updated LUCENE-1827: Attachment: LUCENE-1827.patch This is what I would do - merge boostingfunctiontermquery into boos

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

2009-08-20 Thread Hui Fang (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745608#action_12745608 ] Hui Fang commented on LUCENE-965: - Hello everyone, We have re-implemented the retrieval f

[jira] Created: (LUCENE-1827) Make the Payload Boosting Queries consistent

2009-08-20 Thread Mark Miller (JIRA)
Make the Payload Boosting Queries consistent Key: LUCENE-1827 URL: https://issues.apache.org/jira/browse/LUCENE-1827 Project: Lucene - Java Issue Type: Improvement Components: Search

Re: BoostingNearQuery

2009-08-20 Thread Mark Miller
And what is the purpose of the marker interface PayloadQuery? Is there a use case for this? - Mark Mark Miller wrote: > In a similar line though, BoostingFunctionTermQuery doesn't really fit > with BoostingNearQuery. I see part of why its not called > BoostingTermQuery is because BoostingTermQu

Re: BoostingNearQuery

2009-08-20 Thread Mark Miller
In a similar line though, BoostingFunctionTermQuery doesn't really fit with BoostingNearQuery. I see part of why its not called BoostingTermQuery is because BoostingTermQuery is deprecated - but why can't the BoostingFunctionTermQuery impl replace BoostingTermQuery with average as the default? (wh

[jira] Assigned: (LUCENE-1793) remove custom encoding support in Greek/Russian Analyzers

2009-08-20 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir reassigned LUCENE-1793: --- Assignee: Robert Muir > remove custom encoding support in Greek/Russian Analyzers >

Re: BoostingNearQuery

2009-08-20 Thread Mark Miller
My fault - it does! I was just checking JavaDocs and this was misleading: Payload scores are averaged across term occurrences in the document. I'll update to be less ambiguous eg it takes a function that defaults to average. - Mark Simon Willnauer wrote: > +1 > > On Thu, Aug 20, 2009 at 8:21

Re: BoostingNearQuery

2009-08-20 Thread Simon Willnauer
+1 On Thu, Aug 20, 2009 at 8:21 PM, Michael McCandless wrote: > +1 > > Mike > > On Thu, Aug 20, 2009 at 11:08 AM, Mark Miller wrote: >> BoostingNearQuery averages payloads - shouldn't it take a >> PayloadFunction as well? >> >> -- >> - Mark >> >> http://www.lucidimagination.com >> >> >> >> >>

Re: BoostingNearQuery

2009-08-20 Thread Michael McCandless
+1 Mike On Thu, Aug 20, 2009 at 11:08 AM, Mark Miller wrote: > BoostingNearQuery averages payloads - shouldn't it take a > PayloadFunction as well? > > -- > - Mark > > http://www.lucidimagination.com > > > > > - > To unsubscribe,

[jira] Commented: (LUCENE-1826) All Tokenizer implementations should have constructor that takes an AttributeSource

2009-08-20 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745531#action_12745531 ] Mark Miller commented on LUCENE-1826: - bq. didn't want to overstep my bounds suggestin

[jira] Commented: (LUCENE-1826) All Tokenizer implementations should have constructor that takes an AttributeSource

2009-08-20 Thread Tim Smith (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745530#action_12745530 ] Tim Smith commented on LUCENE-1826: --- NOTE: for me, this is just a "nice to have" I curr

[jira] Updated: (LUCENE-1825) AttributeSource.getAttribute() should throw better IllegalArgumentException

2009-08-20 Thread Tim Smith (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tim Smith updated LUCENE-1825: -- Fix Version/s: 2.9 > AttributeSource.getAttribute() should throw better IllegalArgumentException > ---

[jira] Updated: (LUCENE-1826) All Tokenizer implementations should have constructor that takes an AttributeSource

2009-08-20 Thread Tim Smith (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tim Smith updated LUCENE-1826: -- Fix Version/s: 2.9 > All Tokenizer implementations should have constructor that takes an > AttributeS

[jira] Commented: (LUCENE-1826) All Tokenizer implementations should have constructor that takes an AttributeSource

2009-08-20 Thread Tim Smith (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745523#action_12745523 ] Tim Smith commented on LUCENE-1826: --- i'll do that from now on (feel free to boot them if

[jira] Commented: (LUCENE-1826) All Tokenizer implementations should have constructor that takes an AttributeSource

2009-08-20 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745522#action_12745522 ] Mark Miller commented on LUCENE-1826: - To make sure these issues are considered for 2.

Re: TokenStream JavaDoc

2009-08-20 Thread Yonik Seeley
On Thu, Aug 20, 2009 at 11:44 AM, Tim Smith wrote: > Also, the javadoc should also mark that the consumer call end() as step > 5 (don't think this was added when end() was put in) And close() is there a way these could be consolidated? -Yonik http://www.lucidimagination.com >  -- Tim > > Ma

[jira] Created: (LUCENE-1826) All Tokenizer implementations should have constructor that takes an AttributeSource

2009-08-20 Thread Tim Smith (JIRA)
All Tokenizer implementations should have constructor that takes an AttributeSource --- Key: LUCENE-1826 URL: https://issues.apache.org/jira/browse/LUCENE-1826 Project: L

[jira] Commented: (LUCENE-1825) AttributeSource.getAttribute() should throw better IllegalArgumentException

2009-08-20 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745514#action_12745514 ] Mark Miller commented on LUCENE-1825: - Gotchya - in the summary it said you were looki

[jira] Commented: (LUCENE-1825) AttributeSource.getAttribute() should throw better IllegalArgumentException

2009-08-20 Thread Tim Smith (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745508#action_12745508 ] Tim Smith commented on LUCENE-1825: --- Updated getAttribute() on AttributeSource as follow

[jira] Commented: (LUCENE-1825) AttributeSource.getAttribute() should throw better IllegalArgumentException

2009-08-20 Thread Tim Smith (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745502#action_12745502 ] Tim Smith commented on LUCENE-1825: --- Looked a little closer on this and it looks like if

[jira] Commented: (LUCENE-1825) AttributeSource.getAttribute() should throw better IllegalArgumentException

2009-08-20 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745472#action_12745472 ] Mark Miller commented on LUCENE-1825: - Have a proposed patch? Doesn't look easy - I do

[jira] Created: (LUCENE-1825) AttributeSource.getAttribute() should throw better IllegalArgumentException

2009-08-20 Thread Tim Smith (JIRA)
AttributeSource.getAttribute() should throw better IllegalArgumentException --- Key: LUCENE-1825 URL: https://issues.apache.org/jira/browse/LUCENE-1825 Project: Lucene - Java

[jira] Updated: (LUCENE-1793) remove custom encoding support in Greek/Russian Analyzers

2009-08-20 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir updated LUCENE-1793: Lucene Fields: [New, Patch Available] (was: [New]) Fix Version/s: 2.9 Setting to 2.9 I would

[jira] Updated: (LUCENE-1793) remove custom encoding support in Greek/Russian Analyzers

2009-08-20 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir updated LUCENE-1793: Attachment: LUCENE-1793.patch updated patch with "removed in next release" changed to "removed in

Re: TokenStream JavaDoc

2009-08-20 Thread Tim Smith
Also, the javadoc should also mark that the consumer call end() as step 5 (don't think this was added when end() was put in) -- Tim Mark Miller wrote: > As a new user, reading the TokenStream javadoc is a bit intimidating I > think. > > One thing that might help I think, is adding just a bit of

TokenStream JavaDoc

2009-08-20 Thread Mark Miller
As a new user, reading the TokenStream javadoc is a bit intimidating I think. One thing that might help I think, is adding just a bit of example code to the following section: The workflow of the new TokenStream API is as follows: 1. Instantiation of TokenStream/TokenFilters which add/get attrib

BoostingNearQuery

2009-08-20 Thread Mark Miller
BoostingNearQuery averages payloads - shouldn't it take a PayloadFunction as well? -- - Mark http://www.lucidimagination.com - To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: j

[jira] Commented: (LUCENE-1793) remove custom encoding support in Greek/Russian Analyzers

2009-08-20 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745456#action_12745456 ] Mark Miller commented on LUCENE-1793: - We have not started code freeze yet - I'd depre

Search package.html updates

2009-08-20 Thread Mark Miller
I just made some fixes/updates to org.apache.lucene.search package.html - I started updating the Scorer section a bit, but it needs more work. If someone involved in that those Scorer issues could help finish up, that would be great. I don't think there is much to do. -- - Mark http://www.lucid

[jira] Updated: (LUCENE-1793) remove custom encoding support in Greek/Russian Analyzers

2009-08-20 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir updated LUCENE-1793: Attachment: LUCENE-1793.patch patch with more javadocs verbage. When do we want to deprecate thes

Re: Finishing Lucene 2.9

2009-08-20 Thread Mark Miller
I don't think thats an issue? Generics use type erasure - its just compile time - so its binary compatible with any previous code that doesn't use generics. - Mark Shai Erera wrote: > What will be w/ generics? Won't they break cack-compat as soon as we > add them (e.g., if we move to accepting pa

[jira] Commented: (LUCENE-1821) Weight.scorer() not passed doc offset for "sub reader"

2009-08-20 Thread Tim Smith (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745436#action_12745436 ] Tim Smith commented on LUCENE-1821: --- true, MultiSearcher does kink things up some (and t

Re: Finishing Lucene 2.9

2009-08-20 Thread Shai Erera
What will be w/ generics? Won't they break cack-compat as soon as we add them (e.g., if we move to accepting parameters as generics - it may break an application which does not use generics yet). I think that the move to 1.5 needs to include the generics as well, unless we're willing to break back-

Re: Finishing Lucene 2.9

2009-08-20 Thread Mark Miller
Michael McCandless wrote: > On Wed, Aug 19, 2009 at 6:21 PM, Mark Miller wrote: > > >> I forgot about this oddity. Its so weird. Its like we are doing two >> releases on top of each other - it just seems confusing. >> > > I'm also not wed to the "fast turnaround" (remove deprecations, switc

[jira] Commented: (LUCENE-1821) Weight.scorer() not passed doc offset for "sub reader"

2009-08-20 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745430#action_12745430 ] Mark Miller commented on LUCENE-1821: - I'm still not sold on this - these use cases do

[jira] Commented: (LUCENE-1821) Weight.scorer() not passed doc offset for "sub reader"

2009-08-20 Thread Tim Smith (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745423#action_12745423 ] Tim Smith commented on LUCENE-1821: --- I can work up another patch where the Searcher is p

[jira] Commented: (LUCENE-1821) Weight.scorer() not passed doc offset for "sub reader"

2009-08-20 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745418#action_12745418 ] Mark Miller commented on LUCENE-1821: - bq. It can ease the transition for users doing

[jira] Commented: (LUCENE-1821) Weight.scorer() not passed doc offset for "sub reader"

2009-08-20 Thread Tim Smith (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745416#action_12745416 ] Tim Smith commented on LUCENE-1821: --- It would also be nice if the top level Searcher wer

Re: Finishing Lucene 2.9

2009-08-20 Thread Michael McCandless
On Wed, Aug 19, 2009 at 6:21 PM, Mark Miller wrote: > I forgot about this oddity. Its so weird. Its like we are doing two > releases on top of each other - it just seems confusing. I'm also not wed to the "fast turnaround" (remove deprecations, switch to generics) 3.0 release. We could, instead,

[jira] Commented: (LUCENE-1821) Weight.scorer() not passed doc offset for "sub reader"

2009-08-20 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745367#action_12745367 ] Michael McCandless commented on LUCENE-1821: I think we should in fact add thi