 |
Refer Listing To A Friend |
|
|
 |
SUGGEST Search engine tag library TO A FRIEND...
If you have a friend that you would like to recommend this page to,
or if you just want to send yourself a reminder, here is the easy
way to do it!
Simply fill in the e-mail address of the person(s) you wish to tell
about Search engine tag library, your name and e-mail address (so they do
not think it is spam and can reply to you directly with gracious thanks),
and click the SEND button.
If you want to, you can also enter a message that will be included
on the e-mail.
After sending the e-mail, you will be transported back to the
page you recommended!
| Resource Title: |
Search engine tag library |
| URL: | [CLICK HERE] |
| Description: |
The Search custom tag is an iteration tag that loops over the results of criteria passed to the Lucene search engine.
This tag supports parameters for passing the search criteria to the search engine and then returns information about the result set to the page programmer through the name used in this tags ID attribute.
Any field stored in the search index will be accessible after the start tag has run by calling the result set's someID.getField(String name) method which will locate the value of the field and return it as a string. In the event that no such field exists it will return an empty string.
There is also a <LUCENE:Field> tag that does this for you.
If you need to get a list of the column names ahead of time you can call the tags's getFields() method and it will return you a Set of field names that can be iterated over as you will see in the result.jsp example provided with this documentation.
There is also a <LUCNENE:Column> tag that does the same thing.
| |
|
|
|
 |
|