OK, there's not much information to go on here. So.. 1> you pasted solrconfig.xml. Schema.xml contains your default field, we need to see that too. 2> you say documents are shown in the stats page. There are two numbers, numDocs and maxDocs. numDocs is the number of documents that have NOT been deleted, what is that number? 3> what results from attaching &debugQuery=on to your URL? 4> what shows up in the admin page when you search for everything?
It would help a lot if you'd provide some more detailed information, please review: http://wiki.apache.org/solr/UsingMailingLists, Best Erick On Wed, Jul 6, 2011 at 12:10 PM, Sowmya V.B. <vbsow...@gmail.com> wrote: > I am sorry..I was checking the some other solr instance that ran on this > system...when I replied for the previous mail. > > I still dont get any documents in return to my query...though the index > shows a size of some 20K documents. > > Attaching my solrconfig.xml file with this mail. > > On Wed, Jul 6, 2011 at 5:32 PM, Erick Erickson <erickerick...@gmail.com> > wrote: >> >> Note that you can add that to the URL directly, as &fl=* >> >> Also, simply querying q=time will look for terms ONLY in the >> field in your schema.xml defined by <defaultSearchField> in >> your schema.xml ("text" by default)... >> >> Best >> Erick >> >> On Wed, Jul 6, 2011 at 11:08 AM, Sowmya V.B. <vbsow...@gmail.com> wrote: >> > Hi Denis >> > >> > I got my answer. >> > I should have added <str name="fl">*</str> >> > in the defaults list. >> > >> > Sowmya. >> > >> > On Wed, Jul 6, 2011 at 3:57 PM, Sowmya V.B. <vbsow...@gmail.com> wrote: >> > >> >> Hi >> >> >> >> Url I am using to search: >> >> >> >> >> >> http://localhost:8080/apache-solr-3.3.0/select/?q=time&version=2.2&start=0&rows=10&indent=on >> >> http://localhost:8080/apache-solr-3.3.0/admin/stats.jsp - is my stats >> >> page. >> >> >> >> The part of my SolrConfig file, which said searchHandler - had these, >> >> which >> >> I found on an example on the web: >> >> >> >> <requestHandler name="search" class="solr.SearchHandler" >> >> default="true"> >> >> <lst name="defaults"> >> >> <str name="echoParams">explicit</str> >> >> <int name="rows">10</int> >> >> </lst> >> >> </requestHandler> >> >> >> >> - Apart from this, I did not understand what to add inside a search >> >> handler. >> >> >> >> Sowmya. >> >> >> >> >> >> On Wed, Jul 6, 2011 at 3:45 PM, Denis Kuzmenok <forward...@ukr.net> >> >> wrote: >> >> >> >>> > Hi All >> >>> >> >>> > I indexed a set of documents using Solr, which are shown in the >> >>> > stats >> >>> page >> >>> > on the admin panel. >> >>> > However, the search interface always returns 0 documents to me. >> >>> > When I give the query as *:*, it does return me all the 20K odd >> >>> documents I >> >>> > tried indexing just a few hours back. >> >>> >> >>> > Can someone tell me if there is anything I am missing, on the >> >>> > querying >> >>> > config part? >> >>> >> >>> > Sowmya. >> >>> >> >>> Show your solrconfig.xml, and url you are querying to select results >> >>> >> >>> >> >> >> >> >> >> -- >> >> Sowmya V.B. >> >> ---------------------------------------------------- >> >> Losing optimism is blasphemy! >> >> http://vbsowmya.wordpress.com >> >> ---------------------------------------------------- >> >> >> > >> > >> > >> > -- >> > Sowmya V.B. >> > ---------------------------------------------------- >> > Losing optimism is blasphemy! >> > http://vbsowmya.wordpress.com >> > ---------------------------------------------------- >> > > > > > -- > Sowmya V.B. > ---------------------------------------------------- > Losing optimism is blasphemy! > http://vbsowmya.wordpress.com > ---------------------------------------------------- >