Knife search does not return any results


#1

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


#2

Please check your search query… what exactly you are running??

On Wed, Jun 20, 2012 at 4:14 PM, meenakshi agrawal minmini17@gmail.comwrote:

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


#3

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
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
INFO: Solr home set to '/var/chef/solr/'
Jun 20, 2012 10:12:48 PM org.apache.solr.core.SolrConfig
INFO: Loaded SolrConfig: solrconfig.xml
Jun 20, 2012 10:12:48 PM org.apache.solr.core.SolrCore
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
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
INFO: Opening Searcher@7928bbfa main
Jun 20, 2012 10:12:49 PM
org.apache.solr.update.DirectUpdateHandler2$CommitTracker
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:org.apache.solr.handler.component.QueryComponent@4c586c96
Jun 20, 2012 10:12:49 PM org.apache.solr.handler.component.SearchHandler
inform
INFO: Adding
component:org.apache.solr.handler.component.FacetComponent@41411302
Jun 20, 2012 10:12:49 PM org.apache.solr.handler.component.SearchHandler
inform
INFO: Adding
component:org.apache.solr.handler.component.MoreLikeThisComponent@174709c6
Jun 20, 2012 10:12:49 PM org.apache.solr.handler.component.SearchHandler
inform
INFO: Adding
component:org.apache.solr.handler.component.HighlightComponent@38d2b21a
Jun 20, 2012 10:12:49 PM org.apache.solr.handler.component.SearchHandler
inform
INFO: Adding
component:org.apache.solr.handler.component.StatsComponent@10aae61b
Jun 20, 2012 10:12:49 PM org.apache.solr.handler.component.SearchHandler
inform
INFO: Adding debug
component:org.apache.solr.handler.component.DebugComponent@43e8ff29
Jun 20, 2012 10:12:49 PM org.apache.solr.core.SolrCore registerSearcher
INFO: Registered new searcher Searcher@7928bbfa 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:8983
Jun 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 gkasera@gmail.com wrote:

Please check your search query… what exactly you are running??

On Wed, Jun 20, 2012 at 4:14 PM, meenakshi agrawal minmini17@gmail.comwrote:

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


#4

Also i have edited my /var/chef/solr/conf/solrconfig.xml with the value of
100000,still why it gives me the warning.

On Wed, Jun 20, 2012 at 5:01 PM, meenakshi agrawal minmini17@gmail.comwrote:

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
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
INFO: Solr home set to '/var/chef/solr/'
Jun 20, 2012 10:12:48 PM org.apache.solr.core.SolrConfig
INFO: Loaded SolrConfig: solrconfig.xml
Jun 20, 2012 10:12:48 PM org.apache.solr.core.SolrCore
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
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
INFO: Opening Searcher@7928bbfa main
Jun 20, 2012 10:12:49 PM
org.apache.solr.update.DirectUpdateHandler2$CommitTracker
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:org.apache.solr.handler.component.QueryComponent@4c586c96
Jun 20, 2012 10:12:49 PM org.apache.solr.handler.component.SearchHandler
inform
INFO: Adding
component:org.apache.solr.handler.component.FacetComponent@41411302
Jun 20, 2012 10:12:49 PM org.apache.solr.handler.component.SearchHandler
inform
INFO: Adding
component:org.apache.solr.handler.component.MoreLikeThisComponent@174709c6
Jun 20, 2012 10:12:49 PM org.apache.solr.handler.component.SearchHandler
inform
INFO: Adding
component:org.apache.solr.handler.component.HighlightComponent@38d2b21a
Jun 20, 2012 10:12:49 PM org.apache.solr.handler.component.SearchHandler
inform
INFO: Adding
component:org.apache.solr.handler.component.StatsComponent@10aae61b
Jun 20, 2012 10:12:49 PM org.apache.solr.handler.component.SearchHandler
inform
INFO: Adding debug
component:org.apache.solr.handler.component.DebugComponent@43e8ff29
Jun 20, 2012 10:12:49 PM org.apache.solr.core.SolrCore registerSearcher
INFO: Registered new searcher Searcher@7928bbfa 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:8983
Jun 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 gkasera@gmail.com wrote:

Please check your search query… what exactly you are running??

On Wed, Jun 20, 2012 at 4:14 PM, meenakshi agrawal minmini17@gmail.comwrote:

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


