Questions tagged [search]

Use it for the Drupal core module or any module extending its functionality, or aiming to replace it.

Filter by
Sorted by
Tagged with
0
votes
0answers
17 views

Why does core Search fail to index the word “HEERF”?

The word HEERF is contained within the body/content of the node, but when I search for the word is is not found. Searching on "Federal" or "Cares" returns the page in the result ...
0
votes
2answers
22 views

How to change the url the core search form submits to?

The action value for the core search form is /search/node. How could I get it to go instead to a different url for a custom View?
0
votes
1answer
17 views

How to make a facet search on a taxonomy term contained in a paragraph contained in a content type?

On Drupal 8, I try to make a facet on a taxonomy term contained in a paragraph entity contained in a content type. Is it possible? My stack : Druapl 8.9.0 + Search API 8.x-1.17 + Facets 8.x-1.5 In ...
1
vote
0answers
9 views

How to add translation of terms to a search API index?

I have some media in the site default language, it is tagged by terms and the terms are translated. The media is not. How could I add the translated terms to the search index so it's possible to find ...
0
votes
0answers
23 views

How to stop spiders from crawling every combination of multiple drop-down pages

We have a site with around 10,000 pages and media items (mainly PDFs) We use various tools to catalog, check and report on our site and, of course we encourage good spiders (Google et al.). The ...
-1
votes
0answers
16 views

Search for a title doesn't give any search results

I'm using the solr search api, and it's actually is working great. Except, I cannot search for the title of the node, if I do, no results will show up (except if the title is also in the body) But the ...
0
votes
0answers
12 views

unable to search SOLR index for pdf content

I setup SOLR in order to index pdf content. I followed this article: https://www.chapterthree.com/blog/indexing-pdfs-for-solr-search I'm able to index pdf content using SOLR extractor instead of Tika. ...
0
votes
1answer
17 views

Views + Search API not properly sorting by Commerce Price (seems random)

I have a search index View of product variations. The commerce_price field is indexed and exposed as sort option. However, when sorting by the price it appears mostly in order (Asc or Desc) but some ...
-3
votes
0answers
17 views

search api solr : partial keyword number + letter not working

We have Solr version :drupal-4.3-solr-4.x Problem: we have an existing part of a node title: swf6p175 we can search for swf6p175 we can search for swf issue: we can NOT search for swf6: : only ...
0
votes
1answer
16 views

How to combine two filters in search api views?

I have a search index which is indexing both content and files. I have configured the search api views which displays the search results. On this view, I have a filter on type which displays the ...
1
vote
1answer
64 views

How can I programmatically reindex Commerce products to AWS Elastic Search?

I am using Drupal 8 Commerce module. I am using Elastic Search on AWS platform. From the Admin whenever product is saved, those changes are directly applied on Elastic Search server, but when I try ...
1
vote
0answers
26 views

Search API : Elastic Search gives priority to sort instead of title

I am using below modules for Search module: drupal/elasticsearch_connector": "^5.0@alpha" drupal/search_api: "^1.8" I am using AWS Elastic Search. What the issue I am facing ...
0
votes
0answers
31 views

Redirect to suggestion with search api autocomplete

I'm using search api and search api autocomplete. I want that when a user clicks on a suggestion (search api autocomplete), he will be redirected to that suggestion, not the search results. For ...
0
votes
0answers
17 views

How to use a glossary exposed filter in search api views?

I have a search api views. I want to display a glossary filter on title. I have searched many articles to implement it using a contextual filters. But the options of context filters can be seen in a ...
0
votes
1answer
26 views

Change sort order for view when exposed filter text field submitted

I have a view that by default is ordered by date. It has several exposed filters one of which is for filtering by text (we use it as a search field). I'd like the view sort to change to Relevance when ...
0
votes
0answers
24 views

Speeding up Search API DB search?

I'm using Search API with it's build in Database search, and while the results are much better than the default Drupal search, the speed is quite slow. I'm seeing 10-15 seconds to get the results page ...
1
vote
2answers
19 views

How to order search results based on author field content

