Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

kinosearch1::highlight::simplehtmlformatter(3pm) [debian man page]

KinoSearch1::Highlight::SimpleHTMLFormatter(3pm)	User Contributed Perl Documentation	  KinoSearch1::Highlight::SimpleHTMLFormatter(3pm)

NAME
KinoSearch1::Highlight::SimpleHTMLFormatter - surround highlight bits with tags SYNOPSIS
my $formatter = KinoSearch1::Highlight::SimpleHTMLFormatter->new( pre_tag => '<i>', post_tag => '</i>', ); # returns "<i>foo</i>" my $highlighted = $formatter->highlight("foo"); DESCRIPTION
This subclass of KinoSearch1::Highlight::Formatter highlights text by surrounding it with HTML "strong" tags. METHODS
new Constructor. Takes hash-style params. my $formatter = KinoSearch1::Highlight::SimpleHTMLFormatter->new( pre_tag => '*', # default: '<strong>' post_tag => '*', # default: '</strong>' ); o pre_tag - a string which will be inserted immediately prior to the highlightable text, typically to accentuate it. If you don't want highlighting, set both "pre_tag" and "post_tag" to ''. o post_tag - a string which will be inserted immediately after the highlightable text. COPYRIGHT
Copyright 2006-2010 Marvin Humphrey LICENSE, DISCLAIMER, BUGS, etc. See KinoSearch1 version 1.00. perl v5.14.2 2011-11-15 KinoSearch1::Highlight::SimpleHTMLFormatter(3pm)

Check Out this Related Man Page

KinoSearch1::Search::SearchServer(3pm)			User Contributed Perl Documentation		    KinoSearch1::Search::SearchServer(3pm)

NAME
KinoSearch1::Search::SearchServer - make a Searcher remotely accessible SYNOPSIS
my $searcher = KinoSearch1::Searcher->new( analyzer => $analyzer, invindex => '/path/to/invindex', ); my $server = KinoSearch1::Search::SearchServer->new( searchable => $searcher, port => 7890, password => $pass, ); $server->serve; DESCRIPTION
The SearchServer class, in conjunction with SearchClient, makes it possible to run a search on one machine and report results on another. By aggregating several SearchClients under a MultiSearcher, the cost of searching what might have been a prohibitively large monolithic index can be distributed across multiple nodes, each with its own, smaller index. METHODS
new Constructor. Takes hash-style parameters. o searchable - The Searcher that the SearchServer will wrap. o port - the port on localhost that the server should open and listen on. o password - a password which must be supplied by clients. serve Open a listening socket on localhost and wait for SearchClients to connect. COPYRIGHT
Copyright 2006-2010 Marvin Humphrey LICENSE, DISCLAIMER, BUGS, etc. See KinoSearch1 version 1.00. perl v5.14.2 2011-11-15 KinoSearch1::Search::SearchServer(3pm)
Man Page

3 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Highlight the string displayed

Hi, Want to highlight the string displayed on the screen. ften="File selected" FB1="\e From the above code, String "File selected" gets highlighted, but the string in the next line does not get highlighted. I tried using FB1& FB2 variables but didn't worked out may be due to too... (1 Reply)
Discussion started by: milink
1 Replies

2. UNIX for Dummies Questions & Answers

Highlight text in shell o/p

Hi All, Can anyone tell me how to highlight a particular text in shell output or formattting a text in shell ? (1 Reply)
Discussion started by: prasanna2166
1 Replies

3. Shell Programming and Scripting

Highlight 'comm' command output

Given the output below (simplified) extracted from the comparison of two curl -I commands saved in two different files, I am looking for the best approach to highlight the following scenarios in a script: this header exists only in file1.txt but this one does not this one exists in both cases... (1 Reply)
Discussion started by: muppets
1 Replies