Thanks
Meenakshi Agrawal
The secret of achievement is to hold a picture of a successful outcome in
the mind


#5

1)Also the status tab in my chef-webui displays the message:

You appear to have no nodes in the _default environment - try connecting
one, or creating or editing a client

2)when i do
/etc/init.d/couchdb status i get unused

3)I have restarted
rabbitmq-server,couchdb,chef-solr,chef-server,chef-server-webui

everything is up and running

But i don’t know where i need to look so that my nodes are seachable.

Kindly advice.

On Wed, Jun 20, 2012 at 5:03 PM, meenakshi agrawal minmini17@gmail.comwrote:

Also i have edited my /var/chef/solr/conf/solrconfig.xml with the value of
100000,still why it gives me the warning.

On Wed, Jun 20, 2012 at 5:01 PM, meenakshi agrawal minmini17@gmail.comwrote:

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
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
INFO: Solr home set to '/var/chef/solr/'
Jun 20, 2012 10:12:48 PM org.apache.solr.core.SolrConfig
INFO: Loaded SolrConfig: solrconfig.xml
Jun 20, 2012 10:12:48 PM org.apache.solr.core.SolrCore
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
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
INFO: Opening Searcher@7928bbfa main
Jun 20, 2012 10:12:49 PM
org.apache.solr.update.DirectUpdateHandler2$CommitTracker
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:org.apache.solr.handler.component.QueryComponent@4c586c96
Jun 20, 2012 10:12:49 PM org.apache.solr.handler.component.SearchHandler
inform
INFO: Adding
component:org.apache.solr.handler.component.FacetComponent@41411302
Jun 20, 2012 10:12:49 PM org.apache.solr.handler.component.SearchHandler
inform
INFO: Adding
component:org.apache.solr.handler.component.MoreLikeThisComponent@174709c6
Jun 20, 2012 10:12:49 PM org.apache.solr.handler.component.SearchHandler
inform
INFO: Adding
component:org.apache.solr.handler.component.HighlightComponent@38d2b21a
Jun 20, 2012 10:12:49 PM org.apache.solr.handler.component.SearchHandler
inform
INFO: Adding
component:org.apache.solr.handler.component.StatsComponent@10aae61b
Jun 20, 2012 10:12:49 PM org.apache.solr.handler.component.SearchHandler
inform
INFO: Adding debug
component:org.apache.solr.handler.component.DebugComponent@43e8ff29
Jun 20, 2012 10:12:49 PM org.apache.solr.core.SolrCore registerSearcher
INFO: Registered new searcher Searcher@7928bbfa 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:8983
Jun 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 gkasera@gmail.com wrote:

Please check your search query… what exactly you are running??

On Wed, Jun 20, 2012 at 4:14 PM, meenakshi agrawal minmini17@gmail.comwrote:

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


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


#6

when i did a run on couchdb for my node,i got result,so i suspect couchdb
is not the issue…

curl -s http://localhost:5984/chef/_design/nodes/_view/all_id | grep
idmsrv1.blr.novell.com
{“id”:“15e44db4-5cb0-4ec3-b0e7-152efe54e23a”,“key”:“idmsrv1.blr.novell.com
”,“value”:“idmsrv1.blr.novell.com”}

On Wed, Jun 20, 2012 at 5:25 PM, meenakshi agrawal minmini17@gmail.comwrote:

1)Also the status tab in my chef-webui displays the message:

You appear to have no nodes in the _default environment - try connecting
one, or creating or editing a client

2)when i do
/etc/init.d/couchdb status i get unused

3)I have restarted
rabbitmq-server,couchdb,chef-solr,chef-server,chef-server-webui

everything is up and running

But i don’t know where i need to look so that my nodes are seachable.

Kindly advice.

On Wed, Jun 20, 2012 at 5:03 PM, meenakshi agrawal minmini17@gmail.comwrote:

Also i have edited my /var/chef/solr/conf/solrconfig.xml with the value
of 100000,still why it gives me the warning.

