Flowpack.SearchPlugin icon indicating copy to clipboard operation
Flowpack.SearchPlugin copied to clipboard

Custom analyzer will fail if using custom index name.

Open kitsunet opened this issue 8 years ago • 5 comments

To avoid ambivalence I usually use a project specific index name for the CR index. So instead of typo3cr I would name the index myproject-cr. Due to the custom analyzer configuration this will fail hard as the analyzer will then be used (due to the nodetype) but doesn't a actually exist in "my" index as it is only configured for typo3cr index. IMHO we need to find a solution that doesn't depend on the index name.

kitsunet avatar Jan 30 '18 11:01 kitsunet

See https://github.com/Flowpack/Flowpack.SearchPlugin/commit/872f3622dde5fb104302c00de76cace2ed6ae135#diff-d06e40a2a4877cacd0ccde3ab14e8588R23 for the cause

kdambekalns avatar Jan 30 '18 11:01 kdambekalns

/cc @daniellienert

kdambekalns avatar Jan 30 '18 11:01 kdambekalns

Hey @kitsunet, that is really bad. I noticed that myself some days ago. I also encountered another problem, it seemed that parts of the index configuration is only working for elastic 1.x which we used at that time... I plan to dedicate my time on the april sprint to the search packages, but it may be that I not find much time till then.

My suggestion would be to move this index configuration out into the documentation to fix it in the meantime.

daniellienert avatar Jan 31 '18 07:01 daniellienert

For me the suggested configuration works with Elasticsearch 2.4, I cannot reproduce the compatibility issue mentioned.

#42 adds at the documentation to work around this.

kdambekalns avatar Feb 07 '18 15:02 kdambekalns

@kitsunet can we close this?

dlubitz avatar Mar 17 '25 21:03 dlubitz