Project

General

Profile

Actions

Bug #76213

closed

Indexed search on custom extension records not working language wise

Added by Jignesh Prajapati almost 8 years ago. Updated almost 8 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.

Actions

Also available in: Atom PDF