[TYPO3-Solr] Solr search form doesn't send query to the solr-server

Dmitry Dulepov dmitry.dulepov at gmail.com
Fri Oct 12 08:54:06 CEST 2012


Hi!

tamim wrote:
> i could connect to my solr-server and also index my sites. I also placed
> a Search Form on a special Search Site. The Problem is that the search
> Form does not show any results at all. Usually the Search Form at least
> delivers a message "Nothing found for "Some-text" ", but not even this
> message is shown.
> I looked into the tomcat logs, but there are no entries for send requests.
> Usually there are entries like ...
>
> /INFO: [core0] webapp=/solr path=/select
> params={hl.fragsize=200&spellcheck=true&facet=true&facet.mincount=1&qf=title+content+type&hl.simple.pre=<span+class%3D"results-highlight">&hl.fl=content&json.nl=map&spellcheck.collate=true&wt=json&hl=true&rows=10&fl=*,score&debugQuery=true&echoParams=all&facet.sort=count&start=0&q=Test&hl.simple.post=</span>&facet.field=type&fq={!typo3access}-1,0&fq=siteHash:"fc202ea94028a474abccc7f1c51e4296de344b03"+OR+siteHash:"e51458085cc9016b96c9b91a12438b9d77862c32"&fq=type:tt_news+OR+type:pages}
> hits=0 status=0 QTime=6 /
>
> It is weird, because i can actually index all the sites but i cannot
> send any requests to the solr-server.

Do you index sites with Solr TYPO3 ext? Are you sure data is in the index? 
I had a similar issue: the indexer finished without errors but search did 
not work. I figured out first that Solr did not have anything in it. When I 
looked further, I found that file_get_contents() is disabled on this server 
but curl was not enabled in Solr ext. So Solr ext was not able to connect 
to Solr server. I just enabled curl in Solr ext TS and everything worked.

-- 
Dmitry Dulepov

Simplicity will save the world.



More information about the TYPO3-project-solr mailing list