search


TagLib for the regain search engine

Tag Library Information
Display NameNone
Version1.0
Short Namesearch
URINone
 

Tag Summary
msgWrites a localized message. The messages are defined in the msg*.properties.
paramWrites the value of a HTML request parameter.
checkChecks whether there is a index and whether a query was given. If one of these conditions is not fulfilled, a redirect to another page is sent.
contenttypeOverride the Content Type for this request.
navigationCreates hyperlinks to navigate through the search result pages.
listThe list tag encloses the JSP code that should be repeated for every shown search hit. Reads the request parameters: "fromresult" (The index of the first result to show) and "maxresults" (The maximum number of results to show).
input_hiddenparamWrites the value of a HTML request parameter as a hidden field.
input_fieldlistGenerates a combobox list that shows all distinct values of a field in the index.
input_queryWrites an input field that contains the current search query.
input_orderWrites an drop down that contains the possible result order options.
input_maxresultsWrites a hidden field that contains the maximum number of results.
input_submitWrites a submit button.
error_messageWrites the error message.
error_stacktraceWrites the stacktrace of the error.
stats_queryWrites the query as String.
stats_fromWrites the number of the first hit shown on this page.
stats_toWrites the number of the last hit shown on this page.
stats_totalWrites the total number of hits.
stats_numdocsWrites the total number of documents from the index.
stats_searchtimeWrites the time the plain search took in seconds.
hit_linkWrites a link to the current hit's document. For the link text the title is used. This tag must be inside a link tag.
hit_typeiconGenerates an img showing the hit's type using its extension. This tag must be inside a link tag.
hit_pathWrites the navigation path to the current hit's document. This tag must be inside a link tag.
hit_scoreWrites the score of the current hit in percent. This tag must be inside a link tag.
hit_sortContentWrites the sort content of the current hit. This tag must be inside a link tag.
hit_sizeWrites the size to the current hit's document. This tag must be inside a link tag.
hit_contentWrites a hidden textarea which holds the whole content.
hit_cachedWrites the text label for the cached content.
hit_urlWrites the URL of the current hit's document. This tag must be inside a link tag.
hit_filenameWrites the filename of the current hit's document. This tag must be inside a link tag.
hit_fieldWrites the value of an index field of the current hit's document. This tag must be inside a link tag.
hit_lastModifiedWrites the value the last modified date of the current hit's document. This tag must be inside a link tag.
 


Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-3 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.