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

Drupal 7 Remove field suffix from search index

On my Drupal 7 installation I have many different custom fields with different suffixes. Drupal inserts the suffixes into the search_index table which I need to avoid. I could change the output, so ...
1
vote
2answers
31 views

How to replace text in many nodes?

We're upgrading from Bootstrap 2 to 3. Now I need to replace CSS classes in the body fields of many nodes. This needs to be done in at least 5 sites. What is a good way to replace text in all nodes of ...
0
votes
1answer
19 views

Form results not displaying - D7

Below is my code. Form results are not displaying below the form. What am I missing ? When I use print_r($form_state['storage']['results']); I'm getting the results. But it is not displaying in the ...
0
votes
1answer
15 views

apachesolr … limit the search to only one content type

I'm trying to setup a search for only one content type, I've tried to google it and I saw so many stuff that I don't know which one to test and as I don't want to install too many modules just to test ...
0
votes
1answer
18 views

Solr search, number of results

I'm trying to find a way to display the number of resuts in a solr search. I need to display it in search-results template. Thanks for any hint
0
votes
2answers
21 views

Calendar Pop Up - Extend year range

A little bit of introduction: I have a specific content type with the name "Database" where i can add content and with the views module and Search API, the user is able to search on my site for that ...
0
votes
2answers
21 views

custom HTML in search form ( site/search)

I'm trying to customize the html of the search block form. I know that I can use templates.php to modifiy the fields and customize it but I'm trying here to change the whole html block. I've tried to ...
-1
votes
1answer
13 views

problem in search

D7 I have this site http://thefracdepot.com/ I developed this at drupalgardens then move to other hosting. The problem is that at new hosting search not displaying all the nodes which have searched ...
1
vote
2answers
21 views

How do you remove the search box on the search results page?

I'm working on customizing my search results page. By default, the results page contains another instance of the search box at the top. I have the search box in a block at the top of every page, so ...
0
votes
1answer
20 views

Search API with views -> Apply filters

I have a website where i manage to create a database, display it with the views module and add a Search box with Search API. I followed this tutorial: ...
0
votes
0answers
16 views

How to integrate search option by using search autocomplete in drupal 7?

Currently i am creating a e-commerce drupal7 website . Tried integrating search autocomplete ,but i want to integrate search option in it, for example as in google search if we type the first three ...
0
votes
1answer
20 views

Display Google Search XML results onto site within HTML

I have created a custom module to search the site using google site search and so far I have been able to get search results back in xml format and I need to have these results display on the site in ...
0
votes
4answers
324 views

How to remove deleted nodes from Google search?

When I search my site on goolge, it shows some nodes that are deleted. How can I remove these results from Google? If I'm not wrong, with the Re-Index button in the search config form It cleans the ...
0
votes
0answers
11 views

Solr Search with 2 text fields

I have a drupal 7 installation with apache solr search: But I need to use a custom search like this: 2 TextBox fields with: What -> Any word of the apache index. AND Where -> A term reference in the ...
2
votes
1answer
42 views

Can you use search api and facets without a java based search server?

Current host doesn't support Tomcat or java apps of any kind. Is there a non-Java based search server? Or, are my options a third-party host OR migrating to a new host?
0
votes
0answers
29 views

Drupal Facets nested content type

I have content Type "School", that has title, some term reference fields (geographic region,for example). A School can has one or more (multiple) Clusters Cluster is another content type that is ...
0
votes
1answer
23 views

How to set the property $label_hidden to be true

In the field.tpl.php the following code: <div class="<?php print $classes; ?>"<?php print $attributes; ?>> <?php if (!$label_hidden): ?> <div ...
0
votes
0answers
11 views

Is there a module for block translation for anonymous user

Hi I am wondering if there is a way to search the content of a block and see if there are user defined translations for any of the words in the block and if there are then give a option to translate ...
0
votes
1answer
22 views

How to index custom added field on Search API?

When I create a new content or update existing content gets index immediately on solr search api index. But I have added custom field to search index using entity_info_alter I have added custom field. ...
0
votes
1answer
18 views

Hook Advance Search Form

I want to hook the Drupal advance search form for add more filter criteria, I want to add the below criteria 1) Search By Post Date 2) Search Between Post Date 3) Search by last day, last 7 days I ...
0
votes
1answer
16 views

How can I show an Ad popup after search form is submitted?

How can I place an Advertisement after clicking the search button and before showing the search results? can anyone help me with this stuff?
0
votes
1answer
35 views

Approach to create a custom search form for an apache solr search

I am creating a search similar to the example shown below: I am looking for the best approach to do this. My current approach is to alter the drupal default search form and add the additional ...
0
votes
2answers
59 views

SEARCH API + VIEW to search members

I have a website in Drupal version 7.28. I have page where i want to search members by using Search option created from VIEW. It goes like this after submission: ...
0
votes
1answer
32 views

combine hook_search_execute in drupal 7

I have hook for user_search_execute and node_search_execute for both user and nodes but i want to merge both into mymoduel_search_execute but only node_search_execute uses index not ...
0
votes
1answer
37 views

How to change boostrap seach button class from btn-default to btn-primary?

I'd like to change the class from btn-default to btn-primary like says in here: http://getbootstrap.com/css/#buttons <!-- Standard button --> <button type="button" class="btn ...
1
vote
2answers
37 views

How to hide comments from indexing in Drupal 7 search?

