Percolator and CustomMemoryIndex


(Otis Gospodnetić) #1

Hi,

I was looking at Percolator and noticed CustomMemoryIndex.

  1. What's custom about this CustomMemoryIndex? Did something not work
    well with the original MemoryIndex? I looked for comments in the code
    that might indicate what was changed and why, but there aren't any
    such comments there.

  2. There are 2 license headers in there.

Thanks,
Otis

Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/


(Shay Banon) #2

CustomMemoryIndex allows to index the same field several times, which is not allowed in the default MemoryIndex. Planning on submitting a patch post 0.16.
On Wednesday, April 20, 2011 at 12:17 AM, Otis wrote:

Hi,

I was looking at Percolator and noticed CustomMemoryIndex.

  1. What's custom about this CustomMemoryIndex? Did something not work
    well with the original MemoryIndex? I looked for comments in the code
    that might indicate what was changed and why, but there aren't any
    such comments there.

  2. There are 2 license headers in there.

Thanks,
Otis

Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/


(Otis Gospodnetić) #3

Thanks for anticipating my next question :wink:

I was wondering if you hit the problem described in
http://search-lucene.com/m/rZpRR1lYdZ32&subj=MemoryIndex+Reader+IndexReader+and+SegmentReader
and whether you made any changes to MemoryIndex in your
CustomMemoryIndex to avoid them. Sounds like you had no issues with
MemoryIndex and it supported all query types you tried?

Otis

We're hiring HBase hackers for Data Mining and Analytics

On Apr 19, 7:26 pm, Shay Banon shay.ba...@elasticsearch.com wrote:

CustomMemoryIndex allows to index the same field several times, which is not allowed in the default MemoryIndex. Planning on submitting a patch post 0.16.

On Wednesday, April 20, 2011 at 12:17 AM, Otis wrote:

Hi,

I was looking at Percolator and noticed CustomMemoryIndex.

  1. What's custom about this CustomMemoryIndex? Did something not work
    well with the original MemoryIndex? I looked for comments in the code
    that might indicate what was changed and why, but there aren't any
    such comments there.
  1. There are 2 license headers in there.

Thanks,
Otis

Sematext ::http://sematext.com/:: Solr - Lucene - Nutch
Lucene ecosystem search ::http://search-lucene.com/


(system) #4