Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
32 views

Make a Search view have the same options as a Content view

I have created a Content view that works perfectly, believing I would later add facets to it once Solr is up and running. Now that Solr works together with Search API, I realize that to use facets I ...
ErikaW's user avatar
  • 130
0 votes
1 answer
131 views

How to have search results from a views defined block display on page?

I have created a custom search block with Views 3 in Drupal 7. I would like the results of that search be displayed in a page (like the default drupal search block) and not in the block itself (which ...
user5013's user avatar
  • 1,497
0 votes
1 answer
721 views

SearchApiQuery - possible to remove a filter?

The query parameter that is passed to search_api_query_alter has SearchApiQueryFilter member. It contains a protected array of filter elements. I can add to this by calling the createFilter() and ...
cdonner's user avatar
  • 183
0 votes
0 answers
149 views

How to modify Solr files from Drupal UI?

I'm looking for a module that allow you to manipulated Solr files (synonyms.txt, stopwords.txt, spellings.txt, solrconfig.xml, protwords.txt) content without actually modify those file from Drupal. ...
itsdarrylnorris's user avatar
0 votes
2 answers
122 views

Search across multiple views

I have a page with two view blocks in it, each pulling from different content types. Is there a way to allow the user to search both views at the same time? I want to be able to enter a search term ...
digitgopher's user avatar
  • 1,592
1 vote
0 answers
461 views

Apache Solr How to Connect?

Running Drupal site and running Solr cannot connect. I have installed a clean Drupal 7.34. It runs fine. I have installed a clean solr-4.10.3. It runs fine. I've installed apachesolr-7.x-1.7 and ...
user43255's user avatar
1 vote
0 answers
51 views

how to alter view query to run over translated content done with lingotek D7 module?

I have a Multilanguage site done over Lingotek D7 module, has enabled search_api, search_api_autocomplete and solr. While typing text in autocomplete, query runs over original node (uploaded in x ...
pinueve's user avatar
  • 1,578
1 vote
0 answers
32 views

New title on old page - search results show old title

I have a page that used to have 2010-2012 in the title, now it has 2014-2017. When I search for that page using HUD or HUD Grant, I want the new title to show. How can I do that?
Linda's user avatar
  • 11
0 votes
1 answer
50 views

Good and basic solution for search page

I'm starting in on drupal search engine and I am looking to create a search page. First I would like the search is on very specific fields of some content types. What can be done with the basic module ...
Gaius's user avatar
  • 501
0 votes
1 answer
271 views

Search facet user entered date field display

I've recently started working on an existing Drupal site that uses Apache Solr search & have come across a problem when configuring facets. The search index just indexes one type of content & ...
Neil Nand's user avatar
  • 306
4 votes
3 answers
149 views

What are the major differences between solr modules [closed]

I am looking into Solr search for my site and am seeing two equally well-used modules. Apache Solr Search (lots of contrib around this) Search API Solr Search, built on Search API Why would I pick ...
digitgopher's user avatar
  • 1,592
0 votes
0 answers
611 views

After indexing items are not visible, solr server

After indexing the items aren't visible on the page. The index does work, but after refreshing the page, the indexed items aren't shown on the page. View index > Queue all items for reindexing > ...
Gilko's user avatar
  • 43
1 vote
0 answers
57 views

Views exposed filter [duplicate]

I want to display the node count along with the filter in views exposed filter same feature like facets can any one help me out in this.
Prudhvee Krishna's user avatar
0 votes
1 answer
40 views

Creating search pages for specific content types

I am currently in the process of implementing different search pages, with distinct layouts/templates and behaviors for specific content types (a search for "blog" nodes, one for "video" nodes, etc), ...
Cameron Kilgore's user avatar
3 votes
0 answers
2k views

Customizing the search results page with Apache Solr

I have business requirements to do a total overhaul of the Search Results page for our site. Based on the searching i've done so far, I have a few options to adjust the results pulled by the search: ...
Cameron Kilgore's user avatar
0 votes
1 answer
2k views

Search bar in main menu

I would like to place the search bar in the main menu on the right. I have seen several people on the net asking for this but never encountered some information I could actually use. I use Drupal 7 ...
Largo's user avatar
  • 115
1 vote
1 answer
552 views

How to update the search title and page title depending on facet options

I am using Search Api Views module to list some publications. User can filter them using facets. For example he can look for publications only in Kenya. I want to update the title of my page (view) ...
118218's user avatar
  • 702
1 vote
1 answer
441 views

Index custom content in apache solr

I have several custom modules that load and display data from custom tables. I have successfully managed to use the drupal search on these contents, using the drupal search hooks like, ...
Milad.N's user avatar
  • 154
0 votes
0 answers
43 views

Loading Search Form as a block content

I have several Apache Solr search configurations, filtered to different Content Types to be used on a variety of view pages. These "pages" provide their own search form, but I need to be able to embed ...
Cameron Kilgore's user avatar
1 vote
1 answer
2k views

Theming / modifying the markup of default search block form

I'm trying to modify the basic search block form that comes with Drupal 7 core. I have a custom theme and inside my templates folder I copied the search-block-form.tpl.php and modified it like so <...
suomiton's user avatar
1 vote
1 answer
208 views

How to add to index unpublished content by apachesolr?

I use apachesolr module for index content. As I understand, this module does not provide indexing unpublished content. Is it some trick to avoid that? I try to use this hook and change status ...
misha-from-lviv's user avatar
1 vote
1 answer
122 views

Apache solr with rules module, on refresh, rule viewing node triggers it in search page

I'm building a site in free Acquia cloud env with apache solr running, I need to count when a node (for one content type) is being full displayed, that’s already working fine, but every time I refresh ...
pinueve's user avatar
  • 1,578
0 votes
1 answer
358 views

SOLR Snippet with link to PDF

I'm using Apache SOLR as search engine. Everything works fine, indexing as I want, showing the data as I want. I only need to show the PDF which belongs to a certain snippet on a search result. ...
Lance's user avatar
  • 3,008
1 vote
0 answers
82 views

Issues with Solr Configuration

I am trying to set up a local copy of Solr on my development workstation using these (admittingly dated) instructions here [1] and while it sets up a fully functioning Solr 4.10.2 instance that can be ...
Cameron Kilgore's user avatar
2 votes
1 answer
868 views

How to print custom text on search no result with search-results.tpl.php?

I want to print custom text if there is no result on search. I'm using custom search-result.tpl.php and search-results.tpl.php. My search-results.tpl.php is that: <?php if ($search_results):...
herci's user avatar
  • 2,158
1 vote
1 answer
47 views

Adding a second search for a specific content type

I am currently trying to build out a Video-oriented component on a longform article based site, and one of the requirements call for a Video segment/block that can be placed on any page, and it has a ...
Cameron Kilgore's user avatar
1 vote
1 answer
2k views

solr search in multiple fields

Now apachesolr search works only in content. It also have to work on other fields for eg: on typing "test", It searches only in content. My requirement is to search on description,label also (which ...
Orchid's user avatar
  • 149
3 votes
2 answers
4k views

Remember View results on a browser back button click

I have a view with some exposed filters that show some links. When I select a filter option, an ajax search is done and it shows the results. I click in one link and then I click in the browswer back ...
ilazgo's user avatar
  • 131
1 vote
0 answers
278 views

Adding a field to be indexed in apache solar [closed]

I am new to drupal. To add a field to be indexed in apache solar. I tried these two functions and its worked. function filedepot_apachesolr_index_document_build_node(ApacheSolrDocument $document, $...
Orchid's user avatar
  • 149
1 vote
0 answers
21 views

How to search blog entry only [duplicate]

Hi i am newbie to Drupal, i want to search particular content type only, if any modules or ideas pleases share with some examples please. Current search module searching whole website and returned ...
Ponnalagappan Renganathan's user avatar
0 votes
1 answer
122 views

Search API Saved Search tokens output [search-api-saved-search-result:url] has cron.php in urls

I'm using Drupal 7 : with Search API In this I'm using the token [search-api-saved-search-result:url] which I take it should output the Url of the relevant nodes. The Urls are correct except the ...
Deejay's user avatar
  • 670
0 votes
1 answer
212 views

Faceted Search Block displays values from other facet blocks

I'm using the Faceted Search API (drupal 7) and followed this Tutorial: Part 1 and Part 2 All worked fine but there's a little Problem with the Values each Block displays "Kategorie" and "Serie" ...
flumingo's user avatar
  • 121
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
1 vote
0 answers
94 views

Display search result in a form

I am building a simple custom module to search a certain node type and displaying it in the same page as the form. It is like the search function. The problem is how to display the result below the ...
Mohammad Irfan's user avatar
1 vote
1 answer
1k views

return other indexed fields using SearchApiQuery($index)

I created an index that indexes taxonomy terms. I indexed the term name + field_skill type text. The current result shows only the term id + score. I want to show also the field_skill. $term = '...
sel_space's user avatar
  • 1,134
0 votes
1 answer
470 views

Apache Solr: get list of "More Like This" nodes programmatically

I'm using apachesolr module and it's "More Like This" block. This block displays only titles of similar nodes as links to these nodes. I need to display rendered nodes with specific view mode. How ...
Misha's user avatar
  • 347
1 vote
2 answers
1k views

Custom search results usign Search API + views

I am currently using Search API for indexing my content . I use Views for displaying search results and Views exposed filter for search form. In the search results page I use facets to filter based on ...
Bhuvana's user avatar
  • 661
1 vote
0 answers
62 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 ...
Max's user avatar
  • 11
1 vote
3 answers
3k views

How to get total number of results in Search API View?

How can I get the total number of results on a Search API View that has a limit of 5 results to display? Some more info: I have to make a bit more complex search where several attachments are ...
kufeiko's user avatar
  • 435
2 votes
3 answers
7k 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" id="...
Toni Michel Caubet's user avatar
0 votes
0 answers
225 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... The ...
shaneonabike's user avatar
0 votes
1 answer
75 views

Commerce Kickstart Facet Displays Item Count Even With Option Disabled

I'm using Kickstart2. I imported a new set of Categories and Collections using a Taxonomy Feed Importer. Seemed to work OK but now, the facet display -always- shows the item count for -all- search ...
jchwebdev's user avatar
  • 590
0 votes
1 answer
586 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. ...
Milad.N's user avatar
  • 154
2 votes
1 answer
2k views

How can I create a programmatic Search API query which uses a date field

I'm trying to create a programmatic Search API query. I've successfully created one which looks for all nodes which are published: $index = search_api_index_load("node_index"); $myQuery=new ...
Dominic Woodman's user avatar
3 votes
0 answers
901 views

Taxonomy autocomplete widget with term depth settings [closed]

Is there a module (or custom code) to implement a widget for taxonomy autocomplete (>=1k terms) having term depth settings? Settings could be like to control term level variable depth, rules and ...
pinueve's user avatar
  • 1,578
0 votes
1 answer
335 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 ...
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
0 votes
0 answers
35 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 ...
Brian's user avatar
  • 1,092
1 vote
0 answers
55 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? ...
misha-from-lviv's user avatar
0 votes
1 answer
911 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 available....
pal4life's user avatar
  • 554

1
3 4
5
6 7
11