[jira] Created: (LUCENE-1637) Getting an IndexReader from a committed IndexWriter

2009-05-14 Thread Shay Banon (JIRA)
Getting an IndexReader from a committed IndexWriter --- Key: LUCENE-1637 URL: https://issues.apache.org/jira/browse/LUCENE-1637 Project: Lucene - Java Issue Type: Improvement Componen

Re: Getting an IndexReader from a committed IndexWriter

2009-05-14 Thread Shay Banon
Done: https://issues.apache.org/jira/browse/LUCENE-1637. Jason Rutherglen-2 wrote: > > Ok, that makes sense. Can you open an issue? > > On Thu, May 14, 2009 at 6:56 PM, Shay Banon wrote: > >> >> I was referring in my original post to the code in trunk. What I am after >> is >> a "getCommitt

Re: Getting an IndexReader from a committed IndexWriter

2009-05-14 Thread Jason Rutherglen
Ok, that makes sense. Can you open an issue? On Thu, May 14, 2009 at 6:56 PM, Shay Banon wrote: > > I was referring in my original post to the code in trunk. What I am after > is > a "getCommittedReader" method similar to getReader that allows to open > (fast) an IndexReader reflecting the late

Build failed in Hudson: Lucene-trunk #828

2009-05-14 Thread Apache Hudson Server
See http://hudson.zones.apache.org/hudson/job/Lucene-trunk/828/changes Changes: [yonik] LUCENE-1596: MultiTermDocs speedup when set with MultiTermDocs.seek(MultiTermEnum) [mikemccand] LUCENE-1629: set javadocs encoding to UTF-8 [uschindler] set eol to native [mikemccand] LUCENE-1629: move CHA

Re: Getting an IndexReader from a committed IndexWriter

2009-05-14 Thread Shay Banon
I was referring in my original post to the code in trunk. What I am after is a "getCommittedReader" method similar to getReader that allows to open (fast) an IndexReader reflecting the latest committed state (or closed state) of the IndexWriter. The problem with the getReader method is the fact th

Re: Getting an IndexReader from a committed IndexWriter

2009-05-14 Thread Jason Rutherglen
Hi Shay, I think IndexWriter.getReader from LUCENE-1516 in trunk is what you're talking about? It pools readers internally so there's no need to call IndexReader.reopen, one simply calls IW.getReader to get new readers containing recent updates. -J BTW I replied to the message on java-u...@lucen

Getting an IndexReader from a committed IndexWriter

2009-05-14 Thread Shay Banon
Hi, I just had a look at the job done in IndexWriter in order to get an IndexReader with all the current ongoing changes done using the IndexWriter. This feature is very useful, and I was wondering if another feature, which (I think) is simple to implement (compared to the previous one) might

[jira] Resolved: (LUCENE-1596) optimize MultiTermEnum/MultiTermDocs

2009-05-14 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yonik Seeley resolved LUCENE-1596. -- Resolution: Fixed Fix Version/s: 2.9 Committed. > optimize MultiTermEnum/MultiTermDocs

[jira] Commented: (LUCENE-1634) LogMergePolicy should use the number of deleted docs when deciding which segments to merge

2009-05-14 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709441#action_12709441 ] Michael McCandless commented on LUCENE-1634: Patch looks good, thanks Yasuhiro

[jira] Commented: (LUCENE-1629) contrib intelligent Analyzer for Chinese

2009-05-14 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709425#action_12709425 ] Uwe Schindler commented on LUCENE-1629: --- Hi Xiaoping, Thanks! The code is now commi

[jira] Commented: (LUCENE-1629) contrib intelligent Analyzer for Chinese

2009-05-14 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709420#action_12709420 ] Michael McCandless commented on LUCENE-1629: OK, I just committed that fix (ja

[jira] Commented: (LUCENE-1629) contrib intelligent Analyzer for Chinese

