[jira] Commented: (LUCENE-1581) LowerCaseFilter should be able to be configured to use a specific locale.

2009-06-27 Thread Steven Rowe (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724926#action_12724926 ] Steven Rowe commented on LUCENE-1581: - {quote} you could add the JDK collation key fil

[jira] Commented: (LUCENE-1719) Add javadoc notes about ICUCollationKeyFilter's speed advantage over CollationKeyFilter

2009-06-27 Thread Steven Rowe (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724923#action_12724923 ] Steven Rowe commented on LUCENE-1719: - I also tested ICU4J version 4.2 (released 6 wee

[jira] Updated: (LUCENE-1719) Add javadoc notes about ICUCollationKeyFilter's speed advantage over CollationKeyFilter

2009-06-27 Thread Steven Rowe (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steven Rowe updated LUCENE-1719: Description: contrib/collation's ICUCollationKeyFilter, which uses ICU4J collation, is faster t

[jira] Updated: (LUCENE-1719) Add javadoc notes about ICUCollationKeyFilter's speed advantage over CollationKeyFilter

2009-06-27 Thread Steven Rowe (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steven Rowe updated LUCENE-1719: Attachment: LUCENE-1719.patch Patch containing notes to add to collation key filter/analyzer class

[jira] Created: (LUCENE-1719) Add javadoc notes about ICUCollationKeyFilter's speed advantage over CollationKeyFilter

2009-06-27 Thread Steven Rowe (JIRA)
Add javadoc notes about ICUCollationKeyFilter's speed advantage over CollationKeyFilter --- Key: LUCENE-1719 URL: https://issues.apache.org/jira/browse/LUCENE-1719 Pr

Re: Improving TimeLimitedCollector

2009-06-27 Thread Mark Harwood
Odd. I see you're responding to a message from Shai I didn't get. Some mail being dropped somewhere along the line.. Why don't you use Thread.interrupt(), .isInterrupted() ? Not sure where exactly you mean for that? I'm not sure I understand that - how can a thread run >1 activity simult

Re: Improving TimeLimitedCollector

2009-06-27 Thread Earwin Burrfoot
Why don't you use Thread.interrupt(), .isInterrupted() ? On Sat, Jun 27, 2009 at 16:16, Shai Erera wrote: >> A downside of breaking it out into static methods like this is that a >> thread cannot run >1 time-limited activity simultaneously but I guess that >> might be a reasonable restriction. > >

Re: Improving TimeLimitedCollector

2009-06-27 Thread Shai Erera
> > A downside of breaking it out into static methods like this is that a > thread cannot run >1 time-limited activity simultaneously but I guess that > might be a reasonable restriction. > I'm not sure I understand that - how can a thread run >1 activity simultaneously anyway, and how's your impl

Re: Improving TimeLimitedCollector

2009-06-27 Thread Mark Harwood
Thanks for the feedback, Shai. So I guess you're suggesting breaking this out into a general utility class e.g. something like: class TimeLimitedThreadActivity { //called by client public static void startTimeLimitedActivity(long maxTimePermitted). public static voi

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

2009-06-27 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless resolved LUCENE-1630. Resolution: Fixed Super -- I just committed this; thanks Shai. > Mating Collector

Re: Improving TimeLimitedCollector

2009-06-27 Thread Shai Erera
I like the overall approach. However it's very local to an IndexReader. I.e., if someone wanted to limit other operations (say indexing), or does not use an IndexReader (for a Scorer impl maybe), one cannot reuse it. What if we factor out the timeout logic to a Timeout class (I think it can be a s

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

2009-06-27 Thread Shai Erera (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shai Erera updated LUCENE-1630: --- Attachment: LUCENE-1630.patch Added testcase to TestBooleanQuery > Mating Collector and Scorer on d

[jira] Commented: (LUCENE-1709) Parallelize Tests

2009-06-27 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724815#action_12724815 ] Michael McCandless commented on LUCENE-1709: Actually I see decent gains from