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
0answers
12 views

Make Solr search results link to page rather than node

Is there a good way to make Solr search results link to the page that a node exists within rather than the node itself? For example, I have API pages that have several different nodes of different ...
0
votes
0answers
13 views

“Did you mean this ?” Google site search and views exposed filter integration

Is there a way to use Google site search to search through Views Exposed Filters. Basically for autosuggestion and "did you mean this".
0
votes
1answer
14 views

Search for drupal site using taxonomy

We are due to move our website (a rather large charity site) and we would really like to make sure search is working as well as possible. We are currently working on tagging all our content using a ...
3
votes
4answers
45 views

Remove submitted by on Drupal 7 search results

How can I modify the search results on drupal 7 so that the submitted by author and date doesn't appear?
0
votes
0answers
14 views

An AJAX HTTP error occurred in Search autocomplete

I am using Search API db and Search API autocomplete modules everything was fine for 200-300 contents. Now I imported around 50,000+ contents to the site and when I start typing in the autocomplete ...
0
votes
0answers
14 views

Add Search keyword to views query alter

I need to alter my views query before the views result gets displayed. I need to search a key word in taxonomy title and description field and only display the updated search results. I added both ...
0
votes
0answers
7 views

ApacheSolr - No Documents or Data in Index

For reasons unknown to me, Apache Solr isn't indexing any of the Articles that I create. I have about 10 articles, just for testing, and Solr tells me that no documents have been indexed, nor have ...
1
vote
1answer
30 views

Search inside title and body

<div class="views-row views-row-1 views-row-odd views-row-first"> <div class="views-field views-field-name"> <span class="field-content"><a ...
0
votes
0answers
37 views

how to build drupal search and category blockto show categories and subcategories [closed]

I tried to build category and search block to show categories and subcategories and search box. I tried from structure/taxonomy/category to categorization, and I installed custom_search module to make ...
2
votes
2answers
101 views

Using orderBy correctly with hook_query_alter

I have a hook_query_alter function that I'm using to edit my search.module results. It works ok so far. However, I'm having trouble adding an orderBy condition that I need. Here's the SQL I want added ...
0
votes
2answers
39 views

Passing variables via template.php for search module

I'm using search.module. I used dpm(get_defined_vars() ); in my search-results.tpl.php file to see all returned variables, so I can reference a needed variable in some PHP code I'm writing in there. ...
0
votes
1answer
19 views

How do I show a basic search block on the front page that integrates with search api?

I've been creating my search pages in Search API, but I want to offer a search block on the front page or other pages that can do what the core search block does. Is there a way to either integrate ...
2
votes
0answers
30 views

Is Search API module 'English-speaking' only?

I am developing a multilingual (English-Ukrainian) Drupal website using Entity translation module. Everything went smooth before I tried to use the search module. I have Search API, Database search, ...
0
votes
0answers
15 views

Problems with Search API and Entity Translation

I'm building a two-language website (Ukrainian - main, English - second) with the new Entity Translation approach. This approach seems very promising however it does not support multilingual content ...
0
votes
0answers
14 views

How to include both taxonamy and content type in a single views exposed search form

I need to add an exposed search block using views in the site. Which searches the data in content types and taxonomy terms that i specified in my views filter. Any way to do it.
1
vote
0answers
15 views

Remove language:en in search box?

I have a search box with the custom_search module, and everytime I search for content it always adds language:en or language:fr to the end of my search term. Is there anyway to remove this or stop ...
0
votes
0answers
11 views

After one invalid search, search box in block stops working

Site with small search box (search block form) in the header. When you make a search, a large search box also appears at the top of the search results page (this is default behaviour). The issue I'm ...
0
votes
0answers
16 views

ApacheSolr - Create Custom Field Bias

I'm trying to create a new Field Bias with the ApacheSolr module. It's a field I've called References, and it's associated with only certain types (articles, pages, etc.). Because I'm also using the ...
0
votes
0answers
12 views

Using substr() with Drupal search-result.tpl.php returning fewer characters than expected

In my search-result.tpl.php file I want to return only the first 200 characters of the body field before outputting it to the screen (assuming there are that many characters). I'm trying to use the ...
1
vote
2answers
88 views

When does the core Drupal search module is worth using?

I mean, is there any approximate number of nodes or just website pages (or any other measures of website size) when the out of the box Drupal search module is still worth using? I understand that much ...
0
votes
0answers
18 views

Drupal views contextual filters multiple values for search term

As title suggests I want to have a contextual filter on search term but also to have the posibility to use multiple values, atm search term has no support for multiple values.
0
votes
1answer
44 views

How to make custom module specific data searchable in Drupal 7?

I just created custom module with name example , And it has a form to enter data to it's specific table. I want to make the data in this custom table searchable with Drupal default search feature. ...
0
votes
1answer
12 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
69 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
53 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
20 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
23 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
55 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
20 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
24 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
18 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
23 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
27 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
15 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
31 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
35 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
40 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
34 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
9 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
8 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
96 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
27 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
15 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
19 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
23 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
30 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
12 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
26 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 ...