[jira] Resolved: (LUCENE-1763) MergePolicy should require an IndexWriter upon construction

2009-08-01 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless resolved LUCENE-1763. Resolution: Fixed Thanks Shai! > MergePolicy should require an IndexWriter upon c

IndexWriter.getReader usage

2009-08-01 Thread Grant Ingersoll
In many NRT cases, it seems the traditional approach has been to have two RAM directories and a write-through FS Directory (for example Zoie does this, and it has also been discussed a fair number of times on the various lists). I'm wondering how the new IndexWriter.getReader stuff relates

[jira] Commented: (LUCENE-1749) FieldCache introspection API

2009-08-01 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737871#action_12737871 ] Michael McCandless commented on LUCENE-1749: This was an excellent idea, and i

Re: IndexWriter.getReader usage

2009-08-01 Thread DM Smith
On Aug 1, 2009, at 7:52 AM, Grant Ingersoll wrote: In many NRT cases, it seems the traditional approach has been to have two RAM directories and a write-through FS Directory (for example Zoie does this, and it has also been discussed a fair number of times on the various lists). I'm wonde

[jira] Commented: (LUCENE-1749) FieldCache introspection API

2009-08-01 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737877#action_12737877 ] Yonik Seeley commented on LUCENE-1749: -- bq. In fact maybe we should simply fix In

Re: IndexWriter.getReader usage

2009-08-01 Thread Yonik Seeley
On Sat, Aug 1, 2009 at 8:30 AM, DM Smith wrote: > On Aug 1, 2009, at 7:52 AM, Grant Ingersoll wrote: >> I'm wondering how the new IndexWriter.getReader stuff relates to >> that approach?  Is there even a need for the RAM dirs at this point? > > I'm curious as to how it obviates the need for a RAM

Re: IndexWriter.getReader usage

2009-08-01 Thread Grant Ingersoll
On Aug 1, 2009, at 8:45 AM, Yonik Seeley wrote: On Sat, Aug 1, 2009 at 8:30 AM, DM Smith wrote: On Aug 1, 2009, at 7:52 AM, Grant Ingersoll wrote: I'm wondering how the new IndexWriter.getReader stuff relates to that approach? Is there even a need for the RAM dirs at this point? I'm cur

[jira] Commented: (LUCENE-1695) Update the Highlighter to use the new TokenStream API