2009-05-14 Thread Xiaoping Gao (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709416#action_12709416 ] Xiaoping Gao commented on LUCENE-1629: -- Test successful on my laptop now! Thank all o

[jira] Updated: (LUCENE-1629) contrib intelligent Analyzer for Chinese

2009-05-14 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-1629: -- Attachment: LUCENE-1629-encoding-fix.patch Hi Mike, a small patch: The HTML files generated by

[jira] Resolved: (LUCENE-1635) Handle Escape character

2009-05-14 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik Hatcher resolved LUCENE-1635. -- Resolution: Invalid This isn't a bug. If you're using SimpleAnalyzer, it makes sense that it

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

2009-05-14 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709375#action_12709375 ] Uwe Schindler commented on LUCENE-1636: --- What do you want to do with an filter witho

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

2009-05-14 Thread Wouter Heijke (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709372#action_12709372 ] Wouter Heijke commented on LUCENE-1636: --- Whatever cause it was, it was behaving this

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

2009-05-14 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709374#action_12709374 ] Uwe Schindler commented on LUCENE-1636: --- If you do not use a delegate TokenStream, e

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

2009-05-14 Thread Wouter Heijke (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709371#action_12709371 ] Wouter Heijke commented on LUCENE-1636: --- Here's an example before: private MyFilter

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

2009-05-14 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709369#action_12709369 ] Uwe Schindler commented on LUCENE-1636: --- Hi Wouter, I tend to say, this is Won't fix

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

2009-05-14 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-1636: -- Attachment: LUCENE-1636.patch This patch prevents changing the delegate stream. > TokenFilter

[jira] Commented: (LUCENE-1629) contrib intelligent Analyzer for Chinese

2009-05-14 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709357#action_12709357 ] Michael McCandless commented on LUCENE-1629: bq. The analyzer (and many more)

[jira] Commented: (LUCENE-1629) contrib intelligent Analyzer for Chinese

2009-05-14 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709355#action_12709355 ] Michael McCandless commented on LUCENE-1629: bq. Should I commit the ArabicAna

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

2009-05-14 Thread Wouter Heijke (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709353#action_12709353 ] Wouter Heijke commented on LUCENE-1636: --- My own filters and my own tests. It is just

[jira] Commented: (LUCENE-1629) contrib intelligent Analyzer for Chinese

2009-05-14 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709352#action_12709352 ] Uwe Schindler commented on LUCENE-1629: --- Fine! Should I commit the ArabicAnalyzer te

[jira] Commented: (LUCENE-1596) optimize MultiTermEnum/MultiTermDocs

2009-05-14 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709349#action_12709349 ] Michael McCandless commented on LUCENE-1596: bq. although this unfortunately

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

2009-05-14 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709348#action_12709348 ] Michael McCandless commented on LUCENE-1636: Hmm... that's no good. Can you g

[jira] Resolved: (LUCENE-1629) contrib intelligent Analyzer for Chinese

2009-05-14 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless resolved LUCENE-1629. Resolution: Fixed Thanks everyone! > contrib intelligent Analyzer for Chinese > -

[jira] Commented: (LUCENE-1629) contrib intelligent Analyzer for Chinese

2009-05-14 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709345#action_12709345 ] Michael McCandless commented on LUCENE-1629: Awesome! I've applied your patch

[jira] Updated: (LUCENE-1629) contrib intelligent Analyzer for Chinese

2009-05-14 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-1629: -- Attachment: build-resources-with-folder.patch This is a second try, again with the resources f

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

2009-05-14 Thread Wouter Heijke (JIRA)
TokenFilters with a null value in the constructor fail -- Key: LUCENE-1636 URL: https://issues.apache.org/jira/browse/LUCENE-1636 Project: Lucene - Java Issue Type: Bug Affects Versions

[jira] Updated: (LUCENE-1629) contrib intelligent Analyzer for Chinese

2009-05-14 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-1629: -- Attachment: build-resources.patch Here another try with Erik's suggestion: I moved the task t