On 08/10/13 21:23, Diogo FC Patrao wrote:
Hi
I'm trying jena-text, and it's great! I know nothing of Lucene, but could
put up a server with text indexed in less than an afternoon!
Excellent!
Talking with a coleague which knows more of Lucene, he asked about tweaking
its parameters or getting the text snipets from it. I couldn't find any
info about this.
What sort of things had your colleague in mind?
Can someone point me some directions?
The code is in org.apache.jena.query.text.TextIndexLucene
There aren't many ways to externally chnage the configuration (part of
the point was to do something straight forward). That said, it may be
too minimal; being able to set the Analyzer being one example that has
been mentioned [1].
It should be possible to build the index using Lucene directly, making
sure the index and the entity map align.
Andy
[1]
http://mail-archives.apache.org/mod_mbox/jena-users/201309.mbox/%3C7B2B9A78-8FCE-41BF-BFD9-C0C62369D2ED%4067bricks.com%3E
Thanks!
--
diogo patrĂ£o