Re: [Update] Solr can be started from jetty but not tomcat

2008-03-13 Thread Vinci
Hi, Thank you for you reply. here is the last line in the catalina log...Does XPath fail? If so, what should I do? Caused by: java.lang.RuntimeException: XPathFactory#newInstance() failed to create an XPathFactory for the default object model: http://java.sun.com/jaxp/xpath/dom with the

Re: [Update] Solr can be started from jetty but not tomcat

2008-03-13 Thread Vinci
Hi ryantxu, By your hint, I found there is XML library missing in tomcat, not multicore.xml cause the problem (* For single core mode, you should not allow any multicore.xml exist in solr/home - unless you placed the file properly, as http://www.nabble.com/forum/ViewPost.jtp?post=16001210

Re: [Update] Solr can be started from jetty but not tomcat

2008-03-13 Thread Vinci
(This is a follow up post) *Note: there is the misleading deployment success message in tomcat manager even the war file inside the default webapps folder - it need to be outside in order to get non 400 message. NOTICE: Change of war file dir has equivalence effect of undepoly - all manual change

Re: [Update] Solr can be started from jetty but not tomcat

2008-03-13 Thread Vinci
(This is a follow up post) *Note: there is the misleading deployment success message in tomcat manager even the war file inside the default webapps folder - it need to be outside in order to get non 400 message. NOTICE: Change of war file dir has equivalence effect of undepoly - all manual change

Re: [Update] Solr can be started from jetty but not tomcat

2008-03-13 Thread Ryan McKinley
glad you got things worked out. I don't use tomcat, so I can't be too much use. Check: http://wiki.apache.org/solr/SolrTomcat and also feel free to include any tips to help others as well. One more question: Does tomcat have anywhere to place the library shared by all application? This

Re: return only sorted Field, but with a different Field Name

2008-03-13 Thread Ryan McKinley
Chris Hostetter wrote: : there is nothing like this in solr right now, it doesn't seem like something : that should be odne in solr, as it would be a simple translation that could : be done via an XSLT or some client layer code. : It may be more work then it is worth, but I would like to see

Finding an empty field

2008-03-13 Thread Lance Norskog
I have an index which I cannot rebuild (it is very large). The schema includes a field 'dateorigin_sort'. This is an integer, not an 'sint'. It sorts very quickly but does not support range queries. Somehow the index has acquired one record out of millions in which an integer value has been

uriEncoding for solr in glassfish

2008-03-13 Thread Peter Cline
Hi all, This is a little off-topic, so I apologize. I asked a question not too long ago about uri encoding problems, and got a quick and accurate response, so I thought I would try again. I need to pass utf-8 encoded characters to solr instances, so I need the uri encoding to be done in

What can get past document uniqueness?

2008-03-13 Thread Brian Whitman
On a solr instance with !-- field to use to determine and enforce document uniqueness. -- uniqueKeyid/uniqueKey This is happening: http://solr/select?q=id:abc123fl=id doc str name=idabc123/str /doc doc str name=idabc123/str /doc Lots of weird stuff is writing to this index: solrj code,

Re: What can get past document uniqueness?

2008-03-13 Thread Ryan McKinley
Check this thread: http://www.nabble.com/duplicate-entries-being-returned%2C-possible-caching-issue--td15237016.html perhaps it is related? Brian Whitman wrote: On a solr instance with !-- field to use to determine and enforce document uniqueness. -- uniqueKeyid/uniqueKey This is

Limit on # of fields to query on

2008-03-13 Thread Andrew Nagy
I am testing around with a new feature in my system that uses Solr and I am testing a query that has a search on the same field OR'd together over 150 times. I know this sounds pretty ridiculous and as I said I am just playing around. However Solr just returns a blank page and doesn't process

Re: Limit on # of fields to query on

2008-03-13 Thread Erik Hatcher
Lucene's BooleanQuery has a configurable max, defaulted to 1024 clauses.Configurable via solrconfig in: maxBooleanClauses1024/maxBooleanClauses Are you getting an exception from Solr, either in the console or log or in the response sent to the client? If so, what is it? You say

searching from command line?

2008-03-13 Thread peter360
Hi, Is anyone aware of a command line tool that builds and searches a solr index without running solr as a servlet? My plan is to do the following: build and validate an index on a single indexer machine, then push the index to a few search machines. It seems to me that there is no need to run

Re: searching from command line?

2008-03-13 Thread Jon Baer
You can do this via Luke http://www.getopt.org/luke/ -snip- Command-line argument parsing. Now you can open an index on startup, and optionally execute a script Scripting plugin, which allows you to interactively experiment with Luke and Lucene indexes. This plugin also can run scripts from

Re: searching from command line?

2008-03-13 Thread Erik Hatcher
On Mar 13, 2008, at 7:12 PM, peter360 wrote: Is anyone aware of a command line tool that builds and searches a solr index without running solr as a servlet? You'll have to write the tool, but you can use SolrJ's EmbeddedSolrServer API to instantiate a server that you can then in- process

Re: searching from command line?

2008-03-13 Thread Walter Underwood
Golly, let me think. I can use the out-of-the-box, tested Solr stuff for syncing indexes or I can invent some command line kludge that does the same thing, except I will need to write it and test it myself. Which one is easier? Seriously, the existing Solr index distribution is great stuff. I

field collapsing

2008-03-13 Thread muddassir hasan
Hi, I have unsuccessfully tried to apply solr field collapsing patches available at https://issues.apache.org/jira/browse/SOLR-236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel One of the patch could be applied to trunk but it could not be compiled. Please let me know

Re: [Update] Solr can be started from jetty but not tomcat

2008-03-13 Thread Chris Hostetter
: By your hint, I found there is XML library missing in tomcat, not ... : ** Also please someone kindly put those library in the system requirement/ : wiki FAQ. That save a lot of people and forum resources if all library used : is listed properly (with links) - newly build tomcat server