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

learn more… | top users | synonyms

0
votes
1answer
11 views

How to have search results from a views defined block display on page?

I have created a custom search block with Views 3 in Drupal 7. I would like the results of that search be displayed in a page (like the default drupal search block) and not in the block itself (which ...
0
votes
1answer
57 views

Dreadful Google CSE error

We have several sites on a multisite structure, and almost all of them use Google CSE. However, some of these websites display the error "Refused to display 'http://www.google.com/cse?cx=...' in a ...
0
votes
1answer
50 views

Search across multiple views

I have a page with two view blocks in it, each pulling from different content types. Is there a way to allow the user to search both views at the same time? I want to be able to enter a search term ...
0
votes
2answers
19 views

How to use search_excerpt() function from core search module?

I want to use the function search_excerpt() to generate excerpts. Unfortunately this function is returning exactly same text as I submit. For example I tried this: $test = (search_excerpt('test', ...
0
votes
2answers
20 views

Coloring rows in returned drupal search results

I'm trying to modify search-result.tpl.php and template.php to color the backgrounds of search results returned such that every row has a different color than the one that preceded it. Only two colors ...
1
vote
2answers
44 views

How to search more fields using single text field textbox

I have a content type with fields title, body, short description & long description. In view i added these fields. i need to add an exposed search text-field in view to search the search term in ...
1
vote
2answers
17 views

Editing Drupal Search SQL

I'm using the basic Drupal Search module (search.module) and I want to customize the SQL of the search. I don't know how to go about doing this. There are two things I want to edit in the SQL: 1) ...
0
votes
1answer
14 views

Displaying Images in Search Results

I have a Resource content type that has an image field (field type and widget are both 'image'); the standard image type. The title of this field is 'Icon' and the machine name is 'field_icon'. I ...
0
votes
1answer
7 views

Move people search to list page

Is there a way or module that allows me to move the search tab of the People page to the List tab?
0
votes
1answer
11 views

Search all content fields with “find content” module instead of title

I want to search all fields instead of the title only. right now I'm using the "find content" module. Tried to find another one which is similar but am not able to find.. Thanks in advance!
0
votes
2answers
10 views

Unset search after leaving page

In my drupal admin content page when I search for something it keeps displaying the searched items. Even when I leave the page and go back it is still displaying items from the search querie When I ...
0
votes
0answers
16 views

solr search displayview did you mean?

Currently I have setup the whole solr search and everything is working great! When you begin to type your search string the solr search block, it "displays did you mean?" This is great except for the ...
0
votes
0answers
17 views

Search Api Autocomplete view all results html

We're experiencing a problem with 'view all results for:' functionality on our solr search. if i keyword search, i get a list of nodes which match the keyword that works fine. if i click the view all ...
0
votes
0answers
12 views

New title on old page - search results show old title

I have a page that used to have 2010-2012 in the title, now it has 2014-2017. When I search for that page using HUD or HUD Grant, I want the new title to show. How can I do that?
0
votes
1answer
21 views

Customizing search results page to use template.php and search-results.tpl.php

I'm using Drupal 7, the basic Drupal search tool. I like what it returns as far as the actual node pages. However, I want to customize the main search results page that shows a list of results after a ...
0
votes
1answer
34 views

Good and basic solution for search page

I'm starting in on drupal search engine and I am looking to create a search page. First I would like the search is on very specific fields of some content types. What can be done with the basic module ...
1
vote
2answers
19 views

How to show language specific search result in Solr search

We have configured solr search in one of our site.The site is multilingual and having 5 languages content in it. The problem we are facing is, when user language is selected as french and any ...
0
votes
2answers
23 views

Re-indexing of site stalled, & running cron won't advance

I have a site recently moved from D6 to D7. The search in D7 was not finding nodes containing the search terms, so I began a re-index in the search settings. This has stalled at 11% of site (with 3570 ...
0
votes
0answers
8 views

Apache Solr modules terminology

After reading through documentation for Drupal's Solr modules I found the terms Realm, Core and Environment used almost interchangeable in places. I understand that Core is an instance of Solr indexes ...
1
vote
1answer
7 views

Display non search results in Drupal 7

I've been looking for a way to show all taxonomy terms that are not searched for in a view. What I mean is: I want a search to sort out safe food for customers that are allergic to some food. If a ...
4
votes
3answers
86 views

What are the major differences between solr modules

I am looking into Solr search for my site and am seeing two equally well-used modules. Apache Solr Search (lots of contrib around this) Search API Solr Search, built on Search API Why would I pick ...
1
vote
0answers
25 views

Unable to Search Table Containing Webform Submissions Using Exposed Combined Fields Filter

I'm trying to add a Combined Fields Filter that users can come to my site and use to search through a Table View that is populated by user-created Webform submissions. Unfortunately, when I create ...
0
votes
1answer
14 views

Is it possible to restrict the site search module to specific nodes?

I am trying to figure out a way to provide a search for a specific set of nodes. Currently it seems that the site search is not configurable in this way. Is there any way to change this functionality, ...
2
votes
2answers
18 views

Exclude a page from indexing on a per page basis

I would like to be able to remove a page from search engines (external and drupal). I want to add a checkbox on the content type to be able to specify which page should or should not be indexed. My ...
0
votes
0answers
21 views

Drupal 7 'Default Search'- result lists only one page

I have enabled the Search module in Drupal 7.34 inside a block like: <?php $search_block = drupal_get_form('search_block_form'); print drupal_render($search_block); ?> I have enabled the ...
0
votes
0answers
25 views

Drupal exposed form search term filter giving a SQL error

I had installed drupal 7 with oracle as database. Its working fine but some query fails. I am attaching the error that i got while searching a term with search term filter in my exposed filter form. ...
0
votes
0answers
9 views

Are entity form submissions supposed to be searchable?

It was my understanding that entity form submissions should be searchable using site search, but submissions are not showing up in my search results. Is this expected behavior, or is something wrong?
0
votes
0answers
18 views

Filtering View via Geofield Proximity Search by a _fixed_ Distance?

I'm trying to build a site where users (experts for hire) can create a profile with address and maximum travel distance, and visitors can search for experts by entering a location and needed ...
0
votes
0answers
22 views

Search result is always “Your search yielded no results”

I have this code in the page--front.tpl.php to get the search rendered in my Drupal 7 front. <?php $search_block = drupal_get_form('search_block_form'); print drupal_render($search_block); ...
0
votes
0answers
43 views

Search Results Display in Block vs. New Page

I have the Google Search Code (paid version) loaded in a block on my Drupal 7 website. When a search query is entered, the search results are displayed in the same block. I wanted the search results ...
0
votes
1answer
17 views

How can I make Search Terms in a View to look fo into the edited Summary?

I have a View of a type of content, and it has a Search Terms contextual filter. It searches perfectly (after indexing the content and running cron), but when I have a node which has the summary ...
0
votes
0answers
52 views

Customizing the search results page with Apache Solr

I have business requirements to do a total overhaul of the Search Results page for our site. Based on the searching i've done so far, I have a few options to adjust the results pulled by the search: ...
0
votes
0answers
11 views

Create custom rendering of a field for search?

Is there a way to change the appearance of a filed in the search? Using a custom plugin, there is a field that holds an ID linked to a media database. The usual display for this field is getting links ...
0
votes
1answer
13 views

Best Multisite configuration, advice needed

I am designing a new website on top of Drupal 7 that will consist on 3 sites. Site 1: its the most important one, 80% of the development will occur here because it will have unique features. The key ...
0
votes
1answer
59 views

Search bar in main menu

I would like to place the search bar in the main menu on the right. I have seen several people on the net asking for this but never encountered some information I could actually use. I use Drupal 7 ...
1
vote
0answers
37 views

How to customize my Drupal search?

I have a Drupal 7.x intranet and I am using the Apache Solr Search module as the backend (basic out of the box setup). My site has content types and custom fields, but it is not using tags/taxonomy, ...
0
votes
1answer
33 views

Is there a filter/search option available for navigating the 'Find Content > Files' page?

I have a site with thousands of files uploaded, and Drupal's admin view doesn't seem to offer a comprehensive filter for the Files view like it does with the Content view. There also apparently isn't ...
0
votes
0answers
12 views

Search with select filters that use fields on select

I create a e-commerce with products with some custom fields. I need to create a search box with filters to search in these fields or with free keywords. There are a module, spinet or any code to do ...
0
votes
1answer
121 views

Theming / modifying the markup of default search block form

I'm trying to modify the basic search block form that comes with Drupal 7 core. I have a custom theme and inside my templates folder I copied the search-block-form.tpl.php and modified it like so ...
1
vote
1answer
53 views

Search only indexing public fields

We have a problem with search only indexing fields that have their "Field visibility and permissions" either set to be "Public" or "Custom" with the anonymous user able to view. Any field that is ...
0
votes
0answers
27 views

Creating new Solr index when using Solr without Search API

I've previously worked with Solr with the Search API module, but currently I'm working on a client project which is hosted at Acquia, and since they seem to discourage using Search API in favor of the ...
2
votes
3answers
51 views

Equivalent of search_data() in Drupal 8

Is there any function equivalent to the (D7) search_data() in Drupal 8? I would like to get the search results as a renderable array or html for a given keyword programatically. In D8, the ...
0
votes
1answer
15 views

Searching for a user details (including custom fields) in People Administration Page

I want to search people on my people page in admin. I searched around and found this great plugin :- User search to People Admin - This helps me search user through their email, usernames perfectly. ...
0
votes
1answer
14 views

Search form block only appear for administrarors

I have a site with three different languages on it. for a while we had a search bottom on the English site. I wanted to be on all three languages. after playing around with it, it now appears in all ...
1
vote
1answer
33 views

How to add to index unpublished content by apachesolr?

I use apachesolr module for index content. As I understand, this module does not provide indexing unpublished content. Is it some trick to avoid that? I try to use this hook and change status ...
0
votes
1answer
43 views

SOLR Snippet with link to PDF

I'm using Apache SOLR as search engine. Everything works fine, indexing as I want, showing the data as I want. I only need to show the PDF which belongs to a certain snippet on a search result. ...
0
votes
2answers
53 views

How to search in field collection item?

I want the Drupal Default Search to look into Field Collection items. I currently have a field_resources collection with a field_description and a field_file, and the search should be looking into ...
0
votes
1answer
72 views

Print custom text on search no result with search-results.tpl.php

I want to print custom text if there is no result on search. I'm using custom search-result.tpl.php and search-results.tpl.php. My search-results.tpl.php is that: <?php if ...
0
votes
1answer
123 views

Load view with ajax and contextual/exposed filters

I am trying to access content, that is provided via and can be filtered via a view. I want to load this content dynamically with Ajax. My problem now is, that I can access the view without problems ...
1
vote
1answer
18 views

Adding a second search for a specific content type

I am currently trying to build out a Video-oriented component on a longform article based site, and one of the requirements call for a Video segment/block that can be placed on any page, and it has a ...