: it should be indexed, so  I comment this
: <copyField source="features" dest="text"/>
: 
: However, the search fail. After I clear up the index and, uncomment the
: copyField and commit the document again, the search work again.
: 
: That I feeling very confusing as wiki and the schema.xml said this is
: optional...is this a bug or wiki information is wrong?

are you searching on the "text" field ... in teh example schema it is the 
default search field, so unless you are explicitly putting data in that 
field for your docs, that copyField may be hte only way info is getting 
into thatfield ... without it it's not suprising that searches on the text 
field wouldn't work.

: 1. I only need to reload the server when I changed the JSP and html, schema
: and config file but no need for index update?

corret ... just send a <commit/> command.

: 2. Can I gain faster reloading if I extract the war file content into
: webapps and then start the application from directory but not the war file?

I doubt it .. but that would relaly depend on how the application server 
works.

: 3. Everytime I load the start.jar I will get this exception:
: 2008/3/27 AM 12:55:55 org.apache.solr.common.SolrException log
: SEVERE: java.lang.NullPointerException
        ...
: 
org.apache.solr.core.QuerySenderListener.newSearcher(QuerySenderListener.java:50)

...that looks like this known bug...

http://issues.apache.org/jira/browse/SOLR-509


-Hoss

Reply via email to