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
1answer
569 views

Search indexing slow query

Drupal 7.x The search module's indexing maintenance sql query takes a couple of minutes to complete each time cron gets triggered. SELECT t.word AS realword, i.word FROM search_total t LEFT JOIN ...
1
vote
2answers
361 views

Searching entity reference field value with Search API

I am using Seach API, Solr Search modules in my website for searching. I've created an index, say 'Blogs index', I've selected blogs content type to index Fields - title, body, Author are added to ...
0
votes
1answer
434 views

How to filter Search API index view by taxonomy parent

I am using the default database server that comes with search api. I have the Hierarchy Index ticked and I also have the taxonomy field that I want selected. Could someone give me instructions on how ...
-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 ...
1
vote
0answers
25 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 ...
1
vote
1answer
1k views

Products containing a hyphen or numbers not shown or wrong relevance

I have an external Apache Solr Server, with Search API and Search API Views. When we search for ordinary products, they are shown correctly, with the correct descending relevance order. When we ...
1
vote
1answer
53 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 ...
0
votes
1answer
14 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
460 views

Use computed fields as Apache solr facets

Today I wanted to add a computed field to my facet to make a faceted search using that field but when checking the facets page that field wasn't in the allowed field to make facets. When i realized ...
0
votes
1answer
571 views

SearchApiQuery - possible to remove a filter?

The query parameter that is passed to search_api_query_alter has SearchApiQueryFilter member. It contains a protected array of filter elements. I can add to this by calling the createFilter() and ...
0
votes
1answer
503 views

Search API group by issue with views

I have a content type thats is called course which has a field that is a reference to a taxonomy called category. My specification tells to build a search where users can search for the course title,...
0
votes
0answers
28 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
1answer
579 views

An error occured while attempting to process /ajax/ajax_facets/refresh:$.blockUI is not a function

Ajax facets work but I get an error "An error occured while attempting to process /ajax/ajax_facets/refresh:$.blockUI is not a function" when I click on ajax links with checkboxes for the facets for ...
2
votes
1answer
445 views

Apache Solr and Arabic diacrictics

I am using Drupal and I would like to index Arabic text that use Arabic diacritics extensively 'similar to accents in French or Umlauts in German". The text is indexed but the search doesn't ignore ...
0
votes
0answers
14 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
406 views

How to create relevant keyword search using drupal 7 views

We have created one drupal views and fetching the content from one content type. created exposed filter by two field (title,body) using contextual filter. Search is working fine for exact match ...
0
votes
1answer
23 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
22 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
1answer
386 views

Full phrase search

Now I'm using "Search_api" module and when I input, for example, "test case" - it's output all articles which consists both of this words separately. But I want to make search with exact phrase "test ...
7
votes
3answers
3k views

How to customize the default search block form template?

How can I customize the default search block form template, I now use below template to display a search form block, but this code doesn't allow me to edit and customize each part of this form ...
3
votes
2answers
992 views

How do I get comments to be indexed?

I'm not sure if it's actually doing this; I can't see any options for comment fields in the configuration. How can I check? Does it say explicitly somewhere?
1
vote
1answer
557 views

Search Api Autocomplete doesnt filter by language

We're using Search API Autocomplete with Search API 7.x-1.9 on a site set up with Solr (Websolr) serving nodes in both English and German. I'm looking to be able to filter the results by ...
0
votes
1answer
474 views

How to change operator in schema.xml and configure site for AND search

I am using Solr search with drupal.Its working fine on my site but the problem is i needed the search to be a specific to the searched content. If i searched for "assembly and key",the search result ...
1
vote
2answers
18 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 ...
0
votes
1answer
532 views

Programmatically querying via SearchApiAcquiaSearchService

I am working on a site where querying using SearchApiSolrService is successful. However, when I deploy to Acquia Cloud and attempt to access the Acquia Search using the SearchApiAcquiaSearchService I ...
2
votes
1answer
491 views

Having issues getting solr search facets to appear on non-search pages

I'm using the solr search integration module with facet api on drupal 7 and I'm having issues getting the facets to show on non-search pages. I've checked the box for non-search pages and added a few ...
0
votes
1answer
477 views

How to change path of taxonomy facet

I am using facet search on my site. The search paths for taxonomy term facets are of the pattern "search/term-name", but I would like them to be of the pattern "search/term-tid". Is this possible? ...
0
votes
1answer
389 views

