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

You must include at least one positive keyword with 3 characters or more

Drupal 6.20 according to the changelog file. We took over a site from another company who built the site in Drupal, and we'll be converting it over to Wordpress eventually but we need to resolve the ...
1
vote
1answer
16 views

Implementing a search and results page in the admin interface

I'm trying to implement a search and results form in the admin interface but I am having trouble getting the search function and pager working. [1] The pager is not showing at all. I've got this ...
0
votes
0answers
16 views

Search pager links not correctly appending query string [closed]

Within the pager generated by Drupal 7's search module, does anyone know how to update/change the pagination links so they append to the end of a non-default clean URL? I am using Drupal 7.41.47 with ...
0
votes
0answers
19 views

How can I enable search on parts of a word and Autocomplete suggestions for Drupal 8 Search API?

I'm using search Api in Drupal 8. I tried with search API pages and even views, but I didn't find %like% function query Can I do %like% in search Api or Views?
1
vote
1answer
35 views

Search results based only on OG group membership

I have followed this tutorial. I have selected the blocks option instead of page option in views as I want to add it as a block in the organic group homepage. How do I restrict the search using ...
0
votes
0answers
14 views

Search API Page - Display Snippet

I've setup Search API (using database service) with the Search API Page module. I set View Mode to Themed as Search Results, but when the page displays I'm getting the full, un-filtered HTML of the ...
1
vote
0answers
10 views

Node access permission but show view teasers and search result teasers

I use Content Access module and Profile 2 module to restrict access to specific nodes and assign a specific role during registration. The problem now is that the search results are not visible? How ...
1
vote
1answer
18 views

Manually post to search results page

I have a section in my theme where I'd like to manually include a search input. I do not want to use the search block as I have some additional customizations I'm integrating outside of the scope of ...
1
vote
1answer
18 views

Restricted nodes don't show up in search results

On this Belgium version of the side users has to have the right permission to view specific nodes. I did this with Content Access module. But now when you as anonymous user search any content the ...
0
votes
0answers
15 views

Apache Solr Not Indexing Entity References

Context: We have a Drupal site that uses the Inline Entity Form module to allow content editors to add sidebar callouts, in-content callouts, and full width content blocks on a given "Page" node. ...
1
vote
0answers
28 views

Search Results are not clickable [closed]

I am using Search module. The search results are not clickable; hence, the users are not able to reach the node/content which they are searching for. How do I fix this? Do I need to change some ...
0
votes
0answers
6 views

Search in Taxonomy description

I'm looking for a way to include taxonomy pages in the site search. For instance if Term Foo has description Bar and someone searches for Bar I want the taxonomy page to be among the results. Whats ...
0
votes
1answer
17 views

How do I integrate postal code search?

How to integrate number search along with string search in drupal 7? As of now,I was able to implement string search i.e a user can search via name,place etc but I want to implement number search so ...
1
vote
1answer
24 views

How to display the user registration or profile field on the search page?

How can I render/display user profile or registration field on search result page (user search)?
3
votes
1answer
31 views

How to access to the user info on the search page?

When I was trying to resolve this question: How to display the user picture on the search page? I found that in the THEME_preprocess_search_result function I can't access to the user information (I ...
0
votes
0answers
12 views

search_update_totals() is not invoked / or search_cron() is not invoked

I don't know when, but this is new: in my Drupal 7 installation the indexing of search terms doesn't work anymore. Here is a trace, but don't know how to solve it: it seems that in ...
0
votes
0answers
16 views

Drupal search not working the way it should be

I have plenty of contents (nodes) on my drupal-page. When I use search/node to find certain terms (words), I got results. That's good so far. Now I created some new contents (after months). These ...
1
vote
1answer
52 views

How to display the user picture on the search page?

I want to show the user picture on the search page. Currently only its show the user email or name, but I want to show the user profile picture. How can I do that?
0
votes
1answer
14 views

How can I index all remaining items programatically?

I'm just using the stock Drupal 7 search. Is there a function to index all the unindexed content from my module? And re-indexing? I haven't found this yet if it exists.
0
votes
0answers
11 views

Apache Solr form alter add custom fields in search form

I wanted to alter the apache solr search form by adding my own custom textfields, dropdowns. I tried using the regular form alter hook but it works only for the Core search i.e custom fields appear ...
-1
votes
2answers
39 views

Is there any alternate module of drupal core search form? [closed]

Is there any module which can be used as an alternative to drupal core search form block.
0
votes
1answer
21 views

Turn Tags into Links in Search Results

When a user searches for a certain tagged iamge I want them to be able to click on the tag and re-direct them on a page which contains all the images with that tag. E.g. if I click Italy, all the ...
1
vote
0answers
16 views

Search log module not capturing the search keyword from a custom module

I have a custom module for apache solr search for a particular taxonomy term - it does some custom search operations. I want to log these search keywords to be included in search log results. Can you ...
1
vote
2answers
43 views

How to display nodes on front page with Search API?

I have installed the Search API, Facets API, along with Search Pages. When the user goes to the front page, I want to display some default node results. How can I do this with just the node results ...
1
vote
0answers
8 views

Search results also show code

I have created some nodes containing Javascript code into body field using Php filter. I also have tried by using Full Html filter. Now when I search through default drupal search then result list ...
1
vote
0answers
12 views

Can I search boolean field through Search Terms in a view

