[jira] Commented: (LUCENE-1651) Make IndexReader.open() always return MSR to simplify (re-)opens.

2009-06-02 Thread Earwin Burrfoot (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715836#action_12715836 ] Earwin Burrfoot commented on LUCENE-1651: - Seems the patch didn't apply completely

RE: Build failed in Hudson: Lucene-trunk #847

2009-06-02 Thread Uwe Schindler
I fixed the build (there was still a reference to the removed similarity contrib. in javadocs-all). Uwe - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From: Apache Hudson Server [mailto:hud...@hudson.zones.ap

[jira] Commented: (LUCENE-1377) Add HTMLStripReader and WordDelimiterFilter from SOLR

2009-06-02 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715786#action_12715786 ] Robert Muir commented on LUCENE-1377: - i don't really know enough to say that, but thi

[jira] Commented: (LUCENE-1377) Add HTMLStripReader and WordDelimiterFilter from SOLR

2009-06-02 Thread Otis Gospodnetic (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715780#action_12715780 ] Otis Gospodnetic commented on LUCENE-1377: -- Could we make this even more generic

Build failed in Hudson: Lucene-trunk #847

2009-06-02 Thread Apache Hudson Server
See http://hudson.zones.apache.org/hudson/job/Lucene-trunk/847/changes Changes: [mikemccand] LUCENE-1387: fix numDocs -> maxDoc [mikemccand] LUCENE-1656: don't compute scores by default when sorting by field [otis] LUCENE-898 - removed contrib/javascript (unpackaged, unmaintained, most likely

[jira] Commented: (LUCENE-1651) Make IndexReader.open() always return MSR to simplify (re-)opens.

2009-06-02 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715777#action_12715777 ] Michael McCandless commented on LUCENE-1651: I'm hitting compilation errors: {

[jira] Commented: (LUCENE-1491) EdgeNGramTokenFilter stops on tokens smaller then minimum gram size.

2009-06-02 Thread Otis Gospodnetic (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715763#action_12715763 ] Otis Gospodnetic commented on LUCENE-1491: -- Karl - LUCENE-1306 - I agree, I think

EnwikiDocMaker

2009-06-02 Thread Grant Ingersoll
Is there a reason the EnwikiDocMaker assumes Xerces for the SAX parser? Line 96. Thanks, Grant - To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org

[jira] Updated: (LUCENE-1676) New Token filter for adding payloads "in-stream"

2009-06-02 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grant Ingersoll updated LUCENE-1676: Attachment: LUCENE-1676.patch Here's a first draft of this. See the test case for an exam

[jira] Updated: (LUCENE-1651) Make IndexReader.open() always return MSR to simplify (re-)opens.

2009-06-02 Thread Earwin Burrfoot (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Earwin Burrfoot updated LUCENE-1651: Attachment: LUCENE-1651-tag.patch LUCENE-1651.patch Here are the patches f

[jira] Issue Comment Edited: (LUCENE-1491) EdgeNGramTokenFilter stops on tokens smaller then minimum gram size.

2009-06-02 Thread Karl Wettin (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715712#action_12715712 ] Karl Wettin edited comment on LUCENE-1491 at 6/2/09 2:51 PM: -

[jira] Commented: (LUCENE-1491) EdgeNGramTokenFilter stops on tokens smaller then minimum gram size.

2009-06-02 Thread Karl Wettin (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715712#action_12715712 ] Karl Wettin commented on LUCENE-1491: - Although you have a valid point I'd like to arg

[jira] Commented: (LUCENE-1651) Make IndexReader.open() always return MSR to simplify (re-)opens.

2009-06-02 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715676#action_12715676 ] Michael McCandless commented on LUCENE-1651: You can add a stub method (matche

[jira] Commented: (LUCENE-1313) Realtime Search

2009-06-02 Thread Jason Rutherglen (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715675#action_12715675 ] Jason Rutherglen commented on LUCENE-1313: -- Just so we don't forget, we need to t

[jira] Commented: (LUCENE-1651) Make IndexReader.open() always return MSR to simplify (re-)opens.

2009-06-02 Thread Earwin Burrfoot (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715672#action_12715672 ] Earwin Burrfoot commented on LUCENE-1651: - Hm.. okay, I've got back to work on thi

[jira] Commented: (LUCENE-1491) EdgeNGramTokenFilter stops on tokens smaller then minimum gram size.

2009-06-02 Thread Otis Gospodnetic (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715661#action_12715661 ] Otis Gospodnetic commented on LUCENE-1491: -- I'm not 100% sure - I'm not using ngr

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

2009-06-02 Thread Ali Oral (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715653#action_12715653 ] Ali Oral commented on LUCENE-1567: -- The flexible query parser looks very promising. I can

[jira] Issue Comment Edited: (LUCENE-1567) New flexible query parser

2009-06-02 Thread Ali Oral (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715653#action_12715653 ] Ali Oral edited comment on LUCENE-1567 at 6/2/09 1:03 PM: -- The fl

[jira] Resolved: (LUCENE-1631) CLONE -You cannot sort on fields that don't exist

2009-06-02 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless resolved LUCENE-1631. Resolution: Won't Fix I meant to resolve as Won't Fix. > CLONE -You cannot sort o

[jira] Reopened: (LUCENE-1631) CLONE -You cannot sort on fields that don't exist

2009-06-02 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless reopened LUCENE-1631: > CLONE -You cannot sort on fields that don't exist >

[jira] Resolved: (LUCENE-1631) CLONE -You cannot sort on fields that don't exist

2009-06-02 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless resolved LUCENE-1631. Resolution: Fixed We are removing SortField.AUTO in 3.0. > CLONE -You cannot sort

[jira] Resolved: (LUCENE-916) It is not possible to sort with sorttype auto on a field that does not exist

2009-06-02 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless resolved LUCENE-916. --- Resolution: Won't Fix We're removing SortField.AUTO in 3.0. > It is not possible to

[jira] Resolved: (LUCENE-1387) Add LocalLucene

2009-06-02 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless resolved LUCENE-1387. Resolution: Fixed I committed that fix; thanks Earwin! > Add LocalLucene > --

[jira] Commented: (LUCENE-1313) Realtime Search

2009-06-02 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715635#action_12715635 ] Michael McCandless commented on LUCENE-1313: {quote} LogMergePolicy.findMerges

[jira] Resolved: (LUCENE-1656) When sorting by field, IndexSearcher should not compute scores by default

2009-06-02 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless resolved LUCENE-1656. Resolution: Fixed > When sorting by field, IndexSearcher should not compute scores

[jira] Commented: (LUCENE-1313) Realtime Search

2009-06-02 Thread Jason Rutherglen (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715628#action_12715628 ] Jason Rutherglen commented on LUCENE-1313: -- {quote}For IW.resolveRAMSegments, may

[jira] Resolved: (LUCENE-1663) Documentation bug. The 2.4.1 query parser syntax wiki page says it is for 1.9

2009-06-02 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless resolved LUCENE-1663. Resolution: Fixed > Documentation bug. The 2.4.1 query parser syntax wiki page sa

Re: Question on CachingWrapperFilter

2009-06-02 Thread Paul Elschot
On Tuesday 02 June 2009 16:39:06 Shai Erera wrote: > Hi > > I read CWF today and initially I thought this is going to cache a Filter > in-memory for me, so that I can more efficiently use it for subsequent > searches. But I learned that all it does is cache the DocIdSet returned by > the wrapped F

[jira] Commented: (LUCENE-1377) Add HTMLStripReader and WordDelimiterFilter from SOLR

2009-06-02 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715595#action_12715595 ] Robert Muir commented on LUCENE-1377: - the WordDelimiterFilter in SOLR trunk as it sta

[jira] Commented: (LUCENE-1378) Remove remaining @author references

2009-06-02 Thread Otis Gospodnetic (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715578#action_12715578 ] Otis Gospodnetic commented on LUCENE-1378: -- I think a bunch of that xdocs stuff u

svn rm src/jsp ?

2009-06-02 Thread Otis Gospodnetic
Hi, Anyone knows that that stuff under src/jsp is? Looks like an ancient demo webapp but web.xml is empty, which makes me think that stuff doesn't work anyway? svn rm src/jsp ? Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch --

[jira] Created: (LUCENE-1676) New Token filter for adding payloads "in-stream"

2009-06-02 Thread Grant Ingersoll (JIRA)
New Token filter for adding payloads "in-stream" Key: LUCENE-1676 URL: https://issues.apache.org/jira/browse/LUCENE-1676 Project: Lucene - Java Issue Type: New Feature Components: co

[jira] Commented: (LUCENE-1378) Remove remaining @author references

2009-06-02 Thread Paul Elschot (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715576#action_12715576 ] Paul Elschot commented on LUCENE-1378: -- I thought I had caught them all, but under un

[jira] Commented: (LUCENE-1491) EdgeNGramTokenFilter stops on tokens smaller then minimum gram size.

2009-06-02 Thread Karl Wettin (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715567#action_12715567 ] Karl Wettin commented on LUCENE-1491: - bq. Perhaps we need boolean keepSmaller somewhe

[jira] Commented: (LUCENE-1272) Support for boost factor in MoreLikeThis

2009-06-02 Thread Otis Gospodnetic (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=1271#action_1271 ] Otis Gospodnetic commented on LUCENE-1272: -- Jonathan, would it be possible for yo

[jira] Commented: (LUCENE-1491) EdgeNGramTokenFilter stops on tokens smaller then minimum gram size.

2009-06-02 Thread Otis Gospodnetic (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715551#action_12715551 ] Otis Gospodnetic commented on LUCENE-1491: -- I agree this is an improvement, but l

[jira] Resolved: (LUCENE-898) contrib/javascript is not packaged into releases

2009-06-02 Thread Otis Gospodnetic (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otis Gospodnetic resolved LUCENE-898. - Resolution: Fixed Done. D javascript/queryEscaper/luceneQueryEscaper.js D

[jira] Resolved: (LUCENE-1378) Remove remaining @author references

2009-06-02 Thread Otis Gospodnetic (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otis Gospodnetic resolved LUCENE-1378. -- Resolution: Fixed Done. Thank you Paul. Sendingsrc/java/org/apache/lucene/an

Question on CachingWrapperFilter

2009-06-02 Thread Shai Erera
Hi I read CWF today and initially I thought this is going to cache a Filter in-memory for me, so that I can more efficiently use it for subsequent searches. But I learned that all it does is cache the DocIdSet returned by the wrapped Filter. This is good in and on itself, but I wonder if we shoul

[jira] Commented: (LUCENE-1673) Move TrieRange to core

2009-06-02 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715529#action_12715529 ] Uwe Schindler commented on LUCENE-1673: --- {quote} (Aside: I just noticed the code fra

[jira] Updated: (LUCENE-1672) Deprecate all String/File ctors/opens in IndexReader/IndexWriter/IndexSearcher

2009-06-02 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-1672: -- Attachment: LUCENE-1672.patch Here is a first patch, deprecating all usages of File/String to

[jira] Resolved: (LUCENE-1665) Remove SortField.AUTO

2009-06-02 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless resolved LUCENE-1665. Resolution: Fixed > Remove SortField.AUTO > - > >

[jira] Commented: (LUCENE-1630) Mating Collector and Scorer on doc Id orderness

2009-06-02 Thread Shai Erera (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715516#action_12715516 ] Shai Erera commented on LUCENE-1630: bq. So with all its strange looks the trio of Q,

[jira] Commented: (LUCENE-1673) Move TrieRange to core

2009-06-02 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715512#action_12715512 ] Michael McCandless commented on LUCENE-1673: bq. I want to move it to core bef

[jira] Commented: (LUCENE-1630) Mating Collector and Scorer on doc Id orderness

2009-06-02 Thread Earwin Burrfoot (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715509#action_12715509 ] Earwin Burrfoot commented on LUCENE-1630: - You can't, because Weights produced fro

[jira] Commented: (LUCENE-1630) Mating Collector and Scorer on doc Id orderness

2009-06-02 Thread Shai Erera (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715503#action_12715503 ] Shai Erera commented on LUCENE-1630: Thanks for the explanation. Couldn't we can merg

Re: HitCollector#collect(int,float,Collection)

2009-06-02 Thread Karl Wettin
So, I've been sleeping on this for a few weeks. Would it be possible to solve this with a decorator? Perhaps a top level decorator that also decorates all subqueries at rewrite-time and then keeps the instantiated scorers bound to the top level decorator, i.e. makes the decorated query non

[jira] Resolved: (LUCENE-1675) Add a link to the release archive

2009-06-02 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless resolved LUCENE-1675. Resolution: Fixed Fix Version/s: 2.9 Committed; thanks Jukka! The change s

[jira] Commented: (LUCENE-1630) Mating Collector and Scorer on doc Id orderness

2009-06-02 Thread Earwin Burrfoot (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715497#action_12715497 ] Earwin Burrfoot commented on LUCENE-1630: - bq. To me, it'd be ok to get rid of Wei

[jira] Commented: (LUCENE-1578) InstantiatedIndex supports non-optimized IndexReaders

2009-06-02 Thread Karl Wettin (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715494#action_12715494 ] Karl Wettin commented on LUCENE-1578: - Jason, did you get a chanse to try this out? I

[jira] Assigned: (LUCENE-1578) InstantiatedIndex supports non-optimized IndexReaders

2009-06-02 Thread Karl Wettin (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Karl Wettin reassigned LUCENE-1578: --- Assignee: Karl Wettin > InstantiatedIndex supports non-optimized IndexReaders >

[jira] Assigned: (LUCENE-1675) Add a link to the release archive

2009-06-02 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless reassigned LUCENE-1675: -- Assignee: Michael McCandless > Add a link to the release archive > ---

[jira] Commented: (LUCENE-1260) Norm codec strategy in Similarity

2009-06-02 Thread Karl Wettin (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715492#action_12715492 ] Karl Wettin commented on LUCENE-1260: - bq. Wouldn't the simplest solution be to refact

Re: ReadOnly IndexReaders

2009-06-02 Thread Mark Miller
Good point Shai. A mix of hasDeletes and is isReadOnly does appear to be useful then. - Mark Shai Erera wrote: You could call reader.hasDeletions to decide whether you should call isdeleted()? But you cannot use that alone, since if a library receives an IndexReader, it cannot rely solely on

[jira] Commented: (LUCENE-1630) Mating Collector and Scorer on doc Id orderness

2009-06-02 Thread Shai Erera (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715484#action_12715484 ] Shai Erera commented on LUCENE-1630: I want to start working on that once LUCENE-1614

[jira] Commented: (LUCENE-1614) Add next() and skipTo() variants to DocIdSetIterator that return the current doc, instead of boolean

2009-06-02 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715434#action_12715434 ] Uwe Schindler commented on LUCENE-1614: --- Yes! Sorry for the false alarm, I did not t

[jira] Commented: (LUCENE-1614) Add next() and skipTo() variants to DocIdSetIterator that return the current doc, instead of boolean

2009-06-02 Thread Shai Erera (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715431#action_12715431 ] Shai Erera commented on LUCENE-1614: This is all to support jar drop-in ability. So sa

[jira] Issue Comment Edited: (LUCENE-1614) Add next() and skipTo() variants to DocIdSetIterator that return the current doc, instead of boolean

2009-06-02 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715428#action_12715428 ] Uwe Schindler edited comment on LUCENE-1614 at 6/2/09 1:55 AM: -

[jira] Commented: (LUCENE-1614) Add next() and skipTo() variants to DocIdSetIterator that return the current doc, instead of boolean

2009-06-02 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715428#action_12715428 ] Uwe Schindler commented on LUCENE-1614: --- bq. I kept nextDoc() as is, i.e., calling d

Re: ReadOnly IndexReaders

2009-06-02 Thread Shai Erera
You could call reader.hasDeletions to decide whether you should call isdeleted()? But you cannot use that alone, since if a library receives an IndexReader, it cannot rely solely on hasDeletions, since at an upper level someone might decide to delete a document w/ that reader, and therefore it need

Re: Tests fail to compile on JDK 1.4?

2009-06-02 Thread Shai Erera
Thanks for the explanation. On Tue, Jun 2, 2009 at 9:49 AM, Uwe Schindler wrote: > Hi Shai, > > > > it is set to 1.4. The problem, during compilation, the class library > (rt.jar) of the installed JDK contains new methods from 1.5, so even when > you set the compiler level to 1.4, it still chec

[jira] Updated: (LUCENE-1614) Add next() and skipTo() variants to DocIdSetIterator that return the current doc, instead of boolean

2009-06-02 Thread Shai Erera (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shai Erera updated LUCENE-1614: --- Attachment: LUCENE-1614.patch Thanks Uwe - that's a good idea. I've implemented all 3 to throw UOE a

[jira] Commented: (LUCENE-1614) Add next() and skipTo() variants to DocIdSetIterator that return the current doc, instead of boolean

2009-06-02 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715405#action_12715405 ] Uwe Schindler commented on LUCENE-1614: --- bq. Uwe, regarding the -1 in DISI - -1 is a

[jira] Updated: (LUCENE-1614) Add next() and skipTo() variants to DocIdSetIterator that return the current doc, instead of boolean

2009-06-02 Thread Shai Erera (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shai Erera updated LUCENE-1614: --- Attachment: LUCENE-1614.patch Updated to 20090601a tag. I also removed the comment on Scorer from CH