TYPO3-Documentation / t3docs-search-indexer

TYPO3 Docs Search
4 stars 5 forks source link

Search for "tca search" returns pages without TCA #80

Open cweiske opened 5 months ago

cweiske commented 5 months ago

When searching for "tca search" https://docs.typo3.org/search/search?scope=&q=tca+search I get unrelated results:

Search typo3/guide-tell-me-something-about TYPO3 manual main Search for: ✦ typo3+backend+layout ✦ typo3+”backend layout” ✦...

Search typo3/guide-tell-me-something-about TYPO3 manual main Search for: ✦ typo3 gridelements ✦...

Search typo3/guide-tell-me-something-about TYPO3 manual main Search for: ✦ typo3+code+of+conduct ✦ code+of+conduct ✦ “code+of+conduct” ✦...

The first 3 results do not have "TCA" in their visible content.

linawolf commented 5 months ago

I believe the issue here is that the words are combined with or not with and Is there a way to influence this, @soee? Shouldn't a page containing both come first in any case?

I would have expected something like this to match: https://docs.typo3.org/m/typo3/reference-tca/12.4/en-us/ColumnsConfig/CommonProperties/Search.html#search

cweiske commented 3 months ago

Same for "temporary files": https://docs.typo3.org/search/search?q=temporary+files Results like https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/DataHandler/Introduction/Index.html#files are returned that do not container "temporary".

linawolf commented 3 months ago

Try temporary+files https://docs.typo3.org/search/search?scope=&q=temporary%2Bfiles

linawolf commented 3 months ago

But I do agree the default doesnt make sense here, we need to tackle this