- From: meenakshi agrawal <
>
- To:
- Subject: [chef] Re: Re: knife search does not return any results
- Date: Wed, 20 Jun 2012 17:01:05 +0530
This is my solr log
Am running the query
knife search node 'name:
idmsrv1.blr.novell.com'
sles11-64-chef:/etc/init.d # chef-solr
[Wed, 20 Jun 2012 22:12:46 +0530] WARN: *****************************************
[Wed, 20 Jun 2012 22:12:46 +0530] WARN: Did not find config file: /etc/chef/solr.rb, using command line options.
[Wed, 20 Jun 2012 22:12:46 +0530] WARN: *****************************************
[Wed, 20 Jun 2012 22:12:46 +0530] WARN: The maxFieldLimit for the mainIndex is set to 10000. It's recommended to increase this value (in /var/chef/solr/conf/solrconfig.xml).
[Wed, 20 Jun 2012 22:12:46 +0530] INFO: Starting Solr with java -Xmx256M -Xms256M -Dsolr.data.dir=/var/chef/solr/data -Dsolr.solr.home=/var/chef/solr -jar /var/chef/solr-jetty/start.jar
2012-06-20 22:12:47.144::INFO: Logging to STDERR via org.mortbay.log.StdErrLog
2012-06-20 22:12:47.385::INFO: jetty-6.1.3
Jun 20, 2012 10:12:47 PM org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: JNDI not configured for solr (NoInitialContextEx)
Jun 20, 2012 10:12:47 PM org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: using system property solr.solr.home: /var/chef/solr
Jun 20, 2012 10:12:47 PM org.apache.solr.core.SolrResourceLoader <init>
INFO: Solr home set to '/var/chef/solr/'
Jun 20, 2012 10:12:47 PM org.apache.solr.servlet.SolrDispatchFilter init
INFO: SolrDispatchFilter.init()
Jun 20, 2012 10:12:47 PM org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: JNDI not configured for solr (NoInitialContextEx)
Jun 20, 2012 10:12:47 PM org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: using system property solr.solr.home: /var/chef/solr
Jun 20, 2012 10:12:47 PM org.apache.solr.core.CoreContainer$Initializer initialize
INFO: looking for solr.xml: /var/chef/solr/solr.xml
Jun 20, 2012 10:12:48 PM org.apache.solr.core.SolrResourceLoader <init>
INFO: Solr home set to '/var/chef/solr/'
Jun 20, 2012 10:12:48 PM org.apache.solr.core.SolrConfig <init>
INFO: Loaded SolrConfig: solrconfig.xml
Jun 20, 2012 10:12:48 PM org.apache.solr.core.SolrCore <init>
INFO: Opening new SolrCore at /var/chef/solr/, dataDir=/var/chef/solr/data/
Jun 20, 2012 10:12:48 PM org.apache.solr.schema.IndexSchema readSchema
INFO: Reading Solr Schema
Jun 20, 2012 10:12:48 PM org.apache.solr.schema.IndexSchema readSchema
INFO: Schema name=chef
Jun 20, 2012 10:12:48 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created string: org.apache.solr.schema.StrField
Jun 20, 2012 10:12:48 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created boolean: org.apache.solr.schema.BoolField
Jun 20, 2012 10:12:48 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created integer: org.apache.solr.schema.IntField
Jun 20, 2012 10:12:48 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created long: org.apache.solr.schema.LongField
Jun 20, 2012 10:12:48 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created float: org.apache.solr.schema.FloatField
Jun 20, 2012 10:12:48 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created double: org.apache.solr.schema.DoubleField
Jun 20, 2012 10:12:48 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created sint: org.apache.solr.schema.SortableIntField
Jun 20, 2012 10:12:48 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created slong: org.apache.solr.schema.SortableLongField
Jun 20, 2012 10:12:48 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created sfloat: org.apache.solr.schema.SortableFloatField
Jun 20, 2012 10:12:48 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created sdouble: org.apache.solr.schema.SortableDoubleField
Jun 20, 2012 10:12:48 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created stuff: org.apache.solr.schema.TextField
Jun 20, 2012 10:12:48 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created date: org.apache.solr.schema.DateField
Jun 20, 2012 10:12:48 PM org.apache.solr.schema.IndexSchema readSchema
INFO: default search field is content
Jun 20, 2012 10:12:48 PM org.apache.solr.schema.IndexSchema readSchema
INFO: query parser default operator is OR
Jun 20, 2012 10:12:48 PM org.apache.solr.schema.IndexSchema readSchema
INFO: unique key field: X_CHEF_id_CHEF_X
Jun 20, 2012 10:12:48 PM org.apache.solr.core.JmxMonitoredMap <init>
INFO: No JMX servers found, not exposing Solr information with JMX.
Jun 20, 2012 10:12:48 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created standard: solr.SearchHandler
Jun 20, 2012 10:12:49 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /update: solr.XmlUpdateRequestHandler
Jun 20, 2012 10:12:49 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /update/javabin: solr.BinaryUpdateRequestHandler
Jun 20, 2012 10:12:49 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /analysis/document: solr.DocumentAnalysisRequestHandler
Jun 20, 2012 10:12:49 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /analysis/field: solr.FieldAnalysisRequestHandler
Jun 20, 2012 10:12:49 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: adding lazy requestHandler: solr.CSVRequestHandler
Jun 20, 2012 10:12:49 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /update/csv: solr.CSVRequestHandler
Jun 20, 2012 10:12:49 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /admin/: org.apache.solr.handler.admin.AdminHandlers
Jun 20, 2012 10:12:49 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /admin/ping: PingRequestHandler
Jun 20, 2012 10:12:49 PM org.apache.solr.core.RequestHandlers initHandlersFromConfig
INFO: created /debug/dump: solr.DumpRequestHandler
Jun 20, 2012 10:12:49 PM org.apache.solr.search.SolrIndexSearcher <init>
INFO: Opening
main
Jun 20, 2012 10:12:49 PM org.apache.solr.update.DirectUpdateHandler2$CommitTracker <init>
INFO: AutoCommit: if uncommited for 10000ms; if 100 uncommited docs
Jun 20, 2012 10:12:49 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:
Jun 20, 2012 10:12:49 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:
Jun 20, 2012 10:12:49 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:
Jun 20, 2012 10:12:49 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:
Jun 20, 2012 10:12:49 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding component:
Jun 20, 2012 10:12:49 PM org.apache.solr.handler.component.SearchHandler inform
INFO: Adding debug component:
Jun 20, 2012 10:12:49 PM org.apache.solr.core.SolrCore registerSearcher
INFO: Registered new searcher
main
Jun 20, 2012 10:12:49 PM org.apache.solr.core.CoreContainer register
INFO: registering core:
Jun 20, 2012 10:12:49 PM org.apache.solr.servlet.SolrDispatchFilter init
INFO: user.dir=/var/chef/solr-jetty
Jun 20, 2012 10:12:49 PM org.apache.solr.servlet.SolrDispatchFilter init
INFO: SolrDispatchFilter.init() done
Jun 20, 2012 10:12:49 PM org.apache.solr.servlet.SolrServlet init
INFO: SolrServlet.init()
Jun 20, 2012 10:12:49 PM org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: JNDI not configured for solr (NoInitialContextEx)
Jun 20, 2012 10:12:49 PM org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: using system property solr.solr.home: /var/chef/solr
Jun 20, 2012 10:12:49 PM org.apache.solr.servlet.SolrServlet init
INFO: SolrServlet.init() done
Jun 20, 2012 10:12:49 PM org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: JNDI not configured for solr (NoInitialContextEx)
Jun 20, 2012 10:12:49 PM org.apache.solr.core.SolrResourceLoader locateSolrHome
INFO: using system property solr.solr.home: /var/chef/solr
Jun 20, 2012 10:12:49 PM org.apache.solr.servlet.SolrUpdateServlet init
INFO: SolrUpdateServlet.init() done
2012-06-20 22:12:49.369::INFO: Started SocketConnector @
0.0.0.0:8983Jun 20, 2012 10:14:27 PM org.apache.solr.core.SolrCore execute
INFO: [] webapp=/solr path=/select params={sort=&indent=off&start=0&q=content:name__%3D__*&wt=json&fq=%2BX_CHEF_type_CHEF_X:node+%2BX_CHEF_database_CHEF_X:chef&rows=1000} hits=0 status=0 QTime=152
Jun 20, 2012 10:16:05 PM org.apache.solr.core.SolrCore execute
INFO: [] webapp=/solr path=/select params={sort=&indent=off&start=0&q=content:name__%
3D__idmsrv1.blr.novell.com&wt=json&fq=%2BX_CHEF_type_CHEF_X:node+%2BX_CHEF_database_CHEF_X:chef&rows=1000} hits=0 status=0 QTime=3
On Wed, Jun 20, 2012 at 4:50 PM, Gaurav Kasera
<
" target="_blank">
> wrote:
Please check your search query... what exactly you are running??On Wed, Jun 20, 2012 at 4:14 PM, meenakshi agrawal
<
" target="_blank">
> wrote:
This is weird!!
Am able to do knife node show on all my nodes but knife search node name on the same node does not return a single node for me.
My chef-solr is up and running,doesn't show any error
Am able to get results froms knife client show but knife search client on the same client gives 0 results.
i dont see any solr.log in my system
--
Thanks
Meenakshi Agrawal
The secret of achievement is to hold a picture of a successful outcome in the mind
--
Thanks
Meenakshi Agrawal
The secret of achievement is to hold a picture of a successful outcome in the mind
Archive powered by MHonArc 2.6.16.