Tagged Questions

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

Pagination in apache solr search page

To control the number of search results showing in a solr site search page there is a text field in admin/config/search/apachesolr/search-pages/core_search/edit In advanced option tab, there is an ...
0
votes
1answer
17 views

A module to find linkable content

I am looking for a module that finds related pages for the purpose of linking them internally. For example, we have two pages, both have the name "Kill Bill" in their content, but they are not linked. ...
0
votes
1answer
15 views

duplicate search field appearing with just one block

There's suddenly two search fields appearing on my dev site. I'm afraid I'm not sure what the last change was before this. There's just one standard Drupal search block configured here's the html ...
1
vote
2answers
22 views

Customized search result

I have a content type let's say content type 'A', I am using view to show some of the field on some page, Now the problem is that pages generated by the content type are just a junk because I am not ...
0
votes
1answer
27 views

Implementing Google CSE Results Code

I'm trying to implement the Google CSE Search Results code on a page that I created called search-results. When I implement the code using CKEditor (PHP mode) and save the page, the code does not show ...
0
votes
0answers
11 views

Panels search results widget doesn't format html

You have the option to add a widget as content to a panel. One of the options when you have the search module enabled is the 'search results widget'. This widget doesn't seem to format HTML properly. ...
0
votes
0answers
13 views

Google Site Search (GSS) has broken block control?

I am using Google Site Search on a custom Omega Theme. When I enable the GSS module. On the '/search/gss' page, the search form is created at the VERY top of the page. Essentially being hidden behind ...
0
votes
0answers
14 views

Get content type field value without entity

I have a exposed form and want to use my field "field_region" for the breadcrumbs. If a user now selects the exposed "field_region", my URL looks like "?q=news&field_region=2". Now I want to get ...
0
votes
0answers
7 views

Panels + Search by Page refuses to generate results

I currently have multiple panels all of which have custom content and are set as full pages. Unfortunately I wasn't aware that Drupal's core search functionality doesn't include panels, so I tried ...
0
votes
2answers
39 views

Custom search form

I am currently printing the search from like this: $block = module_invoke('search', 'block_view', 'search'); print render($block); Wich generates: <form action="/sescam/" method="post" ...
0
votes
0answers
33 views

Views exposed filter combining several text fields into a dropdown with a field

I am searching hi and low for a solution in Drupal 7 Views 3.x that will allow me to combine several text fields into one dropdown with a text field beside it. From... To something like this... ...
0
votes
0answers
11 views

Changing label in custom search form

I have created a custom search form and am using it within a block. I have selected a content type under the Content Selector area called Basic Content. I want to change that label to read Foo but not ...
0
votes
0answers
10 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 ...
0
votes
0answers
13 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
7 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
10 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
46 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
25 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
31 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
26 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
10 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
21 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 ...
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
88 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
20 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
16 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
10 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
28 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
46 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
12 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
21 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
15 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
18 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
13 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
41 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
16 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
22 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
110 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
52 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
163 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
30 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
60 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
23 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
76 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
38 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
47 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
43 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
25 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 ...