Re: Running Unit Tests from inside Eclipse

2007-06-27 Thread Chris Hostetter
: the path in Config.java. Attached is a patch file for these two : changes. FYI; apache mailing lists strip most attachments ... i think it works if hte mime-type is text/plain, but the simplest thing to do is just include it inline in your message. (as a general philosophy, i'm opposed to

Re: Running Unit Tests from inside Eclipse

2007-06-27 Thread Yonik Seeley
On 6/27/07, Eric Pugh <[EMAIL PROTECTED]> wrote: I added to public TestHarness(String dataDirectory, String confFile, String schemaFile) { these lines: System.setProperty("solr.test.sys.prop1", "propone"); System.setProperty("solr.test.sys.prop2", "

Re: Running Unit Tests from inside Eclipse

2007-06-27 Thread Ryan McKinley
You need to add something like: "-Dsolr.test.sys.prop1=xxx -Dsolr.test.sys.prop2=xxx" to the VM arguments in the Run panel. It is kind of annoying they are required for all tests... ideally we would move the schema property testing to an independent test, but that has not happend yet. Eri

Re: Running Unit Tests from inside Eclipse

2007-06-27 Thread Eric Pugh
I was wondering about that, but also, how do you handle the two system properties? I added to public TestHarness(String dataDirectory, String confFile, String schemaFile) { these lines: System.setProperty("solr.test.sys.prop1", "propone"); System.se

Re: Multiple indexes/cores (aka solr-215) functional value?

2007-06-27 Thread Chris Hostetter
: At this point, Solr-215 just looks like a solution to my problem... : My apologies for the clutter & waste of community resources. Please, please, PLEASE don't feel that way ... a functioning patch and/or a productive discussion is *NEVER* a waste of resources. I think Doug Cutting is the first

Re: svn commit: r551060 - /lucene/solr/trunk/src/java/org/apache/solr/update/DocumentBuilder.java

2007-06-27 Thread Yonik Seeley
On 6/27/07, Chris Hostetter <[EMAIL PROTECTED]> wrote: : check for null copyField source, delay some allocations i understanding delaying the allocation of missingFields, but why only a size of 1 once it is allocated? Actually, it's an error case, so I don't really care about the speed or mem

Re: svn commit: r551060 - /lucene/solr/trunk/src/java/org/apache/solr/update/DocumentBuilder.java

2007-06-27 Thread Chris Hostetter
: check for null copyField source, delay some allocations i understanding delaying the allocation of missingFields, but why only a size of 1 once it is allocated? (is this just an assumption thta typically only a few fieldswill be missing? would it make sense to just switch to a LinkedLIst sin

Re: Running Unit Tests from inside Eclipse

2007-06-27 Thread Yonik Seeley
I tell IntelliJ IDEA to set the working directory for all the tests to F:\code\solr\src\test\test-files -Yonik On 6/27/07, Eric Pugh <[EMAIL PROTECTED]> wrote: Hi all, I always run into path issues when running the unit tests from inside of Eclipse... For example, when I run TestCSVLoader.jav

[jira] Commented: (SOLR-272) SolrDocument performance testing

2007-06-27 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12508614 ] Yonik Seeley commented on SOLR-272: --- An alternate way to do SolrDocument would be to only add a Collection if there

Running Unit Tests from inside Eclipse

2007-06-27 Thread Eric Pugh
Hi all, I always run into path issues when running the unit tests from inside of Eclipse... For example, when I run TestCSVLoader.java I get java.lang.ExceptionInInitializerError at org.apache.solr.util.TestHarness.(TestHarness.java:101) at org.apache.solr.util.AbstractSolrTestCase.

[jira] Resolved: (SOLR-266) Let the LukeRequestHandler return parsed schema information

2007-06-27 Thread Ryan McKinley (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ryan McKinley resolved SOLR-266. Resolution: Fixed > Let the LukeRequestHandler return parsed schema information > ---

[jira] Commented: (SOLR-272) SolrDocument performance testing

2007-06-27 Thread Ryan McKinley (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12508603 ] Ryan McKinley commented on SOLR-272: ok, now i'm getting the same results as you. thanks. > SolrDocument performa

[jira] Commented: (SOLR-272) SolrDocument performance testing

2007-06-27 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12508600 ] Yonik Seeley commented on SOLR-272: --- FYI, I tested on both P4 and Athlon with Java6 -server Of course this is still r

[jira] Updated: (SOLR-272) SolrDocument performance testing

2007-06-27 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yonik Seeley updated SOLR-272: -- Attachment: SolrDocumentPerformanceTester.java Attraching the modified test prog I used. I modified it to

Re: Multiple indexes/cores (aka solr-215) functional value?

2007-06-27 Thread Yonik Seeley
On 6/27/07, Henrib <[EMAIL PROTECTED]> wrote: At this point, Solr-215 just looks like a solution to my problem... My apologies for the clutter & waste of community resources. Not at all... I don't mean to discourage you. I'm still on the fence, and it's a large patch to swallow and figure out a

Re: Multiple indexes/cores (aka solr-215) functional value?

2007-06-27 Thread Henrib
The starting point for Solr-215 was this http://www.nabble.com/Embedding-Solr-vs-Lucene%2C-multiple-Solr-cores--tf3572324.html thread in April. I'll still say that some of our customers IT are making deployment of multiple webapps something more complex than it should...but they do! IT is in fa

[jira] Updated: (SOLR-236) Field collapsing

2007-06-27 Thread Emmanuel Keller (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Keller updated SOLR-236: - Attachment: SOLR-236-FieldCollapsing.patch This new patch resolves a performance issues. I have add

Re: Multiple indexes/cores (aka solr-215) functional value?

2007-06-27 Thread Yonik Seeley
On 6/27/07, Henrib <[EMAIL PROTECTED]> wrote: This http://www.nabble.com/multiple-indices-tf3982573.html thread triggers the question again. Solr-215 makes it easier to deploy multiple indexes than using multiple web applications; but is "easier" enough for not being just a superfluous feature?

Re: Multiple indexes/cores (aka solr-215) functional value?

2007-06-27 Thread Henrib
This http://www.nabble.com/multiple-indices-tf3982573.html thread triggers the question again. Solr-215 makes it easier to deploy multiple indexes than using multiple web applications; but is "easier" enough for not being just a superfluous feature? Henrib wrote: > > > > The idea of the mul

[jira] Resolved: (SOLR-276) XML vs JSON writer performance issues

2007-06-27 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yonik Seeley resolved SOLR-276. --- Resolution: Fixed committed. > XML vs JSON writer performance issues > ---

[jira] Updated: (SOLR-267) log handler + query + hits

2007-06-27 Thread Will Johnson (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Johnson updated SOLR-267: -- Attachment: LogQueryHitCounts.patch new patch that writes out request params as cgi instead of NL.toStrin

[jira] Commented: (SOLR-272) SolrDocument performance testing

2007-06-27 Thread Ryan McKinley (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12508478 ] Ryan McKinley commented on SOLR-272: Just so we are on the same page... Are you using SolrDocumentPerformanceTest