Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Searching for TCA shows barely related content #26

Open
andreaskienast opened this issue Jul 23, 2021 · 7 comments
Open

Searching for TCA shows barely related content #26

andreaskienast opened this issue Jul 23, 2021 · 7 comments
Labels

Comments

@andreaskienast
Copy link
Contributor

If I search for "TCA" in the docs search, I get every extension having something with TCA listed. This is fine, but I'd expect to get the Core's TCA documentation at first.

@tmotyl
Copy link
Collaborator

tmotyl commented Jul 25, 2021

I think this can be solved in many ways.

  1. improve TCA page content so its ranked higher
  2. Use some mechanism to improve some popular phrases
  • either by synonims
  • Or by so other mechanism to boost certain pages on some phrase (eg by adding a high ranked „keywords” field) or even doing a redirect when you search for sth

Is there any other posibility @gr0 ?

@gr0
Copy link

gr0 commented Jul 25, 2021

Potential improvement for this issue should come from #18 - after introducing that change the newest version of the official core docs should appear higher. With appropriate boost they should be on top of the results for queries. That way when searching for tca the documents from the core documentation should high in the results and I think this is what we are aiming for.

In addition to that, a static boost could be included in all the queries to always boost documents that include reference-coreapi in the URL, something that could be done when working on #15.

Of course improvements to the documents and their structure is always a plus and if there are possibilities that should happen as well.

I would avoid doing redirects for now - this is clearly a relevancy problem and with redirects we are only hiding the issue. I assume tca is just an example of a problematic query and we can fine a dozen of cases will result in the core documentation not being on top in the results pages.

@tmotyl
Copy link
Collaborator

tmotyl commented Jul 26, 2021

deployed #18, the results seems beter now, can you confirm @andreasfernandez ?

@andreaskienast
Copy link
Contributor Author

It still ranks ckeditor TCA higher than TCA reference, but it's a lot better now 👍

@tmotyl
Copy link
Collaborator

tmotyl commented Jul 26, 2021

yep, both are official core manuals, so they have the same boosting see 597925c#diff-7b8c1d52de730061d038585bff361c5093291d499369080abf9d5c97e14e4c52R203

tmotyl added a commit to tmotyl/TYPO3.CMS that referenced this issue Feb 4, 2022
This should improve search results when people look for "TCA"
see TYPO3-Documentation/t3docs-search-indexer#26
@tmotyl
Copy link
Collaborator

tmotyl commented Feb 4, 2022

@andreasfernandez can you test/check now ckeditor is first result, but following results are very good.
To kick ckeditor out of the first place, the chapter title should be changed -> see TYPO3/typo3#352

reviewtypo3org pushed a commit to TYPO3/typo3 that referenced this issue Feb 4, 2022
This should improve search results when people look for "TCA"
see TYPO3-Documentation/t3docs-search-indexer#26

Releases: main
Resolves: #96748
Change-Id: I4135f56f5b69bff801eff885d4378c9cc0b2407c
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73294
Tested-by: core-ci <[email protected]>
Tested-by: Stefan Bürk <[email protected]>
Tested-by: Christian Kuhn <[email protected]>
Reviewed-by: Stefan Bürk <[email protected]>
Reviewed-by: Christian Kuhn <[email protected]>
TYPO3IncTeam pushed a commit to TYPO3-CMS/rte_ckeditor that referenced this issue Feb 4, 2022
This should improve search results when people look for "TCA"
see TYPO3-Documentation/t3docs-search-indexer#26

Releases: main
Resolves: #96748
Change-Id: I4135f56f5b69bff801eff885d4378c9cc0b2407c
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73294
Tested-by: core-ci <[email protected]>
Tested-by: Stefan Bürk <[email protected]>
Tested-by: Christian Kuhn <[email protected]>
Reviewed-by: Stefan Bürk <[email protected]>
Reviewed-by: Christian Kuhn <[email protected]>
@tmotyl
Copy link
Collaborator

tmotyl commented Dec 6, 2023

@tmotyl tmotyl added the todo label Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants