Hi hossman,

Thank you for your reply, it help a lots...just little more question here:


hossman wrote:
> 
> 
> : 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.
> 
I doesn't change other thing about field in default schema, so I think you
are correct...Then here is one question: Can I use parameter to change the
search field when query come in?



hossman wrote:
> 
> : 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.
> 
I see jetty have do some caching...so many be the effect appear when I
recomplie a war file.
But at least I can change the jsp and as well as the style sheet easier :)


hossman wrote:
> 
> : 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
> 
Seems they didn't fix it yet...but it seems harmless.

Thank you,
Vinci

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

Reply via email to