A question over TokenFilters

2017-04-21 Thread Edoardo Causarano
Hi all. I’m relatively new to Lucene, so I have a couple questions about writing custom filters. The way I understand it, one would extend org.apache.lucene.analysis.TokenFilter and override #incrementToken to examine the current token provided by a stream token producer. I’d like to write so

Re: A question over TokenFilters

2017-04-21 Thread Edoardo Causarano
) Best, Edoardo > On 21 Apr 2017, at 17:32, Ahmet Arslan wrote: > > Hi, > LimitTokenCountFilter is used to index first n tokens. May be it can inspire > you. > > Ahmet > On Friday, April 21, 2017, 6:20:11 PM GMT+3, Edoardo Causarano > wrote: > Hi all. > > I’m r

A question on distributed, sharded searches

2017-05-15 Thread Edoardo Causarano
Hi All, please bear with me for a couple questions on distributed searches. I have some code at hand that is scoring results - also from remote servers - in the application itself. I'd like to investigate how hard it would be to fold the re-scoring back into Lucene, so that individual shards only