[opencms-dev] Search engine / pure Java

Thomas Maerz thomasmaerz at gmx.de
Tue Jan 14 13:02:40 CET 2003


Hello,

has somebody already tried to use different search indexes for different
users resp. groups of users?

My thinking was to export the sites temporarily statically and then to
create for each user a different index to use Lucene. I also have the
lists of files belonging to each users access permissions.
But then I wasn't able to export the files statically, because of the
the different access permissions the files mustn't be exported. At this
point I then I chose something else to do, because of the database
access errors.

Maybe it would be a better, but maybe also a more difficult, approach to
search the database directly?

By the way I didn't adapt the Lucene module, but just created a JSP-file
which executes a Java command to update the index:

,----[ not very nice, but works for me ]
| java -classpath /lib/lucene-1.2.jar:/ \
| org.apache.lucene.demo.IndexHTML -create -index /export/index /export/
`----

Regards,
Thomas



More information about the opencms-dev mailing list