Re: Solr unit tests intermittently fail with error: java.lang.NoClassDefFoundError: org/eclipse/jetty/util/security/CertificateUtils

2015-01-13 Thread brian4
The problem is the jetty-util version included in the Solr build is 6.1.26, but this particular package is from version 7+. Looks like it is a bug in the build files for Solr. I fixed it by downloading jetty 7 separately and manually adding jetty-util-7.6.16.v20140903.jar to the end of my classpa

Re: what does this "write.lock does not exist" mean??

2014-12-23 Thread brian4
Haven't seen this particular problem before, but it sounds like it could be a problem with permissions or data size limits - it may be worth looking into. The "write.lock" file is used when an index is being modified - it is how lucene handles concurrent attempts to modify the index - a writer obt

Solr unit tests intermittently fail with error: java.lang.NoClassDefFoundError: org/eclipse/jetty/util/security/CertificateUtils

2014-12-22 Thread brian4
I'm trying to run a unit test for a custom request handler component with Solr 4.10.0. I followed the pattern of existing "unit tests", extending "SolrTestCaseJ4". I first ran "ant eclipse" on the 4.10 source, then included all lib files generated (as well as all the solr and lucene core lib file

Re: Indexing with SolrJ fails on windows

2014-11-24 Thread brian4
The problem seems to occur at the apache redirect - I found if I bypass apache by using my VM IP address directly as the Solr URL, then the error does not occur even from windows. >From some searching it seems like Apache does not allow carriage returns in its request headers - so my guess is Solr

Indexing with SolrJ fails on windows

2014-11-24 Thread brian4
I am using solrj to index to Solr through a Java application - I've tried this both with Solr 4.8.1 and Solr 4.10.2, indexing to Solr 4.10.0. I've found I cannot index too large content (a field with 400 words) or more than 1 document at once to Solr instances from windows. The exact same indexin

edismax pf param not resulting in disjunction max query

2014-07-11 Thread brian4
We are upgrading to Solr 4.8 from 3.5, and I was testing search results with 4.8. I found that with an edismax request handler the pf param is being treated differently. In 3.5 it was used as a disjunction max with tiebreaker, i.e. the max score from all the matching fields was taken and the tieb

Keep existing field values that are not specified for re-added documents?

2013-08-01 Thread brian4
We are using solr for offering search for our website. We want to add an anchor text field value (from incoming links to a webpage), a link popularity score field value, and other similar field values, that are computed separately from the programs page owners use to index their documents to Solr.