SID-01878: Very new user - still learning. Possible to limit search?
| Status: |
Answered |
TWiki version: |
5.0.2 |
Perl version: |
not sure |
| Category: |
CategorySearch |
Server OS: |
some linux, not sure |
Last update: |
11 years ago |
A co-worker graciously offered me space on his server for a workgroup knowledgebase. He has TWiki 5.0.2 on the server and we now have a page off of the main TWiki page.
I have added sub-pages off or ours, but he also has many of his own pages listed on the main page.
I would like our workgroup to get search results only from pages below ours on the main page. Can we accomplish this without making groups and users?
I've searched google and the TWiki site and am not finding an answer...probably because I'm too new to even know the right question to ask.
What would be the best way to limit search results to one link off the main page and it's sub-pages?
Sorry if I'm using incorrect terms.
--
Roger Hanson - 2014-02-28
Discussion and Answer
If your content is unrelated to your co-worker's content I recommend to create a new TWiki web (workspace, collaboration space). Search by default searches only in the current web.
Alternatively you could add a certain keyword, such as the WikiName of your homepage to all your pages (added benefit that users can easily go back), then create a custom search page that has a search form were the embedded search looks for the user entered string as well as the keyword. See
VarSEARCH for details.
--
Peter Thoeny - 2014-02-28
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.