Hi,
I am building an
application that based on a user URL-list it crawls and index its content. Since
the user can
use several lists and it
can decide to switch between them from search to search, I would need several
indices
corresponding to those
lists that can be switched among them.
I am
only having a problem with the Mappings file that specifies for every index the
mappings between the Record's
attributes and the Lucene
fields. The indices' names are hard coded and should be configured in advance,
but I would have
names for them only at
runtime, depending on the URL-list of the user.
Is
there any way of dynamically specifying the Mappings file!?
Kind Regards,
Bogdan.
#######################################################################
Bogdan Eugen Sacaleanu, Researcher
& Software Engineer
LT-Lab DFKI
Stuhlsatzenhausweg 3
66123 Saarbruecken, Germany
bogdan@xxxxxxx Phone: +49 681 302 5261
http://www.dfki.de/~bogdan Fax : +49 681 302 5338
#######################################################################
Deutsches Forschungszentrum fuer Kuenstliche
Intelligenz GmbH Trippstadter Strasse 122,
D-67663 Kaiserslautern, Germany
Geschaeftsfuehrung:
Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter´Olthoff
Vorsitzender des Aufsichtsrats:
Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
#######################################################################