We’re rewarding the question askers & reputations are being recalculated! Read more.

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
3answers
512 views

drupal multisite

I already have a Drupal 7 website. I want to extend it to a second one. The first one is stored in a subfolder. I want to create a second subfolder to store the second one. At the base I will have an ...
4
votes
2answers
271 views

Search on other fields of content type

I created a content type called "Automobile" and that has the following fields: "Model," "Manufacturer," and "Year." When I go to "Dashboard > Content > Find Content," the search does not offer me ...
5
votes
6answers
4k views

Apache Solr integration on shared hosting with cpanel

If I do not have any other access to my site's remote server other than file manager via CPanel, is there a way I can get Apache Solr up and running on my Drupal 7 site? The remote host does not ...
2
votes
1answer
292 views

Search page summary customization using views

I can figure out how to create a search results page using views in Drupal 7. What I cannot solve is how to format it the same way as a search results page with two lines of summary text and the ...
1
vote
1answer
316 views

Drupal 6 Views 3 Apache Solr redirecting updating to view JSON

as title am using Drupal 6, Views 3 (latest dev) and Apache Solr Views. Not having any error messages, but when I add a filter (or any other content) to the view, and click "add" down below, the page ...
2
votes
3answers
236 views

Search engine question

I have a site that has over 18,000 data items in a catalog. I am using Drupal 7 and the latest Views module to display the data. The data items contain an auto make, model, year, cv axle. My search ...
0
votes
3answers
2k views

How to modify the Drupal Solr Search fields / apply custom fields / modify results

Am attempting to understand the report in admin/reports/apachesolr (Drupal 6). There are a large number of fields, and I am trying to understand 1) Are these the fields within the Solr index that are ...
0
votes
1answer
382 views

Export exposed fields into a block with Views

I'm trying to create a search box from the exposed fields from a view. Is that possible? If I add a block display I also get the results.. I want only the fields, not both. I also tried embedding a ...
4
votes
1answer
1k views

Create an advanced search that searches only on a field with search_api in drupal 7

I've successfully installed the search api module in drupal 7. I installed solar and it works fine. I need to create a custom search form that has various fields and those fields performs search only ...
2
votes
2answers
323 views

Customize search result

How can i remove Only of the type(s) on the advance options. and username and created day display on the footer search result?
1
vote
1answer
78 views

Need advice to get an approach to do a personalized searcher?

I have a content type called "Flats" which are Flats to sell' each one of them has a 'price' field (ex. 100 000, 150 000, 200 000) and each one has a 'city' field I need to put a searcher in the home ...
5
votes
6answers
7k views

How to implement search on multiple fields limited to one content type in drupal 7

I've created a new content type which has several fields (some of them are custom fields I created myself). Now I need to implement a search function on each of those fields. This means that if I ...
4
votes
2answers
492 views

Passing a Solr search query to a view

When a user enters a search query into an Apache Solr Search box, is it possible to pass that query onto a view - specifically to a Apache Solr Views view?
3
votes
3answers
2k views

Exposing fields for a search in Views

I can add a filter for node:title and node:body, but then there's two separate search fields for the content. I also have some other exposed filters (checkboxes), but I need rather than two search ...
2
votes
1answer
177 views

Search page is not shown properly with D7 custom theme

I am currently building a D7 theme for a website. I experiment some problems with the search page. After entering a search term the page "domain.com/search/node/[searched term]" is opened. But it just ...
5
votes
5answers
5k views

Do not include certain pages from Search

I have 3 pages I wish to exclude from search. Is there a way to exclude them from coming up in the search results? Incidentally, is it also possible for other content types other than Pages alone?
2
votes
0answers
670 views

TF-IDF ranking for nodes with taxonomy term keywords

I would need to implement a ranking system that uses the TD-IDF http://en.wikipedia.org/wiki/Tf%E2%80%93idf Maybe it looks complicated but isn't Example: "Consider a document containing 100 words ...
1
vote
1answer
285 views

Ajax Search Field with labels for node types

I'd like to have a search field with ajax and some kind of label for the node type. Similar to http://www.finanzen100.de . Is there any module or other ways of getting this for drupal 7 (or 6)?
5
votes
1answer
554 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
126 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
52k 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
537 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
564 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
352 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
719 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
814 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
333 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
445 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
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
667 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
752 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
234 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 ...