On Wed, 2009-03-11 at 10:03 -0500, Vicente Ordonez wrote:
> I am also having an error regarding apache Solr. 
> 
> ERROR 09:57:41,343 [localhost.com:8080/ pool-5-thread-1 [SolrSearchCommand]] 
> (69f9caf5-2d60-4e5c-b29b-0a2538101bb1) 
> SolrSearchCommand: Error executing query 
> org.apache.solr.client.solrj.SolrServerException: 
> Error executing query at 
> org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:96)
>  
> at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:109) 
> at 
> no.sesat.search.mode.command.SolrSearchCommand.execute(SolrSearchCommand.java:122)
> [snip]

The default mode in localhost.com uses the public yahoo index and not a solr 
index.
But it does use a solr index for an example implementation of
autocompletion as you type into the search field. Look at head.jsp and
remove everything from
<!-- MediaWiki Suggest definitions -->
and downwards.


> I have just seen this property in the 
> .../webapps/localhost.com/WEB-INF/classes/configuration.properties file.
> 
> solr.serverUrl=http://localhost:16000/solr/ 

The idea here is that your solr index could be in a server farm where
you need to tunnel/forward a port from your local machine to the solr
server.
If so, tunnel port 16000, if not override the property solr.serverUrl in
your skin's configuration.properties (or configure modes.xml to use a
new property).

~mck

-- 
"We are what we think. All that we are arises with our thoughts. With
our thoughts, we make the world." Buddha 
| semb.wever.org | sesat.no | sesam.no |

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Kernel-development mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-development

Reply via email to