I am using Drupal 7. I do not want comments to index in search module. How can I achieve this. This question may be a duplicate of this question. But I cannot find solution using this.
2
votes
2answers
51 views

How to search both Users and Nodes simultainusly in drupal 7

I have a url for search nodes like "?q=search/node/article/xyz" and I have a url for search users like "?q=search/user/xyz" now i want to search both at a time simultaneously so, what is the url ...
0
votes
1answer
23 views

Instant search and ajax events

I want to make a search field for a form that automatically refreshes the form as you type with the answers that match the filter, like google does it. I looked at ...
0
votes
0answers
12 views

how to redirect search/user/% to my-views-search-page?combine=%?

Is there a module or a hook to redirect the search click/enter-key to my-views-search-page including the argument (like that: search/user/% to my-views-search-page?combine=%) ? Or any other way to ...
0
votes
0answers
47 views

What am I doing wrong? Trying to join two fields from two tables, Drupal 7

Based on this tutorial I created a module to be able to find first name or lastname from user fields. Everything is working fine, but I notice that the search only looks either for name and last name ...
0
votes
1answer
5 views

add a search field which search for values of specific field in a content type

I've created a content type "Submission", which have many fields. One of them is "ID". Now, I need a search box (apart from regular search box). It should be searched with ID value, it should ...
-1
votes
1answer
35 views

Apache Solr Autocomplete in search Views

I'm trying to work withe apache solr search in my view and make this autocomplete. Apache solr is configured correctly and I've adde a solr view. I can search on fields, that's no problem. But how ...
1
vote
1answer
20 views

use solr for /search

In my site (camperlife.it) I have installed sorl + search api solr and all works for sections where solr is active (like /aree-di-sosta-italia.html). Now I want to substitute /search (search modules) ...
1
vote
0answers
37 views

search block form not accepting special characters in drupal 7

If I search with any special character in drupal default search block form it returns error message like "You must include at least one positive keyword with characters or more.".after i do search ...
0
votes
1answer
28 views

How to make the search engine use search api db?

I have installed search_api, with search_api_db, create 2 indexes, one for node, one for users. The conf: server: search_db server, 2 indexes: default_node_index and user_index service class: ...
0
votes
1answer
29 views

Drupal SOLR search for attachments

Is there a way to search for files attached to taxonomy terms ? I mean I have a vocabulary, with some terms. Each term have some files attached (Field) (Ex: example.pdf, Image.png). I want my search ...
0
votes
1answer
14 views

How in index taxonomy attached files with Solr?

I am creating a custom search for a Drupal site, and I can't figure out how to index files, attached to taxonomy terms ? I am using Apache Tika, but seems this does not work. Thanks!
0
votes
0answers
12 views

Search in view with + sign

Is it possible to search in a view and use + like DAF + 30. And that you can find the content with name = DAFALGAN DROOG 30 TABL 500 MG. I've searched the internet for this but didn't find anything ...
0
votes
0answers
11 views

“The amount of search results must be an integer.”

I want to create new search page, but I can't because of this message: "The amount of search results must be an integer.". I am using Apache Solr, everything is ok, but I can't save new search page ...
0
votes
0answers
12 views

Search blocks not searching

I'm having a similar issue to this post. (Custom Search module does not work anymore for me, though. I was trying to phase it out, in favor of the core Search.) I worked on it before a weekend, to ...
0
votes
1answer
13 views

Search field for views

How do I implement a search filter/field for my view? Lets say I have a view with a list of names/titles and there's a lot of them, so users could use search to filter through?
-1
votes
2answers
28 views

Want to insert search form via module? [closed]

I want to convert my Html theme to drupal I want search module to be inserted in it. So should I define region and then render that. Or their is some other method to do that
0
votes
1answer
24 views

Get views to filter by {search_dataset} instead of {search_index}

I am working on a retrofit to an old site where I need to rework a View. I need to add a simple exposed filter for the standard search data (Search API is not an option). So, my View looks like ...
0
votes
0answers
24 views

Default search does not bring node reference field.

I have a node reference field in one content type.I am not getting the search result if I do search with this node reference field value.this field is an auto complete field.What i need is if i search ...
0
votes
0answers
17 views

how to index a unit field

Can any one just help me to index a unit field. I created fields using unit api module ,and using facet search, all field are available for indexing except those fields which are created using unit ...
0
votes
1answer
37 views

Why is my theme's block preprocess function not reordering elements?

I'm trying to do something that seems fairly basic, but I'm having loads of trouble. The drupal search_form block outputs an input field and a submit button, in that order. I'd like to swap the ...
0
votes
0answers
17 views

Getting SOAP output in search results in drupal 7

I've got a SOAP en Drupal installation working well together. For this I have written a custom module. On the drupal site when you click on a specifiek link this module reads the url and makes a SOAP ...
0
votes
0answers
43 views

Commerce search by product SKU or product name

I would like to add option to search for SKU in search. I have a view already which display only SKU searches. How can I integrate it with normal Search? Here's the view: $view = new view(); ...
0
votes
1answer
22 views

Add Profile 2 -> Field Colleciton -> Taxonomoy into Facet (Search API)

I'm trying to display a Facet block , which uses Term reference (Taxonomy) of Field Collection of Profile 2. Since I am new to Search (API), I have tried all sort of things but nothing worked. For ...
0
votes
0answers
14 views

Using drupal code search and search api in the same site

I am indexing a content type "Recipes" using Search API and i want rest of the site content to be searchable with drupal core search. /search/node/keyword My question is that is it okay to use ...