[TYPO3-Solr] no results from local TYPO3 - SOLVED!

Ingo Renner ingo at typo3.org
Mon Jan 23 18:34:06 CET 2012


Am 15.11.11 19:33, schrieb Stefano Cecere:

Hi Stefano,

> public function modifyQuery(tx_solr_Query $query) {
>     $query->removeFilter('siteHash');
>     return $query;
> }
> 
> @INGO: would it be nice to put this option into the TSetup?

there has been an issue in the forge bug tracker about this already. We
won't add an option for this but there's actually a small extension
attached to that issue which does exactly what you did ;)

http://forge.typo3.org/issues/5898

To explain a bit more: fq is for filter query, so this is a query acting
as a filter for all matching result documents. After matching the q
search terms, they also have to match the fq conditions before being
returned to the client.


best
Ingo

-- 
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2, Admin Google Summer of Code

TYPO3 - Open Source Enterprise Content Management System
http://typo3.org

Apache Solr for TYPO3 -
Open Source Enterprise Search meets Open Source Enterprise CMS
http://www.typo3-solr.com


More information about the TYPO3-project-solr mailing list