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
18 views

How to make custom template for search results

I have developed a custom search module that is working perfectly. Currently I am using the existing "search-results-tpl.php" and "search-result-tpl.php" for showing search results. But I want to make ...
0
votes
1answer
8 views

Show advanced search form outside fieldset

When I search for a keyword in core Drupal search, it shows a results page with a link named Advanced search that hides a fieldset with more form options. I want it to be shown in the basic search ...
0
votes
0answers
7 views

Add multiple conditions in search

I want to add two conditions in drupal core search. First condition contains taxonomy term parent and second condition contains taxonomy term child value. I have developed an interface now i want to ...
0
votes
1answer
6 views

How to turn off Captcha for search?

I've installed the Captcha module and I need to remove it from the search button and form (just an unnecessary nuisance there). Captcha configuration allows me to turn it off for specific values of a ...
0
votes
0answers
12 views

How to exlude forum comment links from search results

My Drupal site is set up as a forum using modules like Advanced Forum, Advanced Forum Bootstrap and Search configuration. Currently I have an issue with search results: forum action links like reply, ...
0
votes
0answers
29 views

Custom pagination in search results

I would like to know how to display a custom pagination in search results. By default drupal search is displaying 10 results but no pagination even $pager; is printed in search-results.tpl.php. I know ...
1
vote
2answers
20 views

Search results issue

I am using the drupal's built in search module, for this I have copied the search-results.tpl.php in my theme folder. Now I have to add images for search results too and also want to custom theme the ...
0
votes
0answers
5 views

how to restrict special chacters in drupal search block form to avoid html injection [closed]

how to restrict special chacters while submittingin drupal search block form to avoid html injection suppose one type hack along with "h1" tag on search bar its considering html tag which it ...
0
votes
1answer
4 views

Drupal Search- Linking Multiple Entities with Relations as a Single Unit

I've got a site that currently uses Views exposed filters for search. I'm looking at other search solutions for Drupal in an attempt to make more complicated searches possible. The searches on my ...
0
votes
1answer
10 views

Search results for URL or Views Titles

I have pages generated by Views with some page url: e.g. /testimonials. When I search the word 'testimonials' I want in results page to be shown the link to testimonials page. How it can be done this ...
0
votes
1answer
22 views

Hook_search_execute();

i am using this hook in my custom module but getting a fatal error Fatal error: Cannot use object of type stdClass as array in C:\wamp\www\bid\includes\common.inc on line 5901 anyone can ...
0
votes
1answer
19 views

Geo field proximity distance for exact location

I'm tried this for a day,but i won't get the answers. I'm using geo field proximity for zip code searching, it's working with 5,25,30 miles search, but i want to search exact location of zip code. eg ...
0
votes
1answer
13 views

Field names returned in search snippet. How to hide?

Field names are being returned in the search snippets on my search results page, like so: Academic Culture Body Text: The academic culture of your host country may be quite different from ...
0
votes
0answers
7 views

How can I get the functionality of the search page form in a block?

I'm using this right now to get a search form in the page header <?php $form = drupal_get_form('search_block_form', TRUE); ?> <?php print render($form); ?> However when you go to the ...
0
votes
0answers
8 views

Filter in URL redirection is not working

There is a filter at "admin/config/search/redirect" that allows to search specific redirect entry. When I enter some value in the text-box and click on "Filter", I do not get filtered list. Instead, ...
0
votes
1answer
19 views

Display entityreference field in search-result.tpl

The entityreference field (field_parent) shows up in node.tpl using print render($content);, but isn't displayed in search-result.tpl. My search-result.tpl looks like this right now: <li ...
0
votes
0answers
14 views

Add filter as dependent drop down in search form and restrict search result within that filter

I want to add two filters to the drupal search form. The first filter should use a taxonomy 'parent' term and 2nd filter use a taxonomy 'child' term of the selected parent in 1st filter, using ajax. ...
1
vote
1answer
20 views

Display suggested search result on search page if search result is empty

There are any way or module to display search result from suggested keyword on search page if search result is empty. just like google search, But result should come from my Apache solr system.
0
votes
0answers
29 views

Solr indexing on custom tables

We are implementing apache solr search in drupal 7.. after installing the module if you run the index, the apache solr is returning results from the drupal tables (nodes,users,taxonomy,content type). ...
0
votes
0answers
4 views

D6 Views exposed filter on Search Term field that handles word parts

Is there anyway to have a View with an exposed Search Term field return results for word parts? I am currently using Drupal search. I'd like to use a hook inside of a custom module rather then going ...
0
votes
0answers
21 views

Drupal URL Arguments in Javascript [closed]

I have a search form with 6 fields. I have to get all the search terms in all the fields then display it in a "box" with a close (x) symbol so people can click to remove this term from their search ...
0
votes
0answers
6 views

Search ignore server and index [closed]

