lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <li...@ehatchersolutions.com>
Subject Re: Search custom tag
Date Fri, 09 May 2003 13:31:38 GMT
I'd recommend you bundle it up (documentation too!  :) and attach it to 
a Bugzilla enhancement request.  I, or others, could commit it to the 
Lucene sandbox - that is where it would ultimately live.

	Erik



On Friday, May 9, 2003, at 07:17  AM, Bryan LaPlante wrote:

> Good morning all,
>
> Hats off to the folks involved in this project, you guys and gals are 
> the
> true programmers. Writing a search engine is a dirty job and I am glad 
> that
> this community is available to me as I muttle through writing the 
> version I
> finally got working yesterday. I think I still enjoy business model
> programming more than this stuff.
>
> I have a question about how I can offer some of my code back to the
> community. I have started writing a lucene-taglib for searching the 
> index
> created by what ever parser that you are using. Currently the tag 
> looks like
> this.
>
> <JSP:Search id="rs" collection="/opt/lucene/index" criteria="${ query 
> }"
> startRow="${ startRow }" maxRows="${ maxRows }">
>
> What ever you have decided to store in your index can be retrieved 
> like so:
>
> rs.getField("summary") or rs.getField("url")
>
> The tag just finds any field in the result and lets you use the 
> getField
> method to retrieve it with in each loop of the result.
>
> </JSP:Search>
>
> My hope is to extend the tag with two more tags for adding multiple
> collections and criteria to the result set. Where should I go to make 
> this
> code available to all of you who have been so helpful to me.
>
>
>
> Bryan LaPlante
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-dev-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message