I am using Drupal 8 search views, I would like to order the search result so that the content that's author has field "X" filled out should be ordered first and all other content where the ...
1
vote
0answers
10 views

What is the most common use case for the search_api “Index Hierarchy” processor given it is limited to indexing entity ids?

In search_api the "Index Hierarchy" processor is described as being for the filtering on parent use case: Allows you to index hierarchical fields along with all their parents. Most ...
0
votes
1answer
41 views

How can I allow editors to manage many taxonomies while choosing which terms to boost and which to make visible?

The system I am working on has about 15 taxonomies. It may have 30 or more eventually. We didn't want to add a field for every taxonomy since the editors would have hated that. Initially we went with ...
1
vote
1answer
32 views

Custom redirect to an url with “+”

I use search api module and a view of products. If I put the search text block and I do a search, It redirect to an url like this: <my domain>?search_api_fulltext=word1+word2+word3&sort_by=...
0
votes
0answers
8 views

Create a new indexed field in solr search api

On my drupal site I have to fields from wich I need the minimum in my view. So I thought I could use a search api hook to create the minimum of two fields as index, but I don't know exactly which ...
0
votes
0answers
13 views

How to get content from pages generated by views included in search results

I have a view that assembles all of our job postings. It creates a page whose url is /jobs. Our search backend is Database Search. A search of "jobs" returns no results. Is there a way to get ...
0
votes
1answer
17 views

How to edit Advanced Search Form's Content Type checkbox-list using hook_form_alter

I have a Drupal 7 setup. I want to remove few Content types from the Content Type checklist that appears in Advanced Search form. I could see that advanced search form comes in 'advanced' field-set of ...
0
votes
1answer
18 views

Which is the highest version of Solr that is compatible with the “Apache Solr Search” module?

I have a setup of Drupal 7 with the Apache Solr Search module. I am planning to upgrade the solr server's current installed version(3.6) to a higher version. The latest version of Solr available in ...
0
votes
0answers
10 views

Search API: The “Fulltext search” filter is missing when configuring a view

I'm trying to create a search view, by following these instructions. But I've run into some difficulties. So far, I've done the following: Installed the Search API module Installed the Search API ...
1
vote
1answer
22 views

Search Results page. Move the search form after the results?

Apparently the only template file to edit is for an individual search result, located at core/modules/search/templates/search-result.html.twig. So you can't move the search form after the results and ...
0
votes
1answer
26 views

How to include media documents in search

Is there any way to include documents I created with the media core module into the search form of the page? I only found the categories "users" and "nodes".
0
votes
1answer
36 views

Remove dots ( … ) from default search results descriptions ( snippet )

I want to remove dots from search results items descriptions to search result page ( Default Search ), i have used Drupal default search for the search result page so how to remove the dots from the ...
0
votes
1answer
14 views

solr is running, but search isn't working: “The Solr server of Solr could not be reached.”

I am using Search API Solr (Version: 7.x-1.14), and search was working fine but has stopped working. I now see "The Solr server of Solr could not be reached" at admin/config/search/search_api. In ...
0
votes
0answers
15 views

How do I show the menu link title?

I'm trying to show the title of a menu-link (see screenshot) in my view based on a Search API content source, but it seems that it wouldn't get indexed. These is what i've done: using drupal 8.8.4 ...
1
vote
1answer
29 views

Change exposed filter date format with Search API

We are using Search API for a customer website and we have a View with a start and end date exposed filter. The view only filters correctly if we use the m/d/Y format, which is not valid in Brazil, ...
0
votes
0answers
17 views

search-index with drush fails on field_collection error

I've been rebuilding my search index using "drush search-index" for the better part of the day. There have been a few odd errors that I have handled as I went along, making some fixes in the process ...
0
votes
0answers
9 views

Refactoring custom module to handle views after migrating off of drupal/media_entity

I administer a drupal 8 (8.6.4) site and am trying to migrate us away from the drupal/media_entity contrib module and into the media support in drupal/core. I have successfully completed the ...
1
vote
1answer
133 views