I have problem with search my drupal 7 site. I have installed search api, and search api database modules. I created Server (with Search on parts of a word) and Index (node). Site search good on ...
0
votes
0answers
12 views

Exposed Filters: Is there a way to know how often a query has been run?

I would like to know if it's possible to get the statistics from an exposed filter. For example, if I have a job website, is it possible to get data about which jobs people are searching the most ...
0
votes
4answers
34 views

Is there a way to determine what is powering the content behind a URL?

I have a relative URL in a large site that I inherited: /my-url. For the life of me I can't find the View, Module, or other content that shows how to edit this URL. I've grepped the code base, and ...
0
votes
1answer
10 views

How can I search internal blocks in the admin section?

I've inherited a very large site that I didn't build. I am trying to find one particular block amid around a hundred - I'd like to search these blocks for some of the specific HTML classes they ...
1
vote
0answers
10 views

Advanced search syntax “cheat sheet” or end-user documentation/reference for Apache Solr?

Using the Apache Solr Search module, is there any documentation focused on end-users, especially related to advanced search query syntax? Or is all the advanced syntax exposed only as an API and not ...
1
vote
0answers
18 views

Views changefilter/argument when no results occur [duplicate]

i am using a date range filter which will list news for this week(Sunday to Saturday of current week). Am getting the results correctly. Now am want to show the news for next week if there is no news ...
0
votes
0answers
9 views

Add views arguments to search index and sitemap

I've spent a lot of time searching drupal, this site, google etc and cannot find the answer. I need to have views arguments treated as pages, indexed by search and shown in the sitemap. In my case the ...
0
votes
0answers
10 views

Is there an Apache solr filter for path?

Is there a way to filter results by path with Apache Solr? For instance, we would like have a filter that limits results to "/my-path-here". It would only return results that have a path that begins ...
1
vote
1answer
19 views

Need to add filter with more than one word in view filter criteria Drupal7

I need to add one filter that can take more than one word for searching. Right now i selected "contains" option in Operator for filter criteria. ie i need search string like this: title=word1 or ...
1
vote
1answer
17 views

Google CSE search box display

I am not certain how this happened, but when I add the Google CSE module into my site, this is what search box ends up looking like
1
vote
1answer
15 views

facets do not display on my search page

I've setup apache solr and the facet api for my drupal 6 site, however I can't seem to get my facets to show up on my search page. The only time they show up is when I enable 'show enabled facet ...
2
votes
2answers
33 views

nodes in views and views in search results

I'm building a website, where I don't want to display nodes directly. All nodes are presented using Views. The idea is that i've got 10 basic pages without content. On each of these page I've got one ...
1
vote
0answers
20 views

How do I enable Backlinks View and What Links Here in Drupal 7 Commerce?

We used the backlinks view in D6, as well as the 'What Links Here' tab for each node. We're now using Commerce Kickstart 2. I don't see that View and it appears that the search_node_links table is ...
0
votes
0answers
19 views

Why do my search page and feed items page dates not match?

Feeds mapping overrides the node creation date with the creation date of the RSS feed item. When using <?php print date($node->created); ?> in node.tpl the date shows up fine. But when using ...
0
votes
1answer
17 views

How can I place $content in search results instead of $snippet?

I'm using the Link module to display a field that links to an external site. $snippet places this link (along with other fields) in a paragraph. The fields have no separation and the link doesn't ...
-1
votes
1answer
27 views

Suggestions for adding Advanced Search features to a block (using the dashboard)?

Is it possible to do the following: Add a Search box to a block through the dashboard? Have an Advanced Search on multiple fields in that block? Have the results of the search open in a new page? ...
0
votes
1answer
27 views

How to display search block in a modal dialog

What I would like to accomplish is to display the search block in a modal dialog when the user clicks on a search button that I have created. I have created a search button block (basically an image ...
0
votes
0answers
7 views

Search Results Templates Strange Cacheing Behaviour

I've been trying to resolve an issue with my search results templates. There are two scenarios that I could really use some help with understanding: I have no search result templates inside my ...
0
votes
1answer
22 views

Search API ItemType missing Node

I am using Search API and search views to add facet blocks into my views page. It works perfect on my test site with only search/facet/views related modules. But on my working site, when I add ...
0
votes
1answer
44 views

How can I format the date like this in search-result.tpl?

In node.tpl I have <div class="imported-text"> Created on <?php print date('l', $node->created); ?>, the <?php print date('jS', $node->created); ?> of <?php print date('F ...
1
vote
1answer
45 views

Search using external sites Google Search

I am creating a Drupal site for a government agency, and we use Google Search for our websites. The problem I'm running into is the domain the site I'm creating is on is foo.com, and the search is ...
0
votes
0answers
21 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
22 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
16 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
80 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
30 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
20 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
1answer
18 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 ...
0
votes
1answer
36 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 ...