Questions tagged [drupal-search]

The Search module is a core module that exposes an API other modules can use to allow searching for data in Drupal.

The Search module exposes an API that other modules can use to allow searching for data in Drupal. The Node module, and the User module implement the integration with the Search module, allowing searching of the content of nodes, or the list of users that are registered in a Drupal site knowing the username, or (for administrator users) the email address.

Third-party modules can integrate with the Search module, which allows the users to look for different entity. Some of them implement the integration with the Search module to allow Drupal to use different search engines; one of those modules is the Apache Solr Search Integration module.

43 questions
0
votes
1 answer

Drupal Search Module Linking to Comments Directly

On my drupal search results page link directly to the comments of the post, in addition to just the post itself. Looking at the search.module file the relevant code seems to be. $output = '
alan
  • 391
  • 1
  • 4
  • 8
0
votes
1 answer

Core Taxonomy Term Views using Search API Indexed content, NOT normal content

This seems like a logical use case, but I cannot find any information about how to do this. I am creating a large, number of pages, site and want to use Solr Indexed data on the Taxonomy Term pages. The indexed content is not available in the normal…
WT-Ranger
  • 1
  • 2
0
votes
1 answer

How to customize the drupal filter based only on user Role Drupal

problem: How to customize the default search that it will only display based on user role and it's page created? Is there any available module for this or do I have to write hook function for this? I’m using drupal 6
Bryan
  • 3
  • 2
0
votes
1 answer

Drupal search does not index all nodes?

I created many nodes (Drupal 6.2x) by using script to directly insert content into the database. The nodes themselves contain php script to get content from a database table. All node show up as expected, and all node titles are searchable. But,…
Natkeeran
  • 1,719
  • 6
  • 29
  • 52
0
votes
1 answer

Solr Search_api_attachment failing while Indexing from drush

Config : PHP 5.6 Solr-5.5.5 RHEL7 drupal7 search_api_attachments 7.x Indexing of ndes thriough UI si successful but search through attachments is not working. While Indexing by drush sapi-i 'my_Index_name' it gives the following error : "WD…
0
votes
1 answer

Remove duplicate records from view result with pager using search api

My project is setup in Drupal 7 and i am using search API for display my custom search result. Actually i want to show search result based on two content types content so i have configure the search api for those content type and select the fields…
arun kamboj
  • 1,145
  • 4
  • 17
  • 48
0
votes
1 answer

How do I mark content entities as dirty in Drupal 7 Search API module

I am using Drupal 7 with the search api. I understand that one of the 'common pitfalls' of the search api is 'Changes in related entities don't lead to re-indexing'. I am bringing in a field called 'Collection Reference' in my search api index as…
Peter
  • 3
  • 2
0
votes
1 answer

Drupal's Search API with Paragraphs and Reverse references

I would like to configure Drupal's Search API in that way, that it's possible to index (and search over) an entity type (Person) which is referenced by an paragraph and this paragraph is referenced by another entity type (Article). That's approx.…
Michael
  • 203
  • 1
  • 9
0
votes
1 answer

Drupal facets relevance sorting - change Solr query operator from "AND" to "OR"?

How to change drupal facets solr query operator from "AND" to "OR"? We're working on a drupal based Job Board and want our faceted search to provide results that match parts of selected facets. E.g. the query has the facets "facet1", "facet2",…
0
votes
0 answers

Relate Search API fields in Drupal 8

In my Drupal 8 site I have people nodes. Each one is linked with one or more book nodes. And each book has a year field. Using the Search API, I want to search by book name and two years (min and max) and get the name of the person who has a book…
Esteban Gerpe
  • 344
  • 1
  • 6
0
votes
1 answer

Apache solr search result view Drupal 7

I am working Apache solr search its working fine. But I need to change the search result to my view like title, date, short description and image. Can you please someone help me. How to override the search result to custom result.tpl page.
Rajesh Baskaran
  • 322
  • 1
  • 11
0
votes
1 answer

Drupal search yielded no results for anonymous user

I am using Drupal 7.50 Search returns no results for user either he is login or not(Except admin user). Only admin user can Fetch the search result , but not the other user. (1) successfully returns results for Administrator account. (2) returns…
Rajesh Baskaran
  • 322
  • 1
  • 11
0
votes
1 answer

Apache Solr search index problem

I have installed Apache Solr and run 2 times manually cron but I have a problem that 0% was sent to server: The search index is generated by running cron. 0% of the site content has been sent to the server. There are 2884 items left to send. Using…
Drupality
  • 1
  • 2
0
votes
2 answers

What is the easiest way to index (for the search index) 70,000 nodes?

What's the easiest way to index (for the search index) 70.000 nodes in Drupal ? I'm running cron every 3 minutes (500 nodes per run) but it doesn't seem to be that fast. Thanks
aneuryzm
  • 63,052
  • 100
  • 273
  • 488
0
votes
1 answer

Empty search redirect to Home page

I am using Drupal 7 and my search functionality is not working properly. When I click on search button without enter any keyword it redirects to home page with showing the message Please enter some keywords. and same thing happens when there is no…
Mash
  • 420
  • 3
  • 5
  • 16