r6 - 02 Mar 2006 - 18:02:27 - KennethSladeYou are here: TWiki >  Support Web > HowToLimitSearchScope
Tags:
, create new tag

Question

How can I make SEARCH search only within a context (NOT the whole page) using phrases and semicolon separation? (see AnnotatedBibliography for an example of the problem) Is this even possible?

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin, CalendarPlugin
Server OS: Linux (2.4.21-32.0.1.ELsmp)
Web server: Apache/2.0.46
Perl version: v5.8.0
Client OS: MS Windows XP Pro, service pack 2
Web Browser: Mozilla Firefox 1.0.6
Categories: Search, Missing functionality
-- KennethSlade - 08 Sep 2005

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

Kenneth, I am not sure how you define a context within a topic, but I had once a need to extract text BetweenTwoWords and FormattedSearch tool was very useful. It might help you.

-- AntonioVega - 21 Sep 2005

I think you might refer to the problem I had: I needed to search a term from the section of text beginning with some particular string. Take a look at SearchBookTitles.

-- MikkoLaakso - 13 Oct 2005

You can use regexp to search.

-- PieterVanDerSpek - 14 Oct 2005

Regexps don't fix the problem, which is semicolon separation. Please actually use AnnotatedBibliography to see what I'm talking about (example at the bottom of the page).

-- KennethSlade - 02 Mar 2006

 
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r6 < r5 < r4 < r3 < r2 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo