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

searchInCategories($_ids) umkehren #299

Open
simonsinus opened this issue Oct 26, 2020 · 3 comments
Open

searchInCategories($_ids) umkehren #299

simonsinus opened this issue Oct 26, 2020 · 3 comments

Comments

@simonsinus
Copy link

Analog zu searchIn funktionen sollte es auch.
donotsearchin - Funktionen geben.

@tyrant88
Copy link
Member

Du willst sie nur bei der Suche ausschließen? Dann müsstest du alle Kategorien OHNE einige ausgewählte in die searchin Funktion füttern.
Für den gesamten Index gibt es die Blacklist.

@simonsinus
Copy link
Author

Die Idee ist, dass man mehrere Such Indizes hat je nach Verwendungszweck.
So könnte man eine Suche für einen geschlossenen Mitgliederbereich umsetzen,
das über eine normale Suche der Webseite nicht gefunden werden soll.

@tyrant88
Copy link
Member

Mehrere Indexe gehen eh nicht.
Und die Suche dynamisch anpassen, dafür ist die Funktion searchIn ja da. Musst ja wie gesagt nur die Logik umdrehen: im geschützen Bereich keine Einschränkung und außerhalb nur alle Kategorien ohne die geschützten.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants