Closed (fixed)
Project:
Elasticsearch Connector
Version:
7.x-1.x-dev
Component:
Elasticsearch Connector Search API
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
10 Apr 2014 at 03:33 UTC
Updated:
9 May 2017 at 10:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
skek commentedHello @Nick Robillard,
The processors are disabled with purpose because they are messing the indexing and searching.
For example no need of tokenisers, string to lower and s.o. because the elasticsearch support this internally and when Drupal handle this it mess the Elasticsearch index.
This should become a feature request to enable the elasticsearch highlighting.
I will take a look and let you know what will be best to do here.
It could be something quick to do and if it is I will try to make it fast.
Thanks for digging into the module.
Best Regards.
Comment #2
skek commentedThis is what I'm talking about: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/se...
Comment #3
skek commentedHello @Nick Robillard,
Just a simple patch for enabling the Elasticsearch highlighting.
Needs more work but it will work for a simple case.
Comment #4
skek commentedComment #5
skek commentedBe aware that if you are using a view and you are using "rendered entity" as formatter then the highlighting will not take effect. This should be true for any Search API backend btw if I'm not wrong but as far I saw in the code it should be like this.
Comment #6
Nick Robillard commentedWow thank you for your speediness! I will test this and post my findings.
Comment #7
skek commentedHi @Nick Robillard,
I didn't get any feedback about the patch. Did you have time to check it?
Best Regards,
Nikolay Ignatov
Comment #8
Bojhan commentedThis seems to work, yet I cant get my excerpts to work.
Comment #9
skek commentedComment #10
skek commentedWe need also to handle the highlighting of the autocomplete.
Comment #12
skek commentedWhat needs to be done is to enable the highlight processor for Elasticsearch.
Lets open separate issues if there are problems with the functionality in order to be more manageable. I will relate them to this one after that.
Best Regards,
Nikolay Ignatov
Comment #14
coralie-15 commentedHello,
I have a same problem with drupal 7. The checkbox (tokenizer, stopwords ..), in search api-> filters-> processeurs, are disabled.
I added an analyzer in elasticsearch.yml, but Drupal ignores this analyzer.
How to activate checkboxes in Drupal or use the mapping defined in the elasticsearch.yml ?
Thanks for your help :)