On Wed, Jun 20, 2012 at 5:01 PM, meenakshi agrawal minmini17@gmail.comwrote:

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
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
INFO: Solr home set to '/var/chef/solr/'
Jun 20, 2012 10:12:48 PM org.apache.solr.core.SolrConfig
INFO: Loaded SolrConfig: solrconfig.xml
Jun 20, 2012 10:12:48 PM org.apache.solr.core.SolrCore
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
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
INFO: Opening Searcher@7928bbfa main
Jun 20, 2012 10:12:49 PM
org.apache.solr.update.DirectUpdateHandler2$CommitTracker
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:org.apache.solr.handler.component.QueryComponent@4c586c96
Jun 20, 2012 10:12:49 PM org.apache.solr.handler.component.SearchHandler
inform
INFO: Adding
component:org.apache.solr.handler.component.FacetComponent@41411302
Jun 20, 2012 10:12:49 PM org.apache.solr.handler.component.SearchHandler
inform
INFO: Adding
component:org.apache.solr.handler.component.MoreLikeThisComponent@174709c6
Jun 20, 2012 10:12:49 PM org.apache.solr.handler.component.SearchHandler
inform
INFO: Adding
component:org.apache.solr.handler.component.HighlightComponent@38d2b21a
Jun 20, 2012 10:12:49 PM org.apache.solr.handler.component.SearchHandler
inform
INFO: Adding
component:org.apache.solr.handler.component.StatsComponent@10aae61b
Jun 20, 2012 10:12:49 PM org.apache.solr.handler.component.SearchHandler
inform
INFO: Adding debug
component:org.apache.solr.handler.component.DebugComponent@43e8ff29
Jun 20, 2012 10:12:49 PM org.apache.solr.core.SolrCore registerSearcher
INFO: Registered new searcher Searcher@7928bbfa 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:8983
Jun 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 gkasera@gmail.comwrote:

Please check your search query… what exactly you are running??

On Wed, Jun 20, 2012 at 4:14 PM, meenakshi agrawal <minmini17@gmail.com

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


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


Thanks
Meenakshi Agrawal
The secret of achievement is to hold a picture of a successful outcome in
the mind


#7

Am trying all possible ways to debug and not reaching anywhere…

While trying to find out the queue status through expander am suspecting a
hang

chef-expanderctl queue-status
[Wed, 20 Jun 2012 23:43:51 +0530] WARN: * * * * * * * * * * * * * * * * * *

[Wed, 20 Jun 2012 23:43:51 +0530] WARN: Config file /etc/chef/solr.rb does
not e
[Wed, 20 Jun 2012 23:43:51 +0530] WARN: Default configuration settings will
be u
[Wed, 20 Jun 2012 23:43:51 +0530] WARN: * * * * * * * * * * * * * * * * * *

this doesn’t proceed.

i try restarting the expander and no luck.

On Wed, Jun 20, 2012 at 6:09 PM, meenakshi agrawal minmini17@gmail.comwrote:

when i did a run on couchdb for my node,i got result,so i suspect couchdb
is not the issue…

curl -s http://localhost:5984/chef/_design/nodes/_view/all_id | grep
idmsrv1.blr.novell.com
{“id”:“15e44db4-5cb0-4ec3-b0e7-152efe54e23a”,“key”:“idmsrv1.blr.novell.com
”,“value”:“idmsrv1.blr.novell.com”}

On Wed, Jun 20, 2012 at 5:25 PM, meenakshi agrawal minmini17@gmail.comwrote:

1)Also the status tab in my chef-webui displays the message:

You appear to have no nodes in the _default environment - try connecting
one, or creating or editing a client

2)when i do
/etc/init.d/couchdb status i get unused

3)I have restarted
rabbitmq-server,couchdb,chef-solr,chef-server,chef-server-webui

everything is up and running

But i don’t know where i need to look so that my nodes are seachable.

Kindly advice.

On Wed, Jun 20, 2012 at 5:03 PM, meenakshi agrawal minmini17@gmail.comwrote:

Also i have edited my /var/chef/solr/conf/solrconfig.xml with the value
of 100000,still why it gives me the warning.

