Hello devs,
I'm trying a few optimizations of the Lucene plugin and try to keep
this flexible and not too intergeo or curriki specialized.
The fact is that this plugin uses Lucene in a very blind and heavy
fashion, which gives a lot of power (but which is not used). Mostly,
I'd like, in a configurable way:
- to decide to store and/or index or not some objects or object
properties
- to decide to exclude some documents
- to decide to use particular analyzers for particular fields (in
particular the "token fields")
I know it would be almost possible by replacing lucene by solr and
letting users tune solr.
But maybe it is simple to have the configurability done in xwiki.
Probably the nicest way I see this would be the way the notifications
are done: a central field indicates the page of a groovy source which
should implement such an interface as "LuceneIndexProfile" which would
add such questions (maybe even including some more such as the Data
classes).
Is the nicest above easy?
Do we prefer and xml configuration?
paul