Filter "Search - Fulltext search - Elasticsearch" not working with Views.

The text input does not appear neither in the Views admin configuration nor configured as exposed filter.

Comments

mpastas created an issue. See original summary.

bander2’s picture

I can't reproduce this. @mpastas can you try this on the latest dev?

takim’s picture

I think you are trying to use elastic search index Instead of Search API index. If you are using Search API index and add fulltext search inout from that index it should work. Otherwise place screen shot.

takim’s picture

Status: Active » Postponed (maintainer needs more info)
skek’s picture

Status: Postponed (maintainer needs more info) » Active

@takim,

This is actually for the Elasticsearch Connector Views module, which is a ES index readonly module and not connected with Search API integration.
So we should keep this open.

takim’s picture

@skek

I agree. I have tried that and it did not work.

m4olivei’s picture

What is the difference between the ES Index based views integration and the Search API views integration? When would you use one over the other?

skek’s picture

@m4olivei,

The idea of ES Index based views is when you want to present content in Drupal that is not created there.
Imagine you have a Drupal Site A, which index content in an index. Then Drupal Site B can fetch content from this index, without the need to have the entities.
An other example is when an 3th party app index logs/transactions in Elastic and you want to create some admin pages within Drupal.

m4olivei’s picture

Ahhhh, that makes a lot of sense. So if the site where elasticsearch_connector is installed is the only one creating indices on your Elasticsearch cluster, from content on the same site, than you don't need ES Index based views?

skek’s picture

Yes, that's correct.

alejomc’s picture

this first attempt implements the fulltextsearch filter.

alejomc’s picture

alejomc’s picture

StatusFileSize
new17.62 KB
alejomc’s picture

StatusFileSize
new8.59 KB
stevenlafl’s picture

Version: 8.x-5.x-dev » 8.x-6.x-dev
Status: Active » Reviewed & tested by the community

I have a View with the fulltext set up against an Index, not a cluster, so this is exactly what I was looking for. Things like Title or other fields were not being searched against.
After applying, the search now works absolutely beautifully and as intended (8.6) on a very large site. Good work, and thank you.

  • alejomc authored 938f560 on 8.x-6.x
    Issue #2871856 by alejomc, takim, skek, m4olivei, mpastas, bander2,...
skek’s picture

Status: Reviewed & tested by the community » Fixed

Thank you for the contribution @here.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

pySilver’s picture

Full text search and other queries are supported at this fork: https://www.drupal.org/project/elasticsearch_connector/issues/3077463