I am using Search Terms to search within a view. It is working for all the fields I included in the view except a "Boolean Field". Is there any way I can search the results through Boolean field as ...
2
votes
1answer
16 views

Core search, when only one result, open result

Is there a simple way to accomplish the feature in the title ? When a search results in one result, don't show the result but go directly to the node.
0
votes
0answers
14 views

Hook Search Preprocess

I'm trying to manipulate search keywords before submitted for search. Using Search API and Views. Unfortunately, hook_search_preprocess funciton does not work in my custom module. function ...
4
votes
1answer
50 views

Search result to show link to the page not to the pdf file

I am using the Search file attachments module (which searches for text from pdf files after they are indexed), and everything works fine. But I would like in Search result to display link to the ...
0
votes
0answers
44 views

How to change search results theme?

I have a website that I need to add search functionality to. First though, we are running Drupal 6 with multiple sites each with its own theme. Content goes to its respective site by URL and the ...
0
votes
1answer
50 views

Change appearance of search form [closed]

I want to change the appearance of the Drupal 7 search form. I used this code in my preprocess-html.inc file for my Omega subtheme. It didn't work. How do I assign html classes to divs within the ...
1
vote
1answer
18 views

Theme search-result pages individually?

We can theme the search-result pages within search-results.tpl.php and search-result.tpl.php. But as far at it is possible to create multiple search pages(e.g. in apache solr module), is it possible ...
0
votes
1answer
33 views

Search a content type and return JSON [duplicate]

I'm trying to create a JSON API that will return an array of JSON results matching specific search criteria. It will always be searching one specific content type, but will need to match custom ...
0
votes
0answers
28 views

Modify Search Block HTML Output for Zurb Foundation Topbar

I have created a subtheme from the Zurb Foundation base theme for Drupal 7. I am trying to: Add "data-equalizer" and "data-equalizer-watch" to the html output of the core Search Form Block. Change ...
2
votes
1answer
29 views

Search boxes for individuals content types

I'm trying to have a search facility for different content types on their term pages. So I have a view that lists all the terms that link through to a page that lists all the nodes that has that ...
0
votes
1answer
18 views

Apache solr access protected parameters

I wanted to access the keyword being searched in the Apache Solr. Thus i used the hook_apachesolr_process_results Hook to access the $query variable. But I am unable to access the keyword as it is ...
0
votes
2answers
19 views

How to create 'Partial' Search?

I'm using Drupal commerce and I was wondering if there is a way to do partial search? Current the search engine is only searching the exact word. E.g. Candy or Battery I'm looking to search with only ...
0
votes
0answers
6 views

How to deal with approximate dates to be able to search by date ranges?

So, my use case is a database of posters. In some cases the exact date of production is unknown, so the convention to show this lexicaly is a circa, or "C." For all intents and purposes these are ...
1
vote
0answers
18 views

Indexing on related nodes but not including them in search results

I have two node types, List and Links. Each List has many Links, and is referenced by the entity reference field in the link node. Each Link only has one List. I'm trying to get the Search API to ...
0
votes
0answers
16 views

Meta tag keywords not indexed in drupal search

I am using the Meta tag module and have inserted my keywords for a specific node, But unable to get them indexed in the drupal search. Is there any way to get these keywords indexed in drupal search ...
0
votes
0answers
28 views

Search Autocomplete only for selected content type

I am using modules Search Restrict with Search Autocomplete for my website search, I have restricted some content type for anonymous users, but when I type any words from restricted content type it's ...
0
votes
0answers
38 views

How to get block and views results to display in the search result page?

I'm using Drupal7 default search for content(node). For some pages I have integerated drupal blocks and view blocks. While searching for specific string in search which are available in blocks are not ...
0
votes
1answer
16 views

Display definition of the term searched for - above search results

Beginning a search on google with 'what is psych'... triggers auto completion with 4 suggested phrases - arrow down through each and you will see its definition appear above its pertaining results: ...
0
votes
1answer
27 views

Views multiple terms in one filter

I am passing multiple tags into an exposed field separated by a ','. The problem is, if just one of the tags doesn't have a result it ruins the entire view. Is there a way to treat the extra tags ...
0
votes
1answer
17 views

Core Search only yielding results on specific words

We've developed a lot of Drupal 7 websites, but never encountered this before (or just didn't notice). When searching the project in question (while having re-indexed the site untill the index is ...
0
votes
1answer
22 views

How do I add a 'Title' and 'Label

How do I add 'Title' to a search Engine? For Section 508 compliance i need to add 'label or 'title' to the following section : <input placeholder="Search" type="text" ...
0
votes
0answers
12 views

Views Sort by field length

I'd like to sort my view by the length of one of the content type fields Implements hook_query_TAG_alter(). function foodgy_query_search_page_7_alter(SelectQuery $query) { ...
0
votes
0answers
23 views

Open Atrium search always resets the user's current language of site

I've a multilingual site which has 2 languages one is English running at www.example.com/en and another is french running at www.example.com/fr Now, what oa_search module does is it checks the ...
1
vote
1answer
22 views

How to remove search on Site and leave only search on Content?

How to remove search on Site and leave only search on Content? When I use search on Site it says "Search is temporarily unavailable. If the problem persists, please contact the site administrator". ...
0
votes
1answer
39 views

It says “No Solr instance available when trying to clear the cache”, should I reinstall that module?

In admin/reports/apachesolr/solr "No Solr instance available when trying to clear the cache", should I reinstall that module? I can`t cope with setting up the search block to return the search ...