To decouple facetapi and search api we should create a new submodule to add support for core search.

This needs the following to make everything work:

  • Needs query type
  • implement hook_query alter (see search_query_alter_query_search_node_search_alter)
  • needs CoreSearchFacetSource + CoreSearchFacetSourceDeriver
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

borisson_ created an issue. See original summary.

marthinal’s picture

Assigned: Unassigned » marthinal

marthinal’s picture

Status: Active » Needs work
FileSize
119.23 KB

Needs work and refactor but at least the content type facet for node_search is loading the results :-)

  • marthinal committed fb1edb4 on 8.x-1.x
    #2612084 Fixed WSOD when missing searchExpession for core search pages.
    

marthinal’s picture

FileSize
135.13 KB

Added facet for the author.

  • marthinal committed 8f4f5a7 on 8.x-1.x
    #2612084 Refactor NodeSearch as one facet source. We can add UserSearch...

  • marthinal committed 9c78615 on 8.x-1.x
    #2612084 search keys are now in the facet source.
    

  • marthinal committed 1a1e295 on 8.x-1.x
    #2612084 execute string query type (CoreSearch)
    
marthinal’s picture

FileSize
151.68 KB

  • marthinal committed 2f7bc95 on 8.x-1.x
    #2612084 Avoid content types and languages as advanced search filters.
    
marthinal’s picture

FileSize
133.66 KB

As discussed in the last hangout we avoid content types or languages as advanced filters. For the moment enabling the core_search_facetapi module we can only use the keywords filters.

  • marthinal committed 9bf187b on 8.x-1.x
    #2612084 Avoid node types and language filters ONLY if a facetsource has...
marthinal’s picture

FileSize
139.61 KB
127.18 KB

If a Search Page has no facets then we can use the node type and language filters.

  • marthinal committed 0612078 on 8.x-1.x
    #2612084 Replace the Search Plugin class when we can add config to a...
marthinal’s picture

Status: Needs work » Fixed

This issue is fixed. We should open new issues for the rest of the features, bugs... Please feel free to reopen if needed.

Status: Fixed » Closed (fixed)

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