How can you hide “Your search yielded no results.” when no keywords have been entered on the search page?

On the core default search page located at /search/node, if you visit this URI the page displays "Your search yielded no results." It displays this message whether keywords have been entered that ...
1
vote
0answers
15 views

How to create non-entity(custom) Index in Search API

I'm working on a website that calls another external web service. I want to collect those data somewhere on the D8 website. then based on them I'll provide some REST endpoints for the FE layer. one ...
0
votes
0answers
17 views

search api manipulates phrase

i have a site with search API and views. I configured and created my search. (The site is in hebrew), I noticed that when I search for a 4 letter word - lets say "ward"; I get results with the words :...
0
votes
1answer
20 views

How to get replacement pattern for Search API's fulltext search in global text area header

In Drupal 7, I'm currently using the default core search, and a view for node search results. I have a global text to pull in the replacement pattern for the term that were searched for. I get the ...
0
votes
0answers
10 views

Marking Items on Apache Solr Search page results as downloaded based on user viewing

We have a drupal 7 site that uses Apache Solr search. We have a number of search pages that use Facet API where users can browse our thousands of images and look for ones to download. We want for ...
0
votes
0answers
18 views

How do I create a View to use Bootstrap Paragraph fields and group by the title?

I have a View for FAQ's, and an exposed combined fields filter. I created an FAQ content type, and added a paragraph field that contains "Question" and "Answer" fields. I cant use Search API, and want ...
0
votes
0answers
10 views

Facet api active facet description

I'm using search api and facet api to create a faceted search. The facets are taxonomy terms in the sidebar. What I need to create is a block that shows the description of the taxonomy term in ...
0
votes
1answer
36 views

“drush sapi-i” command which calls drush_backend_batch_process() fails with “Output is empty”

I am trying to integrate ElasticSearch with Drupal and till now everything seems to be working except that the command drush sapi-i crashes with the output: > 'C:/xampp/htdocs/my-project/docroot/...
0
votes
0answers
11 views

Change ID of search field created with Views

Using views I made a search page and by using the exposed search filter as block I created my search ability on my website. But I need to change the id of my search field. I know I can change to ...
0
votes
0answers
13 views

Apache solr and drupal commerce price filter not working

I Create one search api related view in that i added Price based filter using exposed and between operator but that product not filter between values it's taking randomly for example : my quantity ...
0
votes
1answer
20 views

Solr Search Custom search form template

I have solr search setup on my drupal8 website. I have a view setup that has two pages in it. I have the search box via an exposed form placed as a block in my header region. What I want to do is to ...
0
votes
0answers
10 views

Edit SOLR query based on checboxes in form

I am using Search API and Search API SOLR modules to search with SOLR. Now I would to change the query and I already learned how to do it. Last thing I need is to allow user change query through some ...
0
votes
1answer
47 views

Exclude node from search API results based on values in existing fields

My content node includes a verified checkbox that's marked by a human reviewer who then also enters a date. The node is verified only when the box is checked and the date is entered. A content node ...
3
votes
1answer
70 views

Avoid hard crash if user searches when Solr stopped

I use search_api_solr with a server-based Solr installation. Works fine. For reasons I won't explain, the Solr service is stopped sometimes. If a user does a search while Solr is stopped, they crash ...
0
votes
1answer
21 views

Solr search not returning content type

I have a site set up with Solr search. Drupal says 100% of the site is indexed, and the Search appears to work for most content types and their fields. However, the search does not seem to be ...
0
votes
0answers
15 views

How can I configure Drupal Facets groups for an inclusive and exlcusive functionality simultaneously?

Sorry if this is not the right way to ask for help, my case is just a question. Is there a way I can configure Facets so I can do this...? Category - Facet group - AND C1 - OR C2 - OR C3 - OR Type ...
0
votes
0answers
44 views

Sort by term references matches

I'm using Drupal 8, the Search API module and SolR. I have a content type (Page) and a taxonomy term reference field. A page can have multiple tags. When I search pages with Search API, i can't find ...

1
2 3 4 5
39