I recently had a need for a filter that concatenates tokens. There is no
such filter in ES out-of-the-box, so I developed it.
This filter might be useful to others and I'm wondering if there a
'contrib' package in ES where I could commit the code?
You can send a pull request, or maybe point me to a place where I can look at the code. If its a pure Lucene filter, maybe it makes sense to contribute it to Lucene, and then use it in elasticsearch?
-shay.banon
On Monday, July 4, 2011 at 12:54 PM, stephane wrote:
Hi,
I recently had a need for a filter that concatenates tokens. There is no
such filter in ES out-of-the-box, so I developed it.
This filter might be useful to others and I'm wondering if there a
'contrib' package in ES where I could commit the code?
You can send a pull request, or maybe point me to a place where I can look at the code. If its a pure Lucene filter, maybe it makes sense to contribute it to Lucene, and then use it in elasticsearch?
-shay.banon
On Monday, July 4, 2011 at 12:54 PM, stephane wrote:
Hi,
I recently had a need for a filter that concatenates tokens. There is no
such filter in ES out-of-the-box, so I developed it.
This filter might be useful to others and I'm wondering if there a
'contrib' package in ES where I could commit the code?
The filter is a very simple lucene filter. Then there is the factory
class to make it work in ES.
You are both right, it makes sens to contribute the filter to Lucene and
the factory to ES.
Stephane
On Mon, 2011-07-04 at 17:22 -0700, Otis wrote:
Hi,
Is this ES-specific? Or Lucene-level code?
If the latter, wouldn't it make more sense to contribute it to Lucene
instead? ES could still use it.
You can send a pull request, or maybe point me to a place where I can look at the code. If its a pure Lucene filter, maybe it makes sense to contribute it to Lucene, and then use it in elasticsearch?
-shay.banon
On Monday, July 4, 2011 at 12:54 PM, stephane wrote:
Hi,
I recently had a need for a filter that concatenates tokens. There is no
such filter in ES out-of-the-box, so I developed it.
This filter might be useful to others and I'm wondering if there a
'contrib' package in ES where I could commit the code?
Maybe you can point at the code for the filter and the factory (send a pull request)? I can review it if you want, and we can work on getting it submitted as a patch to Lucene (the filter itself).
On Tuesday, July 5, 2011 at 11:03 AM, stephane wrote:
Hi all,
The filter is a very simple lucene filter. Then there is the factory
class to make it work in ES.
You are both right, it makes sens to contribute the filter to Lucene and
the factory to ES.
Stephane
On Mon, 2011-07-04 at 17:22 -0700, Otis wrote:
Hi,
Is this ES-specific? Or Lucene-level code?
If the latter, wouldn't it make more sense to contribute it to Lucene
instead? ES could still use it.
You can send a pull request, or maybe point me to a place where I can look at the code. If its a pure Lucene filter, maybe it makes sense to contribute it to Lucene, and then use it in elasticsearch?
-shay.banon
On Monday, July 4, 2011 at 12:54 PM, stephane wrote:
Hi,
I recently had a need for a filter that concatenates tokens. There is no
such filter in ES out-of-the-box, so I developed it.
This filter might be useful to others and I'm wondering if there a
'contrib' package in ES where I could commit the code?
Was there any progress in adding the concatenation filter to Lucene (and ES) last summer? I can't find any evidence of built-in support for this type of filter.
Do you have a reference to it? I don't remember it...
On Wednesday, February 1, 2012 at 10:31 PM, cole wrote:
Hi Stephane and Shay,
Was there any progress in adding the concatenation filter to Lucene (and ES)
last summer? I can't find any evidence of built-in support for this type of
filter.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.