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
5
votes
1answer
553 views

Integrate Radioactivity with Apache Solr (sort by popularity)

Has anyone integrated integrated Radioactivity with Apache Solr? I'm using the apachesolr module for search and would like to add the ability to sort by popularity. The Radioactivity module assigns ...
5
votes
4answers
4k views

htmlspecialchars in search

When I'm searching my site, I get this error: Warning: htmlspecialchars(): Invalid multibyte sequence in argument in check_plain() (line 1476 of /var/www/includes/bootstrap.inc). What does it mean ...
1
vote
1answer
125 views

Create an advanced and complete search

I want create an advanced and complete search, like the one on http://www.lib.muohio.edu. I want to enable search in my CCK fields. I don't know what module this site use; please help me to know that ...
7
votes
2answers
3k views

Inserting search terms into a search input in Drupal 7

When using Drupal 7, how do I print the current search terms into a search form in a block? In Drupal 6, I used something like this in my template.php: $vars['search_keys'] = search_get_keys(); ...
1
vote
0answers
753 views

Is it possible to add taxonomy filters to the standard advanced search?

I wonder if is possible to add select boxes from my taxonomy to the standard Drupal 7 advanced search form. I'd like to search for document containing the word "test" and which have the word "High" in ...
39
votes
3answers
51k views

How do I customize the search result page?

I have customized the teaser view of my content types and the page view. Now I need to use the teaser view for the search results page. By default, Drupal displays a full text jumbled mess for each ...
4
votes
1answer
573 views

is it possible to search for user names with solr?

I'm trying to allow users to be able to search and find their friends on my site. I'm not sure how to do this. Could someone guild me please? I read that solr is not able to search usernames so ...
6
votes
1answer
536 views

Language selector for Apache Solr search form

How can I do something like this with Apache Solr in Drupal 7? This will be the front page of my site, and depending on the language the user chooses, he will be redirected to the language-specific ...
2
votes
0answers
563 views

Multiple fields search with finder and results sorting

I configured a view, listing hundreds of elements, like this: Name, Type, Result, Other Now, I need to search it, with multiple forms, simultaneously, in this way: Search element n.1: [INPUT] Search ...
1
vote
2answers
351 views

Setting up and enabling Google CSE

Is it possible to fully set up and enable Google CSE module before a website is launched? Or would I have to wait until it's launched and submitted to Google's search engine?
7
votes
3answers
5k views

Apache Solr Facet

I need to create some custom facets/custom filters for my search. I have Facet API installed; has anyone any experience with this? Ideally, I would use Apache Solr Facet Builder, but this only seems ...
1
vote
1answer
701 views

search with transliteration

How I can implement transliterated searches? for example if someone write in latin characters these to be converted to another coding characters? How I can instruct drupal that latin character a ...
3
votes
2answers
811 views

views pager showing X results per page

I was wondering if anyone knew how to go about adding a drop down or even a list of links to help change the amount of views results per page. Ideally, when there's a lot of results you would want to ...
0
votes
1answer
603 views

Module to search node titles only

Is there a module that allows me to restrict searches to node titles, rather than any node content? Preferably the user would choose between titles only or everything.
5
votes
3answers
2k views

Searching using Solr within Views

I'm learning Drupal, and having a lot of fun. I am approaching the phase were I'd like to make my content more accessible to users. I haven't implemented it yet, but I am really liking the ApacheSolr ...
3
votes
2answers
381 views

ApacheSolr integration

I have a Drupal multisite website, with Apache Solr Search Integration, which is up and running very well in the live server. I am trying to replicate the same website, on another server to use it as ...
9
votes
3answers
5k views

Does Drupal have an AJAX solution for search results, preferably with Apachesolr integration?

Specifically, I'm referring to being able to have the top 5 search results display as options in a drop down menu while the user types in a search query, somewhat similar to how node reference ...
1
vote
1answer
332 views

“Page Not Found” error when a google search form is submitted

I am using Google Site Search on a web site, and the search form submits to a page containing the appropriate code. I can access this page directly just fine, but whenever I test out the search form, ...
3
votes
1answer
441 views

Does Apache Solr assign a weight to HTML tags?

Would Solr consider HTML tags when it creates its indexes? Would <h1>, for example, be more important than <h2>, <p>?
1
vote
1answer
841 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
665 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
592 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
411 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
508 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
746 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
724 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
229 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 ...