Bug #76213

Indexed search on custom extension records not working language wise

Added by Jignesh Prajapati about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Target version:
-
Start date:
2016-05-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Hello,

I am working on indexing of my custom extension records and my site is in two languages German & English.

I have successfully indexed records but the only problem I get is, when I search I get records for all languages, but it should be language wise.

I have used the crawler extension to index the extension records.

Below is the pageTS crawler configuration I have used:

tx_crawler.crawlerCfg.paramSets.records = &tx_records_pi1[record]=[_TABLE:tx_records_domain_model_record;_PID:106;_WHERE:AND (sys_language_uid=0)]
tx_crawler.crawlerCfg.paramSets.records {
procInstrFilter = tx_indexedsearch_reindex,tx_cachemgm_recache
cHash = 1
pidsOnly = 105
}

tx_crawler.crawlerCfg.paramSets.recordsDE = &tx_records_pi1[record]=[_TABLE:tx_records_domain_model_record;_PID:106;_WHERE:AND (sys_language_uid=1)]&L=1
tx_crawler.crawlerCfg.paramSets.recordsDE {
procInstrFilter = tx_indexedsearch_reindex,tx_cachemgm_recache
cHash = 1
pidsOnly = 105
}

also I have added Indexing Configuration for database records of the extension with GET parameter string:
tx_records_pi1[record]=###UID###

But I get all records of both languages in search result.

Please help me here.

#1

Updated by Wouter Wolters about 6 years ago

  • Status changed from New to Closed

Jignesh, this is not a place to ask for help. Please use the mailinglist or join our Slack channel to ask for help with your problem. To join Slack see below:

Chat with us

The TYPO3 team is using a tool called Slack to openly communicate with each other and with the public. Several teams use Slack as a way to communicate internally and most channels are a welcome place for you to join and get yourself involved.

Register: https://forger.typo3.org/slack/
Slack: https://typo3.slack.com/

Also available in: Atom PDF