[jira] Commented: (LUCENE-1453) When reopen returns a new IndexReader, both IndexReaders may now control the lifecycle of the underlying Directory which is managed by reference counting

2008-11-17 Thread Michael Busch (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648501#action_12648501 ] Michael Busch commented on LUCENE-1453: --- Patch looks good... I guess this was my bug

Re: [PATCH] Bug on BrazilianAnalyzer

2008-11-17 Thread Adriano Crestani
Hi Rafael, What is your scenario? Maybe it was defined this way so it do not filter uppercased stop words. Like, for example, the downcased word "se" is a stopword, but the uppercased "SE" stands for "Sergipe", a brazilian state, so it should not be filtered. Best Regards, Adriano Crestani On M

[jira] Commented: (LUCENE-1453) When reopen returns a new IndexReader, both IndexReaders may now control the lifecycle of the underlying Directory which is managed by reference counting

2008-11-17 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648472#action_12648472 ] Mark Miller commented on LUCENE-1453: - Okay, I've banged on it and I can't break it. T

[jira] Issue Comment Edited: (LUCENE-1453) When reopen returns a new IndexReader, both IndexReaders may now control the lifecycle of the underlying Directory which is managed by reference counting

2008-11-17 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648446#action_12648446 ] [EMAIL PROTECTED] edited comment on LUCENE-1453 at 11/17/08 5:30 PM: ---

[jira] Commented: (LUCENE-1453) When reopen returns a new IndexReader, both IndexReaders may now control the lifecycle of the underlying Directory which is managed by reference counting

2008-11-17 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648446#action_12648446 ] Mark Miller commented on LUCENE-1453: - Hmm...I've still got a test that fails. I'll po

[PATCH] Bug on BrazilianAnalyzer

2008-11-17 Thread Rafael Cunha de Almeida
Following is the patch for what I think is a bug on the BrazilianAnalyzer. The default stopwords list is all in lowercase, so it will only work if the LowerCaseFilter comes first of if the StopWordFilter is set to ignore case. Since the LowerCaseFilter is instantiated anyway I just changed its ord

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

2008-11-17 Thread Paul Elschot (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Elschot updated LUCENE-1378: - Attachment: LUCENE-1378c.patch Just try and imagine a life without grep. The 1378c.patch removes

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

2008-11-17 Thread Paul Elschot (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Elschot updated LUCENE-1378: - Attachment: LUCENE-1378b.patch 1378b.patch removes html author tags. > Remove remaining @author

[jira] Commented: (LUCENE-1422) New TokenStream API

2008-11-17 Thread Michael Busch (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648291#action_12648291 ] Michael Busch commented on LUCENE-1422: --- OK we decided to commit this before LUCENE-

[jira] Commented: (LUCENE-1448) add getFinalOffset() to TokenStream

2008-11-17 Thread Michael Busch (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648290#action_12648290 ] Michael Busch commented on LUCENE-1448: --- {quote} Hmm we could do that... but it seem

[jira] Commented: (LUCENE-1001) Add Payload retrieval to Spans

2008-11-17 Thread Jonathan Mamou (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648259#action_12648259 ] Jonathan Mamou commented on LUCENE-1001: Hi, Here is the relevant code. I would

[jira] Commented: (LUCENE-689) NullPointerException thrown by equals method in SpanOrQuery

2008-11-17 Thread Steven Parkes (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648240#action_12648240 ] Steven Parkes commented on LUCENE-689: -- Thanks, Otis. Was just gonna remove myself as

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

2008-11-17 Thread Otis Gospodnetic (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otis Gospodnetic reopened LUCENE-1378: -- Lucene Fields: [New, Patch Available] (was: [Patch Available, New]) > Remove remainin

[jira] Assigned: (LUCENE-689) NullPointerException thrown by equals method in SpanOrQuery

2008-11-17 Thread Otis Gospodnetic (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otis Gospodnetic reassigned LUCENE-689: --- Assignee: Otis Gospodnetic (was: Steven Parkes) > NullPointerException thrown by equ

[jira] Updated: (LUCENE-1453) When reopen returns a new IndexReader, both IndexReaders may now control the lifecycle of the underlying Directory which is managed by reference counting

2008-11-17 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless updated LUCENE-1453: --- Attachment: LUCENE-1453.patch Attached another iteration... I moved the logic into

[jira] Commented: (LUCENE-1453) When reopen returns a new IndexReader, both IndexReaders may now control the lifecycle of the underlying Directory which is managed by reference counting

2008-11-17 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648187#action_12648187 ] Mark Miller commented on LUCENE-1453: - Goes deeper than I would have guessed (not that

Re: [jira] Commented: (LUCENE-1001) Add Payload retrieval to Spans

2008-11-17 Thread Jonathan Mamou
Hi, Here is the relevant code. I would expect to obtain 10 pos: 10 pos: 11 while I obtain 10 pos: 0 pos: 11 import java.io.StringReader; import java.util.Collection; import java.util.Iterator; import org.apache.lucene.document.Document; import org.apache.lucene.document.Field; import org.

[jira] Commented: (LUCENE-1453) When reopen returns a new IndexReader, both IndexReaders may now control the lifecycle of the underlying Directory which is managed by reference counting

2008-11-17 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648167#action_12648167 ] Mark Miller commented on LUCENE-1453: - Ahh, I see. The newReader variable name should

[jira] Commented: (LUCENE-1453) When reopen returns a new IndexReader, both IndexReaders may now control the lifecycle of the underlying Directory which is managed by reference counting

2008-11-17 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648164#action_12648164 ] Michael McCandless commented on LUCENE-1453: Hmm actually it's not so simple,

[jira] Commented: (LUCENE-1453) When reopen returns a new IndexReader, both IndexReaders may now control the lifecycle of the underlying Directory which is managed by reference counting

2008-11-17 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648154#action_12648154 ] Mark Miller commented on LUCENE-1453: - Looks great to me. The only nitpick thing I'd c

[jira] Updated: (LUCENE-1453) When reopen returns a new IndexReader, both IndexReaders may now control the lifecycle of the underlying Directory which is managed by reference counting

2008-11-17 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless updated LUCENE-1453: --- Attachment: LUCENE-1453.patch New patch attached. If this looks OK to you Mark, I'l

[jira] Commented: (LUCENE-1453) When reopen returns a new IndexReader, both IndexReaders may now control the lifecycle of the underlying Directory which is managed by reference counting

2008-11-17 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648144#action_12648144 ] Michael McCandless commented on LUCENE-1453: Hmm good catch Mark! With LUCENE

[jira] Assigned: (LUCENE-1453) When reopen returns a new IndexReader, both IndexReaders may now control the lifecycle of the underlying Directory which is managed by reference counting

2008-11-17 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless reassigned LUCENE-1453: -- Assignee: Michael McCandless > When reopen returns a new IndexReader, both Ind

[jira] Commented: (LUCENE-1453) When reopen returns a new IndexReader, both IndexReaders may now control the lifecycle of the underlying Directory which is managed by reference counting

2008-11-17 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648141#action_12648141 ] Mark Miller commented on LUCENE-1453: - So this is a bit of an ugly way to do this. Wha

[jira] Resolved: (LUCENE-1309) Using IndexSearcher in a multithreaded context causes contention

2008-11-17 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless resolved LUCENE-1309. Resolution: Duplicate Dup of LUCENE-1329 (readOnly IndexReader) and LUCENE-753 (NI

[jira] Resolved: (LUCENE-1265) Identify bottleneck associated with not pooling searchers

2008-11-17 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless resolved LUCENE-1265. Resolution: Duplicate Dup of LUCENE-1329 (readOnly IndexReader) and LUCENE-753 (NI

[jira] Resolved: (LUCENE-411) [PATCH] BitSetQuery, FastPrefixQuery, FastWildcardQuery and FastQueryParser

2008-11-17 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless resolved LUCENE-411. --- Resolution: Fixed Fix Version/s: 2.9 Assignee: (was: Lucene Develo

[jira] Commented: (LUCENE-1448) add getFinalOffset() to TokenStream

2008-11-17 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648122#action_12648122 ] Michael McCandless commented on LUCENE-1448: bq. Hmm now that we have getPosit

[jira] Commented: (LUCENE-1456) FieldInfo omitTerms bug

2008-11-17 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648119#action_12648119 ] Michael McCandless commented on LUCENE-1456: Indeed we should just remove both