× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi All,
I am working on a project to perform a search over a Lucene index. I have
created a bean that will be used to store the information for the index.

I want to make the classes that create the index and search the index as
generic as possible. I had an idea to use reflection to set the values for
the fields in the bean. This would allow me to add fields to the bean
without having to change the index classes.

So the question is, would this be an appropriate use for reflection? I've
never really used reflection before so I don't want to go down this path and
find out I was wrong later.

Also, anybody looking for a good search engine, Lucene is brilliant.

Thank in advance,
--
James R. Perkins

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.