On Wed, Jun 20, 2012 at 5:01 PM, meenakshi agrawal minmini17@gmail.comwrote:

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
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
INFO: Solr home set to '/var/chef/solr/'
Jun 20, 2012 10:12:48 PM org.apache.solr.core.SolrConfig
INFO: Loaded SolrConfig: solrconfig.xml
Jun 20, 2012 10:12:48 PM org.apache.solr.core.SolrCore
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
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
INFO: Opening Searcher@7928bbfa main
Jun 20, 2012 10:12:49 PM
org.apache.solr.update.DirectUpdateHandler2$CommitTracker
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:org.apache.solr.handler.component.QueryComponent@4c586c96
Jun 20, 2012 10:12:49 PM
org.apache.solr.handler.component.SearchHandler inform
INFO: Adding
component:org.apache.solr.handler.component.FacetComponent@41411302
Jun 20, 2012 10:12:49 PM
org.apache.solr.handler.component.SearchHandler inform
INFO: Adding
component:org.apache.solr.handler.component.MoreLikeThisComponent@174709c6
Jun 20, 2012 10:12:49 PM
org.apache.solr.handler.component.SearchHandler inform
INFO: Adding
component:org.apache.solr.handler.component.HighlightComponent@38d2b21a
Jun 20, 2012 10:12:49 PM
org.apache.solr.handler.component.SearchHandler inform
INFO: Adding
component:org.apache.solr.handler.component.StatsComponent@10aae61b
Jun 20, 2012 10:12:49 PM
org.apache.solr.handler.component.SearchHandler inform
INFO: Adding debug
component:org.apache.solr.handler.component.DebugComponent@43e8ff29
Jun 20, 2012 10:12:49 PM org.apache.solr.core.SolrCore registerSearcher
INFO: Registered new searcher Searcher@7928bbfa 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:8983
Jun 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 gkasera@gmail.comwrote:

Please check your search query… what exactly you are running??

On Wed, Jun 20, 2012 at 4:14 PM, meenakshi agrawal <
minmini17@gmail.com> 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


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


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


#8

okies so my expander is not hanging,it progressed and i have some debug
messages from it