2009-08-01 Thread Koji Sekiguchi (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737885#action_12737885 ] Koji Sekiguchi commented on LUCENE-1695: Mark, can you remove System.out from Toke

[jira] Commented: (LUCENE-1695) Update the Highlighter to use the new TokenStream API

2009-08-01 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737887#action_12737887 ] Mark Miller commented on LUCENE-1695: - Sorry about that Koji - just updated it. > Upd

[jira] Commented: (LUCENE-1749) FieldCache introspection API

2009-08-01 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737889#action_12737889 ] Mark Miller commented on LUCENE-1749: - bq . Ie we want it to share as much of the code

[jira] Updated: (LUCENE-1749) FieldCache introspection API

2009-08-01 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller updated LUCENE-1749: Attachment: LUCENE-1749.patch changes to just go per reader for each doc - and a couple other unre

Re: [jira] Updated: (LUCENE-1749) FieldCache introspection API

2009-08-01 Thread Chris Hostetter
: changes to just go per reader for each doc - and a couple other unrelated tiny tweaks. FWIW: now that this issues has uncovered a few genuine "bugs" in code (as opposed to justs tests being odd) it would probably be better to track those bugs and their patches in seperate issues that can be

Re: [jira] Updated: (LUCENE-1749) FieldCache introspection API

2009-08-01 Thread Mark Miller
Yeah, I have no problem breaking them out in the end (and am trying to also track with separate JIRA issues). For right now its easier to keep it here though - since this is the code thats catching the bugs, and has the code to keep checking without having to juggle multiple patches. And the ch

[jira] Updated: (LUCENE-1771) Using explain may double ram reqs for fieldcaches when using ValueSourceQuery/CustomScoreQuery or for ConstantScoreQuerys that use a caching Filter.

2009-08-01 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller updated LUCENE-1771: Summary: Using explain may double ram reqs for fieldcaches when using ValueSourceQuery/CustomScore

[jira] Updated: (LUCENE-1685) Make the Highlighter use SpanScorer by default

2009-08-01 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller updated LUCENE-1685: Attachment: LUCENE-1685.patch Has the broad stokes - SpanScorer becomes QueryScorer, QueryScorer b

[jira] Updated: (LUCENE-1486) Wildcards, ORs etc inside Phrase queries

2009-08-01 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller updated LUCENE-1486: Attachment: LUCENE-1486.patch patch that moves to contrib > Wildcards, ORs etc inside Phrase quer

[jira] Assigned: (LUCENE-1486) Wildcards, ORs etc inside Phrase queries

2009-08-01 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller reassigned LUCENE-1486: --- Assignee: Mark Miller (was: Mark Harwood) > Wildcards, ORs etc inside Phrase queries >

[jira] Assigned: (LUCENE-1764) SampleComparable doesn't work well in contrib/remote tests

2009-08-01 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller reassigned LUCENE-1764: --- Assignee: Mark Miller > SampleComparable doesn't work well in contrib/remote tests > ---

[jira] Created: (LUCENE-1773) Add benchmark task for FastVectorHighlighter

2009-08-01 Thread Koji Sekiguchi (JIRA)
Add benchmark task for FastVectorHighlighter Key: LUCENE-1773 URL: https://issues.apache.org/jira/browse/LUCENE-1773 Project: Lucene - Java Issue Type: New Feature Components: contrib/be

[jira] Updated: (LUCENE-1773) Add benchmark task for FastVectorHighlighter

2009-08-01 Thread Koji Sekiguchi (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Koji Sekiguchi updated LUCENE-1773: --- Attachment: LUCENE-1773.patch > Add benchmark task for FastVectorHighlighter > -

[jira] Commented: (LUCENE-1770) WikipediaQueryMaker

2009-08-01 Thread Koji Sekiguchi (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737924#action_12737924 ] Koji Sekiguchi commented on LUCENE-1770: Mark, I used this patch in LUCENE-1773, b

[jira] Commented: (LUCENE-1770) WikipediaQueryMaker

2009-08-01 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737936#action_12737936 ] Mark Miller commented on LUCENE-1770: - Yeah, sorry bout that. I had updated that query

[jira] Created: (LUCENE-1774) In a benchmark alg, if you use a log.step thats higher than the number of docs you add, whacky high numbers are logged for doc adds

2009-08-01 Thread Mark Miller (JIRA)
In a benchmark alg, if you use a log.step thats higher than the number of docs you add, whacky high numbers are logged for doc adds --- Key: LUCENE-1774

[jira] Commented: (LUCENE-1574) PooledSegmentReader, pools SegmentReader underlying byte arrays

2009-08-01 Thread John Wang (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737950#action_12737950 ] John Wang commented on LUCENE-1574: --- Re: Zoie and deleted docs: That is no longer true,

[jira] Commented: (LUCENE-1460) Change all contrib TokenStreams/Filters to use the new TokenStream API

2009-08-01 Thread Michael Busch (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737952#action_12737952 ] Michael Busch commented on LUCENE-1460: --- I'll commit this current patch soon and the

[jira] Updated: (LUCENE-1749) FieldCache introspection API

2009-08-01 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller updated LUCENE-1749: Attachment: LUCENE-1749.patch Patch cleanup - more suitable for browsing. > FieldCache introspect

TestIndexWriter failure

2009-08-01 Thread Michael Busch
While running 'ant test' I just got this failure (on Mac OS 10.5.7). Even worse, the next time I ran it the test passed, so this might be hard to reproduce. I haven't tried yet to find out what caused this. [junit] Exception in thread "Lucene Merge Thread #1" org.apache.lucene.index.MergeP

[jira] Updated: (LUCENE-1770) WikipediaQueryMaker

2009-08-01 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller updated LUCENE-1770: Attachment: LUCENE-1770.patch fixes wildcard to use constantscore rewrite and the last query was m

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

2009-08-01 Thread Luis Alves (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737957#action_12737957 ] Luis Alves commented on LUCENE-1567: Hi Michael, {quote} OK, didn't know there was an

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

2009-08-01 Thread Luis Alves (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737787#action_12737787 ] Luis Alves edited comment on LUCENE-1567 at 8/1/09 3:05 PM: I

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

2009-08-01 Thread Luis Alves (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737957#action_12737957 ] Luis Alves edited comment on LUCENE-1567 at 8/1/09 3:07 PM: Hi

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

2009-08-01 Thread Michael Busch (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737958#action_12737958 ] Michael Busch commented on LUCENE-1567: --- No worries. I just tested the latest patch

[jira] Updated: (LUCENE-1460) Change all contrib TokenStreams/Filters to use the new TokenStream API

2009-08-01 Thread Michael Busch (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Busch updated LUCENE-1460: -- Attachment: lucene-1460.patch Latest patch that converts all streams, except the single ones.

[jira] Updated: (LUCENE-1764) SampleComparable doesn't work well in contrib/remote tests

2009-08-01 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller updated LUCENE-1764: Attachment: LUCENE-1764.patch Not very happy with it, but here is sort of a stub for the type of d

[jira] Resolved: (LUCENE-1460) Change all contrib TokenStreams/Filters to use the new TokenStream API

2009-08-01 Thread Michael Busch (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Busch resolved LUCENE-1460. --- Resolution: Fixed Committed. > Change all contrib TokenStreams/Filters to use the new Token

[jira] Commented: (LUCENE-1460) Change all contrib TokenStreams/Filters to use the new TokenStream API

2009-08-01 Thread Michael Busch (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737965#action_12737965 ] Michael Busch commented on LUCENE-1460: --- Robert, thank you for all your help here!!!

[jira] Created: (LUCENE-1775) Change org.apache.lucene.analysis.shingle to use new TokenStream API

2009-08-01 Thread Michael Busch (JIRA)
Change org.apache.lucene.analysis.shingle to use new TokenStream API Key: LUCENE-1775 URL: https://issues.apache.org/jira/browse/LUCENE-1775 Project: Lucene - Java Issue Ty

[jira] Commented: (LUCENE-1759) Implement TokenStream.end() in contrib TokenStreams

2009-08-01 Thread Michael Busch (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737966#action_12737966 ] Michael Busch commented on LUCENE-1759: --- Now that LUCENE-1460 is committed I can cre

[jira] Updated: (LUCENE-1759) Implement TokenStream.end() in contrib TokenStreams

2009-08-01 Thread Michael Busch (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Busch updated LUCENE-1759: -- Attachment: lucene-1759.patch I converted Mike's patch from LUCENE-1448 to use the new end() m

[jira] Resolved: (LUCENE-1759) Implement TokenStream.end() in contrib TokenStreams

2009-08-01 Thread Michael Busch (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Busch resolved LUCENE-1759. --- Resolution: Fixed Committed revision 799968. > Implement TokenStream.end() in contrib Token

[jira] Commented: (LUCENE-1759) Implement TokenStream.end() in contrib TokenStreams

2009-08-01 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737979#action_12737979 ] Mark Miller commented on LUCENE-1759: - This is under new features in changes, but wasn

Contrib Changes entry in core Changes

2009-08-01 Thread Mark Miller
Unless there is an objection, I'm going to move the following line from the core Changes/New Features section to the contrib Changes file - it belongs there. 5. Added web-based demo of functionality in contrib's XML Query Parser packaged as War file (Mark Harwood) -- - Mark http://www.lucid

[jira] Commented: (LUCENE-1749) FieldCache introspection API

2009-08-01 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737984#action_12737984 ] Mark Miller commented on LUCENE-1749: - bq. I was a bit hazy on explain, so for some re

[jira] Updated: (LUCENE-1522) another highlighter

2009-08-01 Thread Koji Sekiguchi (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Koji Sekiguchi updated LUCENE-1522: --- Attachment: LUCENE-1522-multiValued-test.patch Now LUCENE-1448 and LUCENE-1759 has been comm

[jira] Updated: (LUCENE-1773) Add benchmark task for FastVectorHighlighter

2009-08-01 Thread Koji Sekiguchi (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Koji Sekiguchi updated LUCENE-1773: --- Attachment: LUCENE-1773.patch Updated: * Fixed javadoc comments * added "WarmTV" alg in to h

[jira] Commented: (LUCENE-1759) Implement TokenStream.end() in contrib TokenStreams

2009-08-01 Thread Michael Busch (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737998#action_12737998 ] Michael Busch commented on LUCENE-1759: --- Do you mean the entry for LUCENE-1448? I ad