Hudson build is back to normal: Solr-trunk #427

2008-05-01 Thread Apache Hudson Server
See http://hudson.zones.apache.org/hudson/job/Solr-trunk/427/changes

Re: Solr Logging

2008-05-01 Thread Henrib
David Smiley @MITRE.org wrote: > > (A) jul-log4j-bridge plus the "apache-log4j-component" library seems > unmaintained > (C) I had to update the log4j-boot.jar of JBoss to the latest Log4j-1.2.15 > I went more or less through the same path; I did "custom" build the bridge by stripping the need

Re: LRUCache - synchronized!?

2008-05-01 Thread Yonik Seeley
On Tue, Apr 29, 2008 at 2:37 PM, Funtick <[EMAIL PROTECTED]> wrote: > > Thanks Otis; > > > > > Object get(Object key) { > > > synchronized (map) { > > > ... .incrementAndGet() > > > ... > > > } > > Existing code does not slow down performance in simplest cases. Howeve

Re: logging through log4j (or better yet, SLF4J)

2008-05-01 Thread Henrib
Erik Hatcher wrote: > > It seems to me Sun left it wide open for a thousand implementations > to flourish, actually. What's to prevent a ClassLoader specific > LogManagerManager from being put into the mix? Nothing - that's what > JULI does. > Being able to override the default impleme

[jira] Commented: (SOLR-303) Distributed Search over HTTP

2008-05-01 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12593574#action_12593574 ] Yonik Seeley commented on SOLR-303: --- I just committed shards_qt.patch > Distributed Search

Best Way to Run a Single File's Unit Tests?

2008-05-01 Thread Chris Harris
Could someone with junit skills tell me the best way to run the tests not from the whole Solr test suite but rather from a single test file, e.g. from BasicFunctionalityTest.java? I'm currently trying [running from c:\solrrichstuff\trunk\src\test\test-files] java.exe -classpath ".;../../../lib/ju

[jira] Created: (SOLR-554) Hierarchical JDK log level selector for SOLR Admin

2008-05-01 Thread Sean Timm (JIRA)
Hierarchical JDK log level selector for SOLR Admin -- Key: SOLR-554 URL: https://issues.apache.org/jira/browse/SOLR-554 Project: Solr Issue Type: Improvement Reporter: Sean Timm

[jira] Updated: (SOLR-554) Hierarchical JDK log level selector for SOLR Admin

2008-05-01 Thread Sean Timm (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sean Timm updated SOLR-554: --- Attachment: LogLevelSelection.java Here is an implementation written in a servlet. To configure, add {code:xml

[jira] Commented: (SOLR-502) Add search time out support

2008-05-01 Thread patrick o'leary (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12593634#action_12593634 ] patrick o'leary commented on SOLR-502: -- Has this had any traction in the solr core yet?

[jira] Commented: (SOLR-551) SOlr replication should include the schema also

2008-05-01 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12593638#action_12593638 ] Yonik Seeley commented on SOLR-551: --- I agree with the goals, and this does seem doable now

Re: Best Way to Run a Single File's Unit Tests?

2008-05-01 Thread Mike Klaas
On 1-May-08, at 11:58 AM, Chris Harris wrote: Could someone with junit skills tell me the best way to run the tests not from the whole Solr test suite but rather from a single test file, e.g. from BasicFunctionalityTest.java? I'm currently trying [running from c:\solrrichstuff\trunk\src\test\t

[jira] Created: (SOLR-555) Autogenerate "user" docs about "plugins" from code

2008-05-01 Thread Hoss Man (JIRA)
Autogenerate "user" docs about "plugins" from code -- Key: SOLR-555 URL: https://issues.apache.org/jira/browse/SOLR-555 Project: Solr Issue Type: Improvement Reporter: Hoss Man

[jira] Updated: (SOLR-555) Autogenerate "user" docs about "plugins" from code

2008-05-01 Thread Hoss Man (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hoss Man updated SOLR-555: -- Attachment: SOLR-555.patch For the past few months, I've spent a few hours a week playing around with the javado

Re: logging through log4j (or better yet, SLF4J)

2008-05-01 Thread Chris Hostetter
: And Jetty is what WE ship, not just me using it. By definition, the container : that we ship for our examples doesn't do logging right. How would we expect : anyone else to? Jetty, in my opinion, doesn't do JUL logging wrong -- it just doesn't add any bells and whistles. It defers to whatev

Re: logging through log4j (or better yet, SLF4J)

2008-05-01 Thread Chris Hostetter
: Being able to override the default implementation fortunately allows to : implement the must-have feature you describe as the "ClassLoader specific : LogManagerManager", I agree; however, I think it should have been in the : default implementation. I view this as a major regression from the prev

Re: Solr Logging

2008-05-01 Thread Chris Hostetter
It's not just a question of API compatibility, it's a question of *class* compatibility (ie: byte code) Even if the public APIs are consistent, it's very easy to get into "classloader hell" when a webapp has one version of a class loaded (even if it's a private class) while the servlet contain

Re: Solr Logging

2008-05-01 Thread Chris Hostetter
: As an aside, I do wonder why there isn't a JUL to Log4j adapter out there... : maybe our energies would be better served directed at such a thing. +1 :) See Also: http://www.nabble.com/Solr-Logging-to16836646.html#a16838411 >> implementation. If people spent as much time writing implementat

[jira] Commented: (SOLR-555) Autogenerate "user" docs about "plugins" from code

2008-05-01 Thread Ryan McKinley (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12593712#action_12593712 ] Ryan McKinley commented on SOLR-555: {quote} but as a proof of concept i think it's prett