Bug #38412
Problems with 2 different searches in one installation and tt_news
| Status: | Needs Feedback | Start date: | 2012-06-26 | |
|---|---|---|---|---|
| Priority: | -- undefined -- | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| Votes: | 0 |
Description
Hi,
I've got the following setup: 1 search for most of the tree except 2 subtrees. And one search for the two subtrees.
root
--part 1
---subpart of 1
---subpart of 1
---subpart of 1 with news
---datastorage of 1
--part 2
---subpart of 2
---subpart of 2 with news
---datastorage of 2
Both news use different storage pages.
I've configured 2 sets indexers (news and content) for each tree. Both news and content of part 2 show up in the search results of 1 and in part 2 there are no results.
In the news indexers of both trees i pointed it to the datastorage of the relevant tree.
If I deactivate one set of them (the one for part 2) part one is fine, but part 2 doesn't have any searchresults anymore.
Is there any known problem with 2 datastorage pages for the search?
Regards - Ines
PS: thx for the last update :)
History
Updated by Christian Buelter 10 months ago
- Status changed from New to Needs Feedback
No, there's no known issue with two datastorage pages.
In our projects we use it even with more than two storage pages.
It's hard to tell from your descriptions what might be the problem, I guess it is a configuration issue.
Updated by Stefan Wobbe 7 months ago
Seems that I have the same issue since Version 1.3 or Typo3 4.7.5
Two storage page, two search plug-ins.
The plug-ins have the storage page configured in the right way
but will find everything from all indexes.
Works before but can not reproduce since when this was broken.
Made a kesearch and Typo3 Update, see above.
Regards,
Stefan
Updated by Christian Buelter 7 months ago
I set up a test environment with two pagetrees, two sysfolders for search data storage and two search result pages with ke_search plugins pointing to differend search data sysfolders.
On my envorionment it is working perfectly, BUT I recognized that if you have set up a searchbox via typoscript it seems to mess up the configuration of the search plugin.
So please could you check if you have defined a searchbox via typoscript and if yes, could please disable that searchbox on your result page eg. with
lib.searchbox >
Does this fix the problem?
Updated by Stefan Wobbe 7 months ago
I have in deed 2 search boxes on one page. But both are as plug-in implemented.
One of them works as site search over the hole tree and the other as partial search.
If i deactivate the site search plug-in the partial works again as expected.
Updated by Christian Buelter 7 months ago
Since we use a "Singleton"-instance of the ke_search class, there may be unexpected results with two search boxes on one page.
Maybe you could work with just one search box and implement the "part of the website" / "full website" feature using a filter?
Updated by Stefan Wobbe 7 months ago
Unfortunately that wont solve my case, because on the "part of the website" search I show the results list without search phrase or filter and the list includes the "full website" results witch is unexpected on that site.
Updated by Christian Buelter 7 months ago
On
http://kesearch.kennziffer.com/dokumentation/suchbox-auf-jeder-seite.html
two solutions have been posted:
- Using a COA_INT object and
- and:
Create a plugin in storage folder and add it from typoscript like this...
temp.search = RECORDS
temp.search {
tables = tt_content
source = 24
}
lib.search < temp.search
Did you try these?