[Thu, 21 Jun 2012 00:06:36 +0530] DEBUG: got
{“payload”:{“enqueued_at”:134021185
9,“id”:“d92983aa-cdf0-4efc-b6a2-3af856ee5979”,“type”:“client”,“database”:“chef”,
“item”:{“public_key”:"-----BEGIN RSA PUBLIC
KEY-----\nMIIBCgKCAQEAtQBdhCQxRFUqtY
A4CEJIINKjpFyVdZpFPbQmhnCnDE2UP60ywQnO\nALiztDWouoKHXWR+kRPvxQsrfjFPVo/0DIecK/TL
TiiG/8itQ33FWMVWye/SUFox\nMu64oiZoKCcH8cejv08u7qIm45CgcgZ8aS/wZW1e4c6FyOF9W2Y0gk
8/gbKG6InC\nTbrXspMLjKLuchSr6e0mOWUchDDAIZ2vglpO+UFsoua6U1QDJ0Cw5znNOD5ZnyEG\ncv
ro+A+6/N0yC8DfX0FORs970RHuN25kO3z62eEydGNxarHbvy0jF8QiNHFoK1Y8\nkDV14dO3AChEn0Hy
2pq3rNrZLIKmFcrArQIDAQAB\n-----END RSA PUBLIC
KEY-----\n",“name”:“chef-orion.blr
.novell.com”,"_rev":“1-ce3d0523e07e5d128b50bb5686b97e63”,“json_class”:“Chef::Api
Client”,“admin”:false,“chef_type”:“client”}},“action”:“add”} size(735
bytes)
on
queue vnode-377
[Thu, 21 Jun 2012 00:06:36 +0530] DEBUG: adding flattened object to Solr:
{“publ
ic_key”=>["-----BEGIN RSA PUBLIC
KEY-----\nMIIBCgKCAQEAtQBdhCQxRFUqtYA4CEJIINKjp
FyVdZpFPbQmhnCnDE2UP60ywQnO\nALiztDWouoKHXWR+kRPvxQsrfjFPVo/0DIecK/TLTiiG/8itQ33
FWMVWye/SUFox\nMu64oiZoKCcH8cejv08u7qIm45CgcgZ8aS/wZW1e4c6FyOF9W2Y0gk8/gbKG6InC
nTbrXspMLjKLuchSr6e0mOWUchDDAIZ2vglpO+UFsoua6U1QDJ0Cw5znNOD5ZnyEG\ncvro+A+6/N0yC
8DfX0FORs970RHuN25kO3z62eEydGNxarHbvy0jF8QiNHFoK1Y8\nkDV14dO3AChEn0Hy2pq3rNrZLIK
mFcrArQIDAQAB\n-----END RSA PUBLIC KEY-----\n"],
“name”=>[“chef-orion.blr.novell
.com”], “_rev”=>[“1-ce3d0523e07e5d128b50bb5686b97e63”],
“json_class”=>[“Chef::Ap
iClient”], “admin”=>[“false”], “X_CHEF_type_CHEF_X”=>[“client”],
“X_CHEF_databas
e_CHEF_X”=>[“chef”],
“X_CHEF_id_CHEF_X”=>[“d92983aa-cdf0-4efc-b6a2-3af856ee5979”
], “chef_type”=>[“client”]}
[Thu, 21 Jun 2012 00:06:36 +0530] DEBUG: POSTing document to SOLR:

<?xml version="1.0" encoding="UTF-8"?>

d92983aa-cdf0-4efc-b6a2-3af856ee5979</f
ield>chefclientpublic_key__=-----BEGIN RSA
PUBLIC
KEY-----
MIIBCgKCAQEAtQBdhCQxRFUqtYA4CEJIINKjpFyVdZpFPbQmhnCnDE2UP60ywQnO
ALiztDWouoKHXWR+kRPvxQsrfjFPVo/0DIecK/TLTiiG/8itQ33FWMVWye/SUFox
Mu64oiZoKCcH8cejv08u7qIm45CgcgZ8aS/wZW1e4c6FyOF9W2Y0gk8/gbKG6InC
TbrXspMLjKLuchSr6e0mOWUchDDAIZ2vglpO+UFsoua6U1QDJ0Cw5znNOD5ZnyEG
cvro+A+6/N0yC8DfX0FORs970RHuN25kO3z62eEydGNxarHbvy0jF8QiNHFoK1Y8
kDV14dO3AChEn0Hy2pq3rNrZLIKmFcrArQIDAQAB
-----END RSA PUBLIC KEY-----
name
=chef-orion.blr.novell.com_rev=1-ce3d0523e07e5d128b50bb5686b97e63
json_class
=Chef::ApiClient admin=false
X_CHEF_type_CHEF_X
=client
X_C
HEF_database_CHEF_X
=chef
X_CHEF_id_CHEF_X
=d92983aa-cdf0-4efc-b6a2-3af856
ee5979 chef_type
=__client

[Thu, 21 Jun 2012 00:06:37 +0530] INFO: indexed
client[d92983aa-cdf0-4efc-b6a2-3
af856ee5979] database[chef] transit,xml,solr-post |
5538,0.000332117080688477,0.
54358696937561 |

i see that my node chef-orion.blr.novell.com its doing some processing,till
am posting this,there is no update after the last line above.does it mean
its processing my node details??and i will be able to search my node in
some time,because i have tried a search many times on the same node and
still get 0 results.

On Wed, Jun 20, 2012 at 6:35 PM, meenakshi agrawal minmini17@gmail.comwrote:

Am trying all possible ways to debug and not reaching anywhere…

While trying to find out the queue status through expander am suspecting a
hang

chef-expanderctl queue-status
[Wed, 20 Jun 2012 23:43:51 +0530] WARN: * * * * * * * * * * * * * * * * *


[Wed, 20 Jun 2012 23:43:51 +0530] WARN: Config file /etc/chef/solr.rb does
not e
[Wed, 20 Jun 2012 23:43:51 +0530] WARN: Default configuration settings
will be u
[Wed, 20 Jun 2012 23:43:51 +0530] WARN: * * * * * * * * * * * * * * * * *


this doesn’t proceed.

i try restarting the expander and no luck.

On Wed, Jun 20, 2012 at 6:09 PM, meenakshi agrawal minmini17@gmail.comwrote:

when i did a run on couchdb for my node,i got result,so i suspect couchdb
is not the issue…

curl -s http://localhost:5984/chef/_design/nodes/_view/all_id | grep
idmsrv1.blr.novell.com
{“id”:“15e44db4-5cb0-4ec3-b0e7-152efe54e23a”,“key”:“
idmsrv1.blr.novell.com”,“value”:“idmsrv1.blr.novell.com”}

On Wed, Jun 20, 2012 at 5:25 PM, meenakshi agrawal minmini17@gmail.comwrote:

1)Also the status tab in my chef-webui displays the message:

You appear to have no nodes in the _default environment - try connecting
one, or creating or editing a client

2)when i do
/etc/init.d/couchdb status i get unused

3)I have restarted
rabbitmq-server,couchdb,chef-solr,chef-server,chef-server-webui

everything is up and running

But i don’t know where i need to look so that my nodes are seachable.

Kindly advice.

On Wed, Jun 20, 2012 at 5:03 PM, meenakshi agrawal minmini17@gmail.comwrote:

Also i have edited my /var/chef/solr/conf/solrconfig.xml with the value
of 100000,still why it gives me the warning.

On Wed, Jun 20, 2012 at 5:01 PM, meenakshi agrawal <minmini17@gmail.com

wrote:

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
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
INFO: Solr home set to '/var/chef/solr/'
Jun 20, 2012 10:12:48 PM org.apache.solr.core.SolrConfig
INFO: Loaded SolrConfig: solrconfig.xml
Jun 20, 2012 10:12:48 PM org.apache.solr.core.SolrCore
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
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

INFO: Opening Searcher@7928bbfa main
Jun 20, 2012 10:12:49 PM
org.apache.solr.update.DirectUpdateHandler2$CommitTracker
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:org.apache.solr.handler.component.QueryComponent@4c586c96
Jun 20, 2012 10:12:49 PM
org.apache.solr.handler.component.SearchHandler inform
INFO: Adding
component:org.apache.solr.handler.component.FacetComponent@41411302
Jun 20, 2012 10:12:49 PM
org.apache.solr.handler.component.SearchHandler inform
INFO: Adding
component:org.apache.solr.handler.component.MoreLikeThisComponent@174709c6
Jun 20, 2012 10:12:49 PM
org.apache.solr.handler.component.SearchHandler inform
INFO: Adding
component:org.apache.solr.handler.component.HighlightComponent@38d2b21a
Jun 20, 2012 10:12:49 PM
org.apache.solr.handler.component.SearchHandler inform
INFO: Adding
component:org.apache.solr.handler.component.StatsComponent@10aae61b
Jun 20, 2012 10:12:49 PM
org.apache.solr.handler.component.SearchHandler inform
INFO: Adding debug
component:org.apache.solr.handler.component.DebugComponent@43e8ff29
Jun 20, 2012 10:12:49 PM org.apache.solr.core.SolrCore registerSearcher
INFO: Registered new searcher Searcher@7928bbfa 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:8983
Jun 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 gkasera@gmail.comwrote:

Please check your search query… what exactly you are running??

On Wed, Jun 20, 2012 at 4:14 PM, meenakshi agrawal <
minmini17@gmail.com> 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


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


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


Thanks
Meenakshi Agrawal
The secret of achievement is to hold a picture of a successful outcome in
the mind


#9

Kindly advice on the issue below

---------- Forwarded message ----------
From: meenakshi agrawal minmini17@gmail.com
Date: Wed, Jun 20, 2012 at 7:25 PM
Subject: Re: [chef] Re: knife search does not return any results
To: chef@lists.opscode.com

okies so my expander is not hanging,it progressed and i have some debug
messages from it

