Questions tagged [search]

Use it for the Drupal core module or any module extending its functionality, or aiming to replace it.

Filter by
Sorted by
Tagged with
1
vote
1answer
842 views

How to use Taxonomy Facets together with Apache Solr Multisite Search ?

This regards http://drupal.org/project/apachesolr_multisitesearch I'm trying to enable Multisite Search Facets (based on Taxonomies) for a few sites. The 'normal' multisite facets such as 'filter by ...
4
votes
1answer
356 views

Javascript code appears in search results

I use JavaScript in the body of a node with some PHP code. After I run cron.php and search on the site, I can see Drupal indexes the JavaScript code contained in a node. How do I avoid Drupal indexes ...
3
votes
1answer
668 views

How to show “incoming search terms”

a lot of blogs have a feature to show the "incoming search terms" - it's great for SEO. I looked up and down drupal.org but couldn't find a module. Any recommendations on how to tackle this (I'm new ...
4
votes
2answers
593 views

How to get search to display an error when no search terms are entered

Right now if I don't enter a search query in the drupal search module, it returns results for 'search'. I would like it to display an error prompting the user to enter a search query instead. Is there ...
3
votes
1answer
238 views

Manipulate search results on site

We have a few scenarios on a project where we want results to be presented at the top of the of the page despite not having any keywords in the body copy related to the search keyword. For instance, ...
1
vote
1answer
412 views

Adding custom module pages to the Solr index

We're using Drupal 6. I have written several custom modules that generate a number of pages. All the paths are "given" to drupal using hook_menu() so the system is fully aware of how to access them. ...
4
votes
1answer
520 views

The most searched keyword of the default search?

Is there a way, or a module, to get the most searched keyword of the site's default search?
3
votes
1answer
723 views

Block with search box in header

I need to create a block with a search box in header in order to allow users to search for a the specific content type that is shown in that block, but I don't know how to do this. I've attached one ...
1
vote
2answers
1k views

Remove nodes individually from Solr Search index

I know you can choose which content types to exclude. However, is there a way of removing specific nodes from the Solr index?
3
votes
2answers
754 views

How to index content from the Feed Aggregator?

I use the Feed Aggregator to create this list of titles and snippets of articles from The Economist. http://www.smagula.org/?q=aggregator/sources/1 I would like to be able to search for a term like "...
2
votes
1answer
329 views

How to make Drupal 6 search result URL have “.html” at the end?

I want the search result URL become http://www.site.com/search/node/Search for something.html http://www.site.com/search/node/cars.html I've looked into custom_url_rewrite_outbound() but there is ...
1
vote
2answers
725 views

How to make Drupal 6 search result URL use “-” instead of space?

Example of Drupal 6 search result URL is like this: http://www.site.com/search/node/Search for something How to make Drupal 6 search result URL use - instead of space? (below is an example): http://...
3
votes
2answers
235 views

Can solr point into a certain point in a document?

I have very long documents (around 100 pages when printed) that I need to index with Apache Solr Search. Is it possible to index the pages with solr in such a way that clicking the result from the ...
2
votes
3answers
2k views

Can views pages be indexed and be searchable by apachesolr?

By default drupal will only send nodes to apachesolr, is there a way to send views pages to solr, so that they may show in the search index? I know this question seems a little out there, just ...
7
votes
5answers
12k views

how to overwrite the search box?

<div class="fr_search"> <form action="/" accept-charset="UTF-8" method="post" id="search-theme-form"> <input name="search_theme_form" id="edit-search-theme-form-1" size="...
4
votes
5answers
5k views

How to return a View's content in search results?

We have a page display of a view that contains two or more nodes, but when searching for a keyword that would pertain to those nodes, only links to the individual nodes are returned. What we really ...
17
votes
7answers
8k views

How can I get more than 10 search results on one page in Drupal 7?

By default search page shows only 10 results. How can I change it to display unlimited number of results?
6
votes
5answers
4k views

How to determine if the current page is a search results page?

How can I determine from within a module or theme if the current page is an Apache solr search results page?
12
votes
8answers
6k views

How can I change the Apache Solr search URL?

How can I change the default Apache Solr URL path from "search/apachesolr_search/term" to something else?
5
votes
5answers
2k views

How to display cck node fields' values at the search result page?

I need to display some specific cck fields such as Telephone Number, Address, etc. at the search result page. As I see the search-result.tpl.php, there is no $node->... So how can I get the node ...