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

1
vote
1answer
19 views

Add module-generated pages to Drupal 7's search index

I have a custom module that provides pages via hook_menu(). The page callback returns HTML-formatted output that is then displayed. The information is fetched from an external database, so it is not a ...
0
votes
0answers
10 views

Search results in two records for the same user created by hybridauth

I have created a view for user search.I have used exposed filter 'Global: Combine fields filter' for profile first name and last name and set operator to 'contains any word'. It searches for the user ...
0
votes
0answers
9 views

Search with map and block view results

I would like to create the following homepage, and just wanted to get some advice on the best way to go about it. Overall, this homepage will allow users to search for 3-4 different content types, and ...
0
votes
0answers
6 views

Is it possible with Search API to index one node twice (or more) for use in different contexts?

I had to create some node types with no language specified, but with some fields (name-suffixed) specific to different languages. I couldn't use field translation from i18n. The reason was to preserve ...
0
votes
2answers
31 views

Backlinks from UUID hrefs

The goal is to hack core so that the search module will populate the search_node_links table from uuid-link hrefs in node content. Planned approach is to modify the parsing functions of search_index ...
0
votes
0answers
6 views

How can I filter the apachesolr_autocomplete results on a custom search block

We recently set up solr search and have been happy with it. I started using the custom_search module to set up pre-filtered search results, and while my solr search pages work well, the autocomplete ...
0
votes
0answers
17 views

Problem with create Bounty? [migrated]

I know this is not a drupal.stackexchange question, but I do have a question on which I am trying to grant bounty. I have 50+ Rep so I want to create a bounty for that question: Fuzzy Search in ...
1
vote
1answer
18 views

Search Drupal source/plaintext?

I'm looking for a simple way to search thru the plaintext/source of hundreds of nodes. I need to find-replace all the color settings for a certain font awesome icon (fa-check), but can't find any good ...
1
vote
0answers
17 views

Search in comments of specific content type

I'm looking for a module that provides the possibility to search in comments. When there is content of the content type = Proposal you can comment on it. There's a good change that there will be 50 ...
0
votes
2answers
50 views

How to clear Text in search box once the user selects other option

I have created a view for to search my channels. But when user searches for a specific channel, and when he clicks any other option or on any other event,he redirects to other page but text in search ...
3
votes
2answers
120 views

Fuzzy Search in Drupal 7 gives no results

I have setup Fuzzy Search in our website to provide 'intelligent' search functionality. I believe that the setup is all proper but despite the fact, I always get back 0 results. This is my search page ...
0
votes
1answer
18 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 ...
2
votes
1answer
43 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
20 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
27 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
19 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
30 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
24 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
22 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
21 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
17 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
28 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
329 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
12 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
43 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
33 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
24 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
24 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
20 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
18 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
52 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
63 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
37 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
51 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
40 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
58 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
26 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
8 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
50 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
21 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
38 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
30 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
33 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
16 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 ...