[Thu, 21 Jun 2012 00:06:36 +0530] DEBUG: got
{“payload”:{“enqueued_at”:134021185
9,“id”:“d92983aa-cdf0-4efc-b6a2-3af856ee5979”,“type”:“client”,“database”:“chef”,
“item”:{“public_key”:"-----BEGIN RSA PUBLIC
KEY-----\nMIIBCgKCAQEAtQBdhCQxRFUqtY
A4CEJIINKjpFyVdZpFPbQmhnCnDE2UP60ywQnO\nALiztDWouoKHXWR+kRPvxQsrfjFPVo/0DIecK/TL
TiiG/8itQ33FWMVWye/SUFox\nMu64oiZoKCcH8cejv08u7qIm45CgcgZ8aS/wZW1e4c6FyOF9W2Y0gk
8/gbKG6InC\nTbrXspMLjKLuchSr6e0mOWUchDDAIZ2vglpO+UFsoua6U1QDJ0Cw5znNOD5ZnyEG\ncv
ro+A+6/N0yC8DfX0FORs970RHuN25kO3z62eEydGNxarHbvy0jF8QiNHFoK1Y8\nkDV14dO3AChEn0Hy
2pq3rNrZLIKmFcrArQIDAQAB\n-----END RSA PUBLIC
KEY-----\n",“name”:“chef-orion.blr
.novell.com”,"_rev":“1-ce3d0523e07e5d128b50bb5686b97e63”,“json_class”:“Chef::Api
Client”,“admin”:false,“chef_type”:“client”}},“action”:“add”} size(735
bytes)
on
queue vnode-377
[Thu, 21 Jun 2012 00:06:36 +0530] DEBUG: adding flattened object to Solr:
{“publ
ic_key”=>["-----BEGIN RSA PUBLIC
KEY-----\nMIIBCgKCAQEAtQBdhCQxRFUqtYA4CEJIINKjp
FyVdZpFPbQmhnCnDE2UP60ywQnO\nALiztDWouoKHXWR+kRPvxQsrfjFPVo/0DIecK/TLTiiG/8itQ33
FWMVWye/SUFox\nMu64oiZoKCcH8cejv08u7qIm45CgcgZ8aS/wZW1e4c6FyOF9W2Y0gk8/gbKG6InC
nTbrXspMLjKLuchSr6e0mOWUchDDAIZ2vglpO+UFsoua6U1QDJ0Cw5znNOD5ZnyEG\ncvro+A+6/N0yC
8DfX0FORs970RHuN25kO3z62eEydGNxarHbvy0jF8QiNHFoK1Y8\nkDV14dO3AChEn0Hy2pq3rNrZLIK
mFcrArQIDAQAB\n-----END RSA PUBLIC KEY-----\n"],
“name”=>[“chef-orion.blr.novell
.com”], “_rev”=>[“1-ce3d0523e07e5d128b50bb5686b97e63”],
“json_class”=>[“Chef::Ap
iClient”], “admin”=>[“false”], “X_CHEF_type_CHEF_X”=>[“client”],
“X_CHEF_databas
e_CHEF_X”=>[“chef”],
“X_CHEF_id_CHEF_X”=>[“d92983aa-cdf0-4efc-b6a2-3af856ee5979”
], “chef_type”=>[“client”]}
[Thu, 21 Jun 2012 00:06:36 +0530] DEBUG: POSTing document to SOLR:

<?xml version="1.0" encoding="UTF-8"?>

d92983aa-cdf0-4efc-b6a2-3af856ee5979</f
ield>chefclientpublic_key__=-----BEGIN RSA
PUBLIC
KEY-----
MIIBCgKCAQEAtQBdhCQxRFUqtYA4CEJIINKjpFyVdZpFPbQmhnCnDE2UP60ywQnO
ALiztDWouoKHXWR+kRPvxQsrfjFPVo/0DIecK/TLTiiG/8itQ33FWMVWye/SUFox
Mu64oiZoKCcH8cejv08u7qIm45CgcgZ8aS/wZW1e4c6FyOF9W2Y0gk8/gbKG6InC
TbrXspMLjKLuchSr6e0mOWUchDDAIZ2vglpO+UFsoua6U1QDJ0Cw5znNOD5ZnyEG
cvro+A+6/N0yC8DfX0FORs970RHuN25kO3z62eEydGNxarHbvy0jF8QiNHFoK1Y8
kDV14dO3AChEn0Hy2pq3rNrZLIKmFcrArQIDAQAB
-----END RSA PUBLIC KEY-----
name
=chef-orion.blr.novell.com_rev=1-ce3d0523e07e5d128b50bb5686b97e63
json_class
=Chef::ApiClient admin=false
X_CHEF_type_CHEF_X
=client
X_C
HEF_database_CHEF_X
=chef
X_CHEF_id_CHEF_X
=d92983aa-cdf0-4efc-b6a2-3af856
ee5979 chef_type
=__client

[Thu, 21 Jun 2012 00:06:37 +0530] INFO: indexed
client[d92983aa-cdf0-4efc-b6a2-3
af856ee5979] database[chef] transit,xml,solr-post |
5538,0.000332117080688477,0.
54358696937561 |

i see that my node chef-orion.blr.novell.com its doing some processing,till
am posting this,there is no update after the last line above.does it mean
its processing my node details??and i will be able to search my node in
some time,because i have tried a search many times on the same node and
still get 0 results.

On Wed, Jun 20, 2012 at 6:35 PM, meenakshi agrawal minmini17@gmail.comwrote:

Am trying all possible ways to debug and not reaching anywhere…

While trying to find out the queue status through expander am suspecting a
hang

chef-expanderctl queue-status
[Wed, 20 Jun 2012 23:43:51 +0530] WARN: * * * * * * * * * * * * * * * * *


[Wed, 20 Jun 2012 23:43:51 +0530] WARN: Config file /etc/chef/solr.rb does
not e
[Wed, 20 Jun 2012 23:43:51 +0530] WARN: Default configuration settings
will be u
[Wed, 20 Jun 2012 23:43:51 +0530] WARN: * * * * * * * * * * * * * * * * *


this doesn’t proceed.

i try restarting the expander and no luck.

On Wed, Jun 20, 2012 at 6:09 PM, meenakshi agrawal minmini17@gmail.comwrote:

when i did a run on couchdb for my node,i got result,so i suspect couchdb
is not the issue…

curl -s http://localhost:5984/chef/_design/nodes/_view/all_id | grep
idmsrv1.blr.novell.com
{“id”:“15e44db4-5cb0-4ec3-b0e7-152efe54e23a”,“key”:“
idmsrv1.blr.novell.com”,“value”:“idmsrv1.blr.novell.com”}

On Wed, Jun 20, 2012 at 5:25 PM, meenakshi agrawal minmini17@gmail.comwrote:

1)Also the status tab in my chef-webui displays the message:

