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

How to remove Views duplicates on search, while keeping search score sorting?

I created a view to list blog article, with a search form displayed in a block. If I don't check "Remove search score" on the "Search: search terms" configuration, then I get duplicates when I search ...
-1
votes
0answers
20 views

If no search results, how to create a node programmatically with title = search string? [on hold]

I would like to build a small module (which will be released for free to public) that does this: Let's say a user searches something and there is no result. I want to present him a message telling ...
0
votes
0answers
12 views

Print output of search result on same page

I am newbie to Drupal,I am trying to print the results on the same page just below the form.Seems like i cant figure it out. Here is what i have tried so far. function addressbook_search() { // ...
0
votes
0answers
5 views

filter search result by current language

Is there any way to filter default search result by current language with out additional module like search api or facets, just the language of the default search module for Drupal 7
0
votes
2answers
18 views

exculde content type from search result even for admin

Is it possible to disable specific content type from search result even from administrator, I did for all user types except the administrator using Search configuration module.
0
votes
0answers
9 views

Search fields of registration

did the registration page in which the user enters the desired field to me, I try to search for these fields, use the search module api, but can not find where I must to create a search field - for ...
0
votes
1answer
37 views

Custom module search ranking not working + ranking admin settings not showing properly

I'm using a custom module, with custom content type and custom search implementations and ranking. To rank the results I'm using the votes cast for the posts. But the voting system is custom too, i.e. ...
0
votes
0answers
21 views

what is the difference between core search and search api indexing

What is the difference between core search and search api indexing. The below screen shows up once i visit search setting and number of item left to index is 1809. (en/admin/config/search/settings) ...
2
votes
0answers
26 views

Rewrite exposed filter input from url

I have created a view to list nodes path articlesearch. Now i want to filter the content with a search string based on title, body and taxonomy term with OR condition One issue i am facing is i want ...
0
votes
1answer
22 views

Switching from Search API Database to Solr

i have a site which is already using Search API database and Facets search hosted on Acquia. The site main search (recipe search) is a view with exposed filters to display search and similar content ...
0
votes
0answers
5 views

Spellcheck for Search API Database

I need the functionality of google like "Did you mean". There is no solution for Search API Database. Though it is available for Solar Search. Is there some thing i can do with views to achieve this ...
0
votes
0answers
16 views

Drupal 7 views rendered entity + search

I created a simple custom entity with Entity Api. It has a simple db table with records, and I did an index with Search API from this. My goal is to create a view with "Search API multi-index ...
0
votes
1answer
25 views

How to allow wildcard for Search API Solr? [on hold]

I created page using by views. Added fulltext filter. When I put "te*t" it return any results. I checked query on localhost:8983/solr and it's work. May be search api alter the query?
1
vote
1answer
18 views

How can I make the fields in my views “searchable?”

So I have several views on my website with specific fields shown in table format. The search bar only searches through specific content, like pages, and basic pages. How can I modify the views or the ...
1
vote
1answer
39 views

Date Range filtering using Google Search Appliance crashing

I'm working with the Google Search Appliance and corresponding drupal module. I've followed the user guide linked on the project page (also here) on creating filters. I was hoping to create a date ...
0
votes
0answers
16 views

how can I alter the return of a search_api based View?

I was hoping to alter the return of a search_api based View (coming from a solr index), so I implemented hook_views_pre_render. Though I can make some customization using a specific hook to alter the ...
0
votes
0answers
15 views

Search terms that start with a period break core search module

Setup: Core search module Apache web server w/ mod_rewrite Default .htaccess that ships w/ Drupal When searching something that begins with a period, like ".ssh", this .htaccess rule takes effect ...
0
votes
0answers
9 views

How to get/view the head revision for all nodes within a time period?

I have a drupal site which has various different content types, all of which can have revisions. I want to be able to display somewhere, whether in a view or some kind of output, a snapshot of the ...
1
vote
0answers
25 views

Why SOLR does not search 0 in text?

When user enter to searchbox "0", it is showed all results (likes when you submit empty searchbox). It's work like search remove "0" from search keys. Is it SOLR or drupal problem? How to avoid this? ...
0
votes
1answer
29 views

Enable View Library tab for Media module

The screen shot for the Media module description shows the View Library tab. On my content type I can only see the first 3 tabs Uploads, Web and Library. The final tab "View Library" is not ...
0
votes
0answers
11 views

Drupal 7 search term counter

I searched a long time for an answer to my question: Is there a module/way to override score in search indexing just by the number of occurrences of a given word in a node/website content? I'm using ...
1
vote
1answer
20 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
11 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
16 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
12 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
35 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
12 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 ...
1
vote
1answer
21 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 ...
4
votes
3answers
105 views

Search in comments of specific content type

I'm looking for a module that provides the possibility to filter/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 ...
0
votes
2answers
51 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
141 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
24 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
52 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
21 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
2answers
46 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
27 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
37 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
34 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
24 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
24 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
21 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
39 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
349 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
16 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
38 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
26 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
43 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. ...