[TYPO3-Solr] solr not returning results as expected for tt_news categories

Jernej Zorec jernejz at gmail.com
Wed Aug 8 12:53:42 CEST 2012


On 8/8/12 11:58 AM, Ingo Renner wrote:
> Am 07.08.12 18:18, schrieb Jernej Zorec:
>
> Hi Jernej,
>
>> But, when I try to search for the title of the category with:
>> http://localhost:8080/solr/introduction/select/?q=Breaking
>> I don't get any results.
>
> That's because category_stringM is not in the list of fields to be
> searched. When just issueing a query using the q parameter Solr uses the
> default configuration we ship with the extension. That configuration
> sets up the default fields to search, which are the default TYPO3 "core
> content fields" (content, title, keywords, tagsH1, tagsH2H3, tagsH4H5H6,
> tagsInline).
>
> These are also the fields defined in plugin.tx_solr.search.query.fields
>
> Simply add the category_stringM field to that list and you should find
> your documents.
>
> http://forge.typo3.org/projects/extension-solr/wiki/Tx_solrsearch#queryfields
>
>
>
> best
> Ingo
>

Thx Ingo. It works!

Regards,
Jernej


More information about the TYPO3-project-solr mailing list