lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Meyers <Aaron.Mey...@microsoft.com.INVALID>
Subject RE: TokenStream IEnumerable?
Date Mon, 03 Dec 2018 23:27:06 GMT
+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
View raw message