You appear to have no nodes in the _default environment - try connecting
one, or creating or editing a client

2)when i do
/etc/init.d/couchdb status i get unused

3)I have restarted
rabbitmq-server,couchdb,chef-solr,chef-server,chef-server-webui

everything is up and running

But i don’t know where i need to look so that my nodes are seachable.

Kindly advice.

On Wed, Jun 20, 2012 at 5:03 PM, meenakshi agrawal minmini17@gmail.comwrote:

Also i have edited my /var/chef/solr/conf/solrconfig.xml with the value
of 100000,still why it gives me the warning.

On Wed, Jun 20, 2012 at 5:01 PM, meenakshi agrawal <minmini17@gmail.com

wrote:

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
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
INFO: Solr home set to '/var/chef/solr/'
Jun 20, 2012 10:12:48 PM org.apache.solr.core.SolrConfig
INFO: Loaded SolrConfig: solrconfig.xml
Jun 20, 2012 10:12:48 PM org.apache.solr.core.SolrCore
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
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

INFO: Opening Searcher@7928bbfa main
Jun 20, 2012 10:12:49 PM
org.apache.solr.update.DirectUpdateHandler2$CommitTracker
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:org.apache.solr.handler.component.QueryComponent@4c586c96
Jun 20, 2012 10:12:49 PM
org.apache.solr.handler.component.SearchHandler inform
INFO: Adding
component:org.apache.solr.handler.component.FacetComponent@41411302
Jun 20, 2012 10:12:49 PM
org.apache.solr.handler.component.SearchHandler inform
INFO: Adding
component:org.apache.solr.handler.component.MoreLikeThisComponent@174709c6
Jun 20, 2012 10:12:49 PM
org.apache.solr.handler.component.SearchHandler inform
INFO: Adding
component:org.apache.solr.handler.component.HighlightComponent@38d2b21a
Jun 20, 2012 10:12:49 PM
org.apache.solr.handler.component.SearchHandler inform
INFO: Adding
component:org.apache.solr.handler.component.StatsComponent@10aae61b
Jun 20, 2012 10:12:49 PM
org.apache.solr.handler.component.SearchHandler inform
INFO: Adding debug
component:org.apache.solr.handler.component.DebugComponent@43e8ff29
Jun 20, 2012 10:12:49 PM org.apache.solr.core.SolrCore registerSearcher
INFO: Registered new searcher Searcher@7928bbfa 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:8983
Jun 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 gkasera@gmail.comwrote:

Please check your search query… what exactly you are running??

On Wed, Jun 20, 2012 at 4:14 PM, meenakshi agrawal <
minmini17@gmail.com> 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


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


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


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