Re: Results not appearing

2009-01-24 Thread Chris Harris
Without you stopping Solr itself, a solr client can remove all the documents in an index by doing a delete-by-query with the query "*:*" (without quotes). For XML interface clients, see http://wiki.apache.org/solr/UpdateXmlMessage. Solrj would have another way to do it. You'll need to do a commit a

Re: Results not appearing

2009-01-24 Thread Johnny X
Thanks for the reply. I ended up fixing it by re-installing Tomcat and starting over. Searches now appear to work. Because I'm testing atm however, is it possible to delete the index and start afresh in future. At the moment I backed up the original index folder...if I just replace that with th

Re: Results not appearing

2009-01-24 Thread Chris Harris
I should clarify that I misspoke before; I thought you had indexed="true" on Message-Id and Date, whereas you had it on Message-Id and Content. It sounds like you figured this out and interpreted my reply in a useful way nonetheless, though. So that's good. The post tool should be a valid way to c

Re: Results not appearing

2009-01-24 Thread Johnny X
If it helps, everything appears when I use Luke to search through the index...but the search in that returns nothing either. When I search using the admin page for the word 'Phillip' (which appears the most in all of the documents) I get the following: - - 0 0 - on 0 phillip

Re: Results not appearing

2009-01-24 Thread Johnny X
They all appear in the stats admin page under the NumDocs & maxDocs fields. I don't explicitly send a commit command, but my posting ends like this (suggesting they are commited): SimplePostTool: POSTing file 21166.xml SimplePostTool: POSTing file 21169.xml SimplePostTool: COMMITting Solr index

Re: Results not appearing

2009-01-23 Thread Chris Harris
These might be obvious, but: * I assume you did a Solr commit command after indexing, right? * If you are using the fieldtype definitions from the default schema.xml, then your "string" fields are not being analyzed, which means you should expect search results only if you enter the entire, exact