Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
1k 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 ...
user55305's user avatar
0 votes
2 answers
2k views

How to add metatag module data to the Search API indexes

I am in the process of building a new site that will have some content in the form of videos and PDFs. To make those more searchable I added the metatag module. We are also using the Search API to ...
Patrick's user avatar
  • 1,310
1 vote
1 answer
284 views

Show advanced search form outside fieldset

When I search for a keyword in core Drupal search, it shows a results page with a link named Advanced search that hides a fieldset with more form options. I want it to be shown in the basic search ...
WaQaR Ali's user avatar
  • 1,706
5 votes
2 answers
2k views

Drupal + Solr, how to boost search results with updated date?

I'm trying to boost search results to give more relevancy to newly updated / created content. What I have tried is to use the following: /** * Implementation of hook search_api_solr_query_alter */ ...
Tuomas Leppänen's user avatar
4 votes
1 answer
5k views

Facet API - Rewrite facet items via callback function

I'm trying to rewrite the link text in an Apache Solr facet block, specifically the one to drill down by bundle/content type. By default the block displays the human readable name of the content type. ...
brutal-digital's user avatar
1 vote
1 answer
195 views

Drupal 7 Multilingual Site Search [closed]

I have a drupal multilingual site (English and Arabic) . Arabic page site search gives me an extra value "English" in search result. I am using default drupal site search. What it actually means? ...
user avatar
3 votes
1 answer
2k views

How do I unset/hide certain fields from being indexed by the core search module?

If a content type has additional text fields, search core automatically indexes them because search core extracts all text from the result of node_view() I can easily add extra index data via ...
Chris's user avatar
  • 377
-1 votes
1 answer
331 views

Change drupal search result count

Drupal search is giving 10 items per page. The number is hard coded in search core module. Is there any way to make it 15?. I am using drupal 6.
praji's user avatar
  • 180
0 votes
1 answer
488 views

Hook to render all active Facet

Is there a possible hook or something else that can be written to display all the current active facet link i.e the selected facet. i want to display to the user in breadcrumb format all the facet ...
user1108509's user avatar
1 vote
0 answers
116 views

Filter search results per user custom field

I would like my site to filter search results based on a Node-reference field of the currently-logged-in-user. I want to limit the search results to nodes that have the same Node-reference field. I am ...
user1706487's user avatar
1 vote
3 answers
3k views

Count Search Results

I am trying to create a block to put on the search results page that has a list of the content types in the search results and the number of results for that content type. Does anyone know how this ...
Nalum's user avatar
  • 137