[TYPO3-Solr] Exception while trying to index a page > No Solr instance available

Boris Hinzer b.hinzer at web-vision.de
Wed Aug 10 15:28:37 CEST 2011


On 2011-08-10 13:10:21 +0000, Ingo Renner said:

> Am 10.08.11 15:08, schrieb Boris Hinzer:
> 
>> I get this xml file as response:
>> <response><lst name="responseHeader"><int name="status">0</int><int
>> name="QTime">3</int><lst name="params"><str name="indent">on</str><str
>> name="rows">10</str><str name="version">2.2</str><str
>> name="start">0</str><str name="q">*:*</str></lst></lst><result
>> name="response" numFound="0" start="0"/></response>
> 
> looks good, querying works. The index is empty though...
> 
> 
> 
> Ingo

Yes. I guess this is the problem. Strange I can't figure out why it's 
not indexing the pages.
Here goes my (small) setup.ts for SOLR:

plugin.tx_solr {

     general {
         dateFormat.date = d B Y H:i
     }

     index {
         enablePageIndexing = 1
         enableIndexingWhileBeUserLoggedIn = 1

         additionalFields {

         }

         queue {

              tt_news = 1

         }
     }

     suggest = 1
   search {

     targetPage = 319
     highlighting = 1
     spellchecking = 1
     sorting = 1
     faceting = 1

   }
}

I've also tried the longer setup form setup.txt in ext without success.
Already checked the following:
# <!-- TYPO3SEARCH_begin --> and <!-- TYPO3SEARCH_end --> are set  and 
visible in source code
# constants seem to be correct now (no SOLR errors in dev log anymore)
# config.index_enable = 1
# root page (PID2) is "use as root page = enabled" (set as a shortcut 
to a non root page)
# solrconfig.xml > maxDocs = 1
and tried:
# curl http://localhost:8080/solr/core_en/update -H "Content-Type: 
text/xml" --data-binary '<commit />'

Could it either be the problem that I'm using a rootpage forwarding to 
a non-root-page or do I change anything in a multi-site setup?

Regards,

Boris



More information about the TYPO3-project-solr mailing list