Fields not showing in Indexed View page

Created on 18 April 2024, 8 months ago
Updated 5 May 2024, 8 months ago

Problem/Motivation

Fields and Indexed Fields in view context index not showing.

Here is a loom recording https://www.loom.com/share/182b862405254baaacac53b51bd8ba6e?sid=a0d9fe29...

Steps to reproduce

  • I installed the search API and database search module and disabled core search
  • I then added a server
  • I then added an index and configured it.
  • I indexed all the content
  • I created the view context index page
  • I added the fields.
  • Nothing shows up.
💬 Support request
Status

Fixed

Version

1.34

Component

Views integration

Created by

🇺🇸United States docans

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @docans
  • 🇺🇸United States docans
  • Status changed to Fixed 8 months ago
  • 🇦🇹Austria drunken monkey Vienna, Austria

    I think your problem might be that you have also enabled the “Taxonomy term” datasource. This is only necessary if you want taxonomy terms as result items alongside content, which I don’t think is the case. If you just want taxonomy terms indexed as part of content items (i.e., you want to be able to filter content by them) then you don’t need them as a datasource, just enable the corresponding fields on the “Fields” tab.

    What is probably happening (to check, you could add the “Index Property Index: Datasource” field to the view) is that the first results shown are taxonomy terms, and since they don’t have any of the fields you configured (since they are all from the Content datasource) nothing is shown.
    Simply removing that datasource from the index should fix your problem. Please re-open if that is not the case, I’m tentatively marking this “Fixed” already.

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

Production build 0.71.5 2024