So I've modified schema.xml to account for my lucene index. I've created
a field type for my custom analyzer "text_lu", created fields for those in
my index, and changed the defaultSearchField. The index I want to use is
in the data/index folder.
Now I want to use the admin page to query my old index. I fill in the
Query text box and press the search button. I recieve the following
message:
XML Parsing Error: syntax error
Location:
http://localhost:8080/solr/select/?stylesheet=&q=alberta&version=2.1&start=0&rows=10&indent=on
Line Number 1, Column 1:java.lang.NullPointerException
When I try to PING:
HTTP Status 500 - java.lang.NullPointerException at
org.apache.solr.search.SolrQueryParser.<init>(SolrQueryParser.java:38) at
org.apache.solr.search.QueryParsing.parseQuery(QueryParsing.java:47) at
org.apache.solr.request.StandardRequestHandler.handleRequest(StandardRequestHandler.java:90)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:592) at
org.apache.jsp.admin.ping_jsp._jspService(ping_jsp.java:70) at
etc....
Does anyone have an intuitive notion as to if these exceptions are
generated because of the custom analyzer that I am using or because of the
changes I have made to schema.xml? What is the best way to debug my
instance of Solr?
Any help is much appreciated,
Tricia
On Wed, 21 Jun 2006, Yonik Seeley wrote:
On 6/21/06, Tricia Williams <[EMAIL PROTECTED]> wrote:
I was wondering if there are any major differences in building an index
using Lucene and Solr. If there is no substantial differences, how would
one
go about using an existing index created using Lucene in Solr?
You can definitely do that for the majority of indicies w/o writing
any code... you just need to make sure the schema matches what is in
the index (make the analyzers for the field types compatible, etc).
If you have access to the source code that built the index, start
there. If you don't then open up the index with Luke to see what you
can find out.
-Yonik