Search not finding search term from page title

Using the default database search index in drupal 8, when I search for a term from the a page title, sometimes it shows the result and sometimes it shows nothing, even though i enter the exact page ...
0
votes
1answer
423 views

How to set up Apache solr search for Book Specific search

I have two books in my website (Drupal 7) and i am using Solr search. I want to implement book specific search so that, if user is searching for Book1 content then it should show results from Book1 ...
0
votes
1answer
587 views

How to delete a file attachment from the apachesolr index

My file attachments are indexed using apachesolr attachments 7.x-1.x-dev. I have a custom module that physically deletes a file using file_delete(), but file still remains in Apachesolr index even ...
0
votes
1answer
455 views

How do I avoid behaviors are invoked after an AJAX call?

I have a search result page, with the first set of data being fetched during the page load, and we add a Load More button. Clicking on this button fires an AJAX call, using the ajax_links_api module. ...
0
votes
1answer
623 views

Warning: uasort(): Array was modified by the user comparison function in FacetapiWidget->applySorts()

I'm trying to build my own sorting function implementing hook_facetapi_sort() and sorting the following data by weight. name, weight dog, -2 cat, 1 zebra, -5 dolphin, 3 bee, 5 The code I wrote so ...
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 ...
3
votes
1answer
1k views

How to render a facet block?

I've created a facet block according to this example Programatically render a block in a twig template I've created the facet block as follows: $variables['block_output'] = Drupal::service('plugin....
0
votes
1answer
527 views

FACETS : Add “Apply” button that will apply all filters in one query

Is it possible in D8 to add an "Apply" button that will apply all facet filters in one query and not having an ajax reload on each option changed ? i find this for D7 : https://www.drupal.org/...
0
votes
1answer
499 views

Can Apache Solr Search allow a user to search 'within' current results?

I'm looking for a way to allow a user to search 'within' current Solr search results (not search api solr results). Is there existing functionality that provides this? If I need to implement a ...
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 ...
0
votes
1answer
929 views

How do I provide a facet to filter by month?

I am using Apache Solr to index a drupal site, and with facet_api enabled I have a set of useful facets available to me, so that I can filter by tag, author etc. I am using facetapi_select to display ...
1
vote
1answer
31 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
2answers
1k views

Can I Search an entity reference with search api db?

I am using the search api database backend together with a views (with exposed fulltext search field). I want to show a 'related field' that is related to a content type that is being indexed. When ...
1
vote
2answers
2k views

How to boost relevance of Search API solr with creation date?

We have replaced Drupal's core search with SolR but we have noticed a recursiveness issue regarding the search results, for ex. when searching “executive committee”, documents created in 2006 and 2007 ...
0
votes
1answer
526 views

Showing title keyword in autocomplete

I have just installed search auto complete module,its working fine,but the problem is its showing title before every result like: title: Drupal 7.9 Release tile:Understanding Drupal Here Drupal 7.9 ...
0
votes
1answer
613 views

Show image on solr search result page

I want to show image in my solr search result page. For that, I have created one field in my content type called media. In db, Images are saving in field_data_field_media table in the form of ...
2
votes
1answer
976 views

Show parent items in hierarchical facet display

Taxonomy terms are configured as such: Parent category 1 - Child category 1 - Child category 2 Parent category 2 - Child category 3 - Child category 4 "Empty facet behaviour" is set to "Do not ...
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
1answer
832 views

How can I check the value of an aggregated field without direct access to Solr?

I'm using Search API Solr on Pantheon (which means I don't have direct access to the Solr backend), and I've set up an aggregated field in the UI. This aggregated field is a Fulltext aggregation of a ...
3
votes
1answer
587 views

No search results display when using core search

I have added Drupal the search module block and it displays the search form. When I type and click on search button, it displays nothing, just a refresh in page only. What do I need to do to get ...
2
votes
1answer
1k views

How to expose filter for entity reference as dropdown in the Search API view?

In my Search API view, I'd like an Exposed filter > Entity reference to be a select box, not a text field. Details I have a view which I created like: Views > Add new view > Show: default node ...
2
votes
1answer
629 views

How to create a views page of discounted products list?

I'am using commerce discount module in commerce kickstart 2.11 And need to create a page with a list of dicounted products using views filter and/or search API. I've tryed without any success. Please ...
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 ...

1
2 3 4 5
38