On 26/09/13 14:22, Inigo Surguy wrote:
Hi,
We've got jena-text working to do Lucene indexing, and we'd like to
make it use stemming. In Lucene, I think you'd typically do this by
using a SnowballAnalyzer, or creating a custom filter that uses a
SnowballFilter or a PorterStemFilter.
Is there any way to configure jena-text so it will use a different
Lucene analyzer?
Not currently.
The assembler for the text index in
org.apache.jena.query.text.assembler.TextIndexLuceneAssembler
passing info to
org.apache.jena.query.text.TextIndexLucene
if you or someone wants to submit a patch.
Andy
BTW What happens if the analyser at query time is different to that at
index construction time?
Thanks for any help,
Inigo
-- Inigo Surguy
> 67 Bricks Ltd.
> Skype: inigosurguy
http://www.67bricks.com/