Build failed in Hudson: Solr-trunk #800

2009-05-12 Thread Apache Hudson Server
See http://hudson.zones.apache.org/hudson/job/Solr-trunk/800/ -- [...truncated 6706 lines...] [junit] Running org.apache.solr.analysis.TestCharFilter [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.411 sec [junit] Running org.apache

[jira] Updated: (SOLR-1147) QueryElevationComponent : updating elevate.xml through HTTP

2009-05-12 Thread Nicolas Pastorino (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nicolas Pastorino updated SOLR-1147: Attachment: QueryElevationAdministrationRequestHandler.java This is an updated version of th

Lucene update

2009-05-12 Thread Mark Miller
Any objection to a Lucene update? I need rev 770993 for the constant score highlighting fix. Changes below. - Mark r773194 | mikemccand | 2009-05-09 06:36:41 EDT LUCENE-1593: optimize core Collectors for in-docID-order scorer case

[jira] Updated: (SOLR-825) The ConstantScore family of queries does not work with highlighting

2009-05-12 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller updated SOLR-825: - Attachment: SOLR-825.patch > The ConstantScore family of queries does not work with highlighting >

Re: DirectUpdateHandler2 threads pile up behind scheduleCommitWithin

2009-05-12 Thread jayson.minard
The change to make commit consistent is possible during the call-back, I was trying to avoid that level of lock if possible but if it is the contract of that callback then we have to maintain it. Would be nice to be able to do the snapshot first, then release the lock and call the callback on t

Re: Lucene update

2009-05-12 Thread Yonik Seeley
On Tue, May 12, 2009 at 8:24 AM, Mark Miller wrote: > Any objection to a Lucene update? I need rev 770993 for the constant score > highlighting fix. Seems, fine go for it. -Yonik

[jira] Assigned: (SOLR-1012) Change SolrIndexSearcher to use inheritence rather than delegation

2009-05-12 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller reassigned SOLR-1012: - Assignee: Mark Miller > Change SolrIndexSearcher to use inheritence rather than delegation > -

[jira] Assigned: (SOLR-855) newSearcher(String name, boolean readOnly) doesn't work as advertised

2009-05-12 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller reassigned SOLR-855: Assignee: Mark Miller > newSearcher(String name, boolean readOnly) doesn't work as advertised > -

Threading in LBHttpSolrServer

2009-05-12 Thread Mark Miller
I think we have to take another look at the thread safety in LBHttpSolrServer. At a minimum it appears to be using double-checked locking with aliveCheckExecutor? I'll look closer later, but I think there are a couple issues. -- - Mark http://www.lucidimagination.com

RequestHandlers class oddity with lazy loading and ResourceLoaderAware

2009-05-12 Thread Mark Miller
Looks like there is a bug/oddity in RequestHandlers. If a Handler was lazy and implemented ResourceLoaderAware, you would get a null pointer exception. Seems 'handler' should be used rather than '_handler', except that RequestHandlers are not even allowed to implement ResourceLoaderAware? Shoul

[jira] Resolved: (SOLR-1012) Change SolrIndexSearcher to use inheritence rather than delegation

2009-05-12 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller resolved SOLR-1012. --- Resolution: Fixed Fix Version/s: 1.4 > Change SolrIndexSearcher to use inheritence rather than

[jira] Commented: (SOLR-773) Incorporate Local Lucene/Solr

2009-05-12 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708534#action_12708534 ] Grant Ingersoll commented on SOLR-773: -- I think, and correct me if I'm wrong, that one o

[jira] Issue Comment Edited: (SOLR-773) Incorporate Local Lucene/Solr

2009-05-12 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708534#action_12708534 ] Grant Ingersoll edited comment on SOLR-773 at 5/12/09 11:02 AM: ---

[jira] Created: (SOLR-1159) JmxMonitoredMap uses & when && is needed

2009-05-12 Thread Mark Miller (JIRA)
JmxMonitoredMap uses & when && is needed Key: SOLR-1159 URL: https://issues.apache.org/jira/browse/SOLR-1159 Project: Solr Issue Type: Bug Reporter: Mark Miller Assignee: Mark

[jira] Commented: (SOLR-773) Incorporate Local Lucene/Solr

2009-05-12 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708552#action_12708552 ] Yonik Seeley commented on SOLR-773: --- FunctionQuery would just be the interface to the under

[jira] Commented: (SOLR-773) Incorporate Local Lucene/Solr

2009-05-12 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708541#action_12708541 ] Grant Ingersoll commented on SOLR-773: -- Also, how does the TrieRange stuff factor into t

[jira] Commented: (SOLR-773) Incorporate Local Lucene/Solr

2009-05-12 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708560#action_12708560 ] Uwe Schindler commented on SOLR-773: bq. Also, how does the TrieRange stuff factor into t

Re: DirectUpdateHandler2 threads pile up behind scheduleCommitWithin

2009-05-12 Thread Shalin Shekhar Mangar
On Tue, May 12, 2009 at 5:49 AM, Mike Klaas wrote: > > Thanks, I'll take a look in the next few days. The current patch doesn't > guarantee index consistency during post-commit callback hooks, right? This > could be a problem for index replication. (Incidentally, I'm rather > unfamiliar with t

Re: Threading in LBHttpSolrServer

2009-05-12 Thread Shalin Shekhar Mangar
On Tue, May 12, 2009 at 9:06 PM, Mark Miller wrote: > I think we have to take another look at the thread safety in > LBHttpSolrServer. At a minimum it appears to be using double-checked locking > with aliveCheckExecutor? I'll look closer later, but I think there are a > couple issues. > You are

[jira] Commented: (SOLR-1159) JmxMonitoredMap uses & when && is needed

2009-05-12 Thread Shalin Shekhar Mangar (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708574#action_12708574 ] Shalin Shekhar Mangar commented on SOLR-1159: - Ah, my bad. Thanks for spotting t

[jira] Issue Comment Edited: (SOLR-773) Incorporate Local Lucene/Solr

2009-05-12 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708560#action_12708560 ] Uwe Schindler edited comment on SOLR-773 at 5/12/09 12:01 PM: -- b

[jira] Updated: (SOLR-1159) JmxMonitoredMap uses & when && is needed

2009-05-12 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller updated SOLR-1159: -- Priority: Trivial (was: Minor) > JmxMonitoredMap uses & when && is needed > ---

[jira] Resolved: (SOLR-1159) JmxMonitoredMap uses & when && is needed

2009-05-12 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller resolved SOLR-1159. --- Resolution: Fixed > JmxMonitoredMap uses & when && is needed > ---

[jira] Created: (SOLR-1160) AutoCommitTest randomly failed with NullPointerException

2009-05-12 Thread Mark Miller (JIRA)
AutoCommitTest randomly failed with NullPointerException Key: SOLR-1160 URL: https://issues.apache.org/jira/browse/SOLR-1160 Project: Solr Issue Type: Bug Reporter: Mark Mi

[jira] Updated: (SOLR-1160) AutoCommitTest randomly failed with NullPointerException

2009-05-12 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller updated SOLR-1160: -- Attachment: SOLR-1160.patch > AutoCommitTest randomly failed with NullPointerException > ---

[jira] Commented: (SOLR-773) Incorporate Local Lucene/Solr

2009-05-12 Thread patrick o'leary (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708605#action_12708605 ] patrick o'leary commented on SOLR-773: -- Sorry for not getting into this sooner- Lets ta

[jira] Created: (SOLR-1161) Exception in TestLBHttpSolrServer

2009-05-12 Thread Mark Miller (JIRA)
Exception in TestLBHttpSolrServer - Key: SOLR-1161 URL: https://issues.apache.org/jira/browse/SOLR-1161 Project: Solr Issue Type: Bug Reporter: Mark Miller Priority: Minor

[jira] Commented: (SOLR-773) Incorporate Local Lucene/Solr

2009-05-12 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708633#action_12708633 ] Uwe Schindler commented on SOLR-773: Hi Patrick, thanks for ding the comparison! {quote}

[jira] Updated: (SOLR-1155) Change DirectUpdateHandler2 to allow concurrent adds during an autocommit

2009-05-12 Thread Jayson Minard (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jayson Minard updated SOLR-1155: Attachment: SOLR-1155.patch Updated unit test to compile (was missing method change from previous pa

[jira] Created: (SOLR-1162) SolrJ does not maintain order of operations when using an UpdateRequest object to send them in bulk

2009-05-12 Thread Jayson Minard (JIRA)
SolrJ does not maintain order of operations when using an UpdateRequest object to send them in bulk --- Key: SOLR-1162 URL: https://issues.apache.org/jira/browse/SOLR-

[jira] Commented: (SOLR-1162) SolrJ does not maintain order of operations when using an UpdateRequest object to send them in bulk

2009-05-12 Thread Jayson Minard (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708655#action_12708655 ] Jayson Minard commented on SOLR-1162: - Working on this patch now... > SolrJ does not ma

[jira] Commented: (SOLR-773) Incorporate Local Lucene/Solr

2009-05-12 Thread patrick o'leary (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708679#action_12708679 ] patrick o'leary commented on SOLR-773: -- Misread positionIncrementGap as precisionStep, s

[jira] Commented: (SOLR-773) Incorporate Local Lucene/Solr

2009-05-12 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708680#action_12708680 ] Grant Ingersoll commented on SOLR-773: -- {quote} 1) What is the goal we want to achieve?

[jira] Issue Comment Edited: (SOLR-773) Incorporate Local Lucene/Solr

2009-05-12 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708680#action_12708680 ] Grant Ingersoll edited comment on SOLR-773 at 5/12/09 4:21 PM: ---

[jira] Commented: (SOLR-773) Incorporate Local Lucene/Solr

2009-05-12 Thread patrick o'leary (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708688#action_12708688 ] patrick o'leary commented on SOLR-773: -- On 1.2 LocalSolr has suffered from not being in

[jira] Commented: (SOLR-1162) SolrJ does not maintain order of operations when using an UpdateRequest object to send them in bulk

2009-05-12 Thread Noble Paul (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708785#action_12708785 ] Noble Paul commented on SOLR-1162: -- isn't it better to use multiple UpdateRequest to go in

[jira] Updated: (SOLR-1162) SolrJ does not maintain order of operations when using an UpdateRequest object to send them in bulk

2009-05-12 Thread Jayson Minard (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jayson Minard updated SOLR-1162: Attachment: Solr-1162.patch First round of patch, changed the UpdateRequest to maintain one list of

[jira] Updated: (SOLR-1155) Change DirectUpdateHandler2 to allow concurrent adds during an autocommit

2009-05-12 Thread Jayson Minard (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jayson Minard updated SOLR-1155: Attachment: (was: SOLR-1155.patch) > Change DirectUpdateHandler2 to allow concurrent adds during

[jira] Updated: (SOLR-1155) Change DirectUpdateHandler2 to allow concurrent adds during an autocommit

2009-05-12 Thread Jayson Minard (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jayson Minard updated SOLR-1155: Attachment: (was: SOLR-1155.patch) > Change DirectUpdateHandler2 to allow concurrent adds during

[jira] Updated: (SOLR-1155) Change DirectUpdateHandler2 to allow concurrent adds during an autocommit

2009-05-12 Thread Jayson Minard (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jayson Minard updated SOLR-1155: Attachment: (was: SOLR-1155.patch) > Change DirectUpdateHandler2 to allow concurrent adds during

[jira] Updated: (SOLR-1155) Change DirectUpdateHandler2 to allow concurrent adds during an autocommit

2009-05-12 Thread Jayson Minard (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jayson Minard updated SOLR-1155: Attachment: Solr-1155.patch Cleaning the patch so that RequestHandlerBase only has the required chan

[jira] Updated: (SOLR-1155) Change DirectUpdateHandler2 to allow concurrent adds during an autocommit

2009-05-12 Thread Jayson Minard (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jayson Minard updated SOLR-1155: Attachment: (was: SOLR-1155.patch) > Change DirectUpdateHandler2 to allow concurrent adds during

[jira] Updated: (SOLR-1155) Change DirectUpdateHandler2 to allow concurrent adds during an autocommit

2009-05-12 Thread Jayson Minard (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jayson Minard updated SOLR-1155: Attachment: (was: SOLR-1155.patch) > Change DirectUpdateHandler2 to allow concurrent adds during

[jira] Updated: (SOLR-1155) Change DirectUpdateHandler2 to allow concurrent adds during an autocommit

2009-05-12 Thread Jayson Minard (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jayson Minard updated SOLR-1155: Attachment: (was: SOLR-1155.patch) > Change DirectUpdateHandler2 to allow concurrent adds during

[jira] Updated: (SOLR-1155) Change DirectUpdateHandler2 to allow concurrent adds during an autocommit

2009-05-12 Thread Jayson Minard (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jayson Minard updated SOLR-1155: Attachment: (was: SOLR-1155.patch) > Change DirectUpdateHandler2 to allow concurrent adds during

[jira] Updated: (SOLR-1155) Change DirectUpdateHandler2 to allow concurrent adds during an autocommit

2009-05-12 Thread Jayson Minard (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jayson Minard updated SOLR-1155: Attachment: (was: SOLR-1155.patch) > Change DirectUpdateHandler2 to allow concurrent adds during

[jira] Updated: (SOLR-1155) Change DirectUpdateHandler2 to allow concurrent adds during an autocommit

2009-05-12 Thread Jayson Minard (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jayson Minard updated SOLR-1155: Attachment: (was: SOLR-1155.patch) > Change DirectUpdateHandler2 to allow concurrent adds during

[jira] Updated: (SOLR-1155) Change DirectUpdateHandler2 to allow concurrent adds during an autocommit

2009-05-12 Thread Jayson Minard (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jayson Minard updated SOLR-1155: Attachment: (was: SOLR-1155.patch) > Change DirectUpdateHandler2 to allow concurrent adds during

[jira] Updated: (SOLR-1155) Change DirectUpdateHandler2 to allow concurrent adds during an autocommit

2009-05-12 Thread Jayson Minard (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jayson Minard updated SOLR-1155: Attachment: (was: SOLR-1155.patch) > Change DirectUpdateHandler2 to allow concurrent adds during

[jira] Commented: (SOLR-1162) SolrJ does not maintain order of operations when using an UpdateRequest object to send them in bulk

2009-05-12 Thread Jayson Minard (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708789#action_12708789 ] Jayson Minard commented on SOLR-1162: - In response to Noble Paul: An UpdateRequest curr

[jira] Commented: (SOLR-1162) SolrJ does not maintain order of operations when using an UpdateRequest object to send them in bulk

2009-05-12 Thread Jayson Minard (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708790#action_12708790 ] Jayson Minard commented on SOLR-1162: - Current patch (12-May-2009 11:30PM) is not tested

[jira] Updated: (SOLR-1162) SolrJ does not maintain order of operations when using an UpdateRequest object to send them in bulk

2009-05-12 Thread Jayson Minard (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jayson Minard updated SOLR-1162: Issue Type: Improvement (was: Bug) > SolrJ does not maintain order of operations when using an Upda

[jira] Commented: (SOLR-1162) SolrJ does not maintain order of operations when using an UpdateRequest object to send them in bulk

2009-05-12 Thread Jayson Minard (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708792#action_12708792 ] Jayson Minard commented on SOLR-1162: - Also (for Noble Paul)... UpdateRequest is the in

[jira] Updated: (SOLR-1162) SolrJ does not maintain order of operations when using an UpdateRequest object to send them in bulk

2009-05-12 Thread Jayson Minard (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jayson Minard updated SOLR-1162: Attachment: Solr-1162.patch Updated patch to fix commitWithin parameter in UpdateRequest and failing

[jira] Commented: (SOLR-1155) Change DirectUpdateHandler2 to allow concurrent adds during an autocommit

2009-05-12 Thread Jayson Minard (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708795#action_12708795 ] Jayson Minard commented on SOLR-1155: - TODO: fix commitWithin, it isn't respected by th