lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Pook <andy.p...@gmail.com>
Subject Re: TokenStream IEnumerable?
Date Sun, 09 Dec 2018 16:49:01 GMT
see also https://github.com/apache/lucenenet/pull/212 for other enumerable
helpers

On Mon, 3 Dec 2018 at 23:27, Aaron Meyers
<Aaron.Meyers@microsoft.com.invalid> wrote:

> +1
>
> -----Original Message-----
> From: Chris Moschini <chris@brass9.com>
> Sent: Monday, December 3, 2018 9:15 AM
> To: dev@lucenenet.apache.org
> Subject: TokenStream IEnumerable?
>
> I'd like to propose that Lucene.Net.Analysis.TokenStream implement
> IEnumerable, just to continue the directive in the Lucene.Net dev
> guidelines to do things in the .Net way where available. It has a very
> IEnumerable structure, with .IncrementToken() almost perfectly mirroring
> the IEnumerable.MoveNext() approach.
>
> I'm happy to do the work to implement this if the team would be interested.
> -Chris Moschini,
> Brass Nine Design
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message