Hi,

While I am testing the Solr schema (1.3 nightly) with example mySolr on
jetty, for the exampledocs and the default schema,
I see the declaration: 
<field name="features" type="text" indexed="true" stored="true"
multiValued="true"/>
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?

------------------
For mySolr on Jetty, some question
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?
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?
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
        at
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:136)
        at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:118)
        at org.apache.solr.core.SolrCore.execute(SolrCore.java:953)
        at org.apache.solr.core.SolrCore.execute(SolrCore.java:968)
        at
org.apache.solr.core.QuerySenderListener.newSearcher(QuerySenderListener.java:50)
        at org.apache.solr.core.SolrCore$3.call(SolrCore.java:797)
        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)
        at java.lang.Thread.run(Unknown Source)
although the Solr run fine, I still worry for the hidden exception - does
this exception harmful? 

Thank you
Vinci
-- 
View this message in context: 
http://www.nabble.com/Search-fail-if-copyField-absent-%28%2B-Jetty-Question%29-tp16306854p16306854.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to