Ok. So you want to build an end-user driven indexing and search
application. This implies that almost the whole framework configuration (with
perhaps exception of the BPEL workflow configuration) should be exposed via
external APIs.
Unfortunately this use case has not been completely covered by
SMILA’s features.
What is missing is the possibility to remotely configure crawler/agent
during the runtime. The feature to create index on-the-fly has been implemented
as a proof of a concept already but not intensively used and definitely needs a
redesign but perhaps you can still use it.
For EclipseCon 2010 talk (http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1388)
Sebastian implemented a bundle which allowed a seed redefinition during the
system operation via JMX, but due to its experimental nature this bundle is
still not a part of the framework.
But, if you’re interested, Sebastian could send you this
bundle so you can test it and perhaps use it in our application.
Regards
Igor
Von:
smila-dev-bounces@xxxxxxxxxxx [mailto:smila-dev-bounces@xxxxxxxxxxx] Im
Auftrag von Bogdan Sacaleanu
Gesendet: Dienstag, 29. Juni 2010 14:53
An: 'Smila project developer mailing list'
Betreff: RE: [smila-dev] Dynamic index naming.
Hi Igor,
that's right. Some issues that I am having are related to the fact
that index names (even crawling seeds) are specified in
XML-configuration file, which are not accessible at runtime.
Kind Regards,
Bogdan.
From: smila-dev-bounces@xxxxxxxxxxx
[mailto:smila-dev-bounces@xxxxxxxxxxx] On Behalf Of igor.novakovic@xxxxxxxxxxxxx
Sent: Dienstag, 29. Juni 2010 14:27
To: smila-dev@xxxxxxxxxxx
Subject: AW: [smila-dev] Dynamic index naming.
Hi Bogdan,
If I understood your problem right, you’re trying to
create dynamically indexes for each user and then let user choose in which
index he/she wants to search in, right?
Cheers
Igor
Von:
smila-dev-bounces@xxxxxxxxxxx [mailto:smila-dev-bounces@xxxxxxxxxxx] Im
Auftrag von Bogdan Sacaleanu
Gesendet: Dienstag, 29. Juni 2010 13:58
An: smila-dev@xxxxxxxxxxx
Betreff: [smila-dev] Dynamic index naming.
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
#######################################################################