Solr is the popular, blazing fast open source enterprise search platform from the Apache Lucene project.

learn more… | top users | synonyms

0
votes
0answers
12 views

I am using a custom module that inputs the user profile image into apache solr index and then I use it on a view but the image doesn't show

I have created the following module and I have managed to input sm_field_main_image into a view. However, the user profile image does not appear. Does anyone know where the mistake is? Thanks in ...
-1
votes
2answers
36 views

How could I make a lighter weight custom module to reproduce the end user experience of Hierarchical select?

I've built a site using Drupal 6 that has a vocabulary of cars that I need to use to filter some car parts. It is 7 level vocabulary and will clearly have a hell of a lot of terms by the time all the ...
1
vote
0answers
56 views

Apache Solr results using stopwords and eDismax

On our drupal multilingual system we use apache Solr 3.5. The problem is known on different blogs, sites I read. The search results are not the one we want. On our code in hook ...
0
votes
0answers
26 views

unable to add autocomplete in facets drupal 7

I am using drupal 7 search api. I have made couple of facets. I want to display them in auto-complete widget like this (https://drupal.org/project/apachesolr_autocomplete) module does. I have ...
3
votes
2answers
79 views

Minimizing the time taken for entity_load while using for apachesolr indexing

I am working on a site with a specific node type that has close to 50 fields, most of which are taxonomy term references, a couple of node references and a few conventional text and integer values. ...
0
votes
0answers
16 views

the remove filter icon is not displaying in apache solr current search block

I am using the apachesolr search module and facetapi. When I apply a filter from a facet, it appears in the current search block with a link of remove filter (-). But when I enter some search terms ...
0
votes
0answers
32 views

Solr returning empty results with accurate pager

I'm running Drupal 7 with the Apache Solr module version 7.x-1.6, it's configured and seems to be connecting to the Solr server properly. However when I try to use a search box, there are no results ...
0
votes
0answers
23 views

Adding Apache SoLR facets to block search form - Filter before searching

I have a working Apache SoLR + Drupal 7 setup with thousands of nodes and taxonomy terms. The default search form is displayed in a block on every page. This search form has the apachesolr search path ...
0
votes
0answers
54 views

How to sort solr search results by most matching keywords?

I'm using apachesolr in drupal commerce site. If user searches for a book spring, it returns all results which contain the word spring. But If I search for Spring Sofia or Spring by sofia (sofia is ...
0
votes
0answers
25 views

Sorting in apache solr view in drupal 7

I have created a solr view in drupal 7 and I need to sort values based on a date field from solr. When I add any field in "Sort criteria", its showing me error "HTTP 400; Bad Request: Bad Request" and ...
0
votes
2answers
61 views

Drupal Apache Solr How to process all the results and not only 10?

I have a Drupal 7 website with apache solr search engine, and i want to access to all the results via my custom module before it is displayed, so i used this hook hook_apachesolr_process_results and ...
2
votes
1answer
56 views

ApacheSolr Search results with AJAX (D7)

I've been searching the web for ways to display my search results directly in a block after submitting the input form with AJAX. Unfortunatly, i haven't found alot of good information on this ...
0
votes
1answer
44 views

Apache Solr search - Show facets on non-search pages - not working?

I have Apache Solr search (not Solr for search api) set up and working but I can't get it to show facets on non-search pages. I've tried every imaginable configuration of "Show facets on non-search ...
0
votes
0answers
27 views

Apache Solr search index - how to modify

There's a search index for the Apache Solr module, however I'm not seeing any way to change this index - it seems that various fields and items are added to the index without rhyme or reason. If I ...
0
votes
0answers
64 views

top 10 most similar article by content in view with solr

I am trying to work out a requirement where I need to fetch the top 10 nodes (article ) having most similar content ( the article having most common words , sentences , pattern matching with each ...
0
votes
0answers
23 views

Making sticky results in Search API Solr

We want to be able to promote some nodes on the search results. I thought about using the "Sticky" option, so if a node is sticky, it should be on top of the results. I've tried using the "Boost" ...
0
votes
0answers
23 views

how to display child terms in facet block if a parent term is selected?

I have a taxonomy term reference field in a content type. But a node is not saving against a term instead its values are storing in a custom table therefore I can't use the default facet for this term ...
1
vote
1answer
22 views

How to set the facet block title to the currently applied filter?

I have a faceted block for the taxonomy reference field. The faceted block displays the parent terms. When I click on a term in the faceted block then its childs displays in the faceted block. It is ...
1
vote
0answers
17 views

How to hide the (-) sign from facet filter block?

I am displaying faceted blocks and current search block on the search page. When I select a filter from any faceted block, it appears in the current search block and also in that faceted block with ...
1
vote
1answer
81 views

Solr can't find lib files

I have been trying to install the search_api_solr module. I installed tomcat and solr according to the instructions on the module's project site and the INSTALL instruction in the module. However I ...
0
votes
1answer
11 views

Trying to keep facets visible even when the terms restrict facets

I believe the setting I am looking for is minimum facet count, so that I can set it to 0. I'm going based on this: https://drupal.org/node/1669600#comment-6190924 I don't have search API installed, ...
0
votes
0answers
20 views

get the result of a custom search with apachesolr

when I want to make a search, for example by the keyword "drupal", I put the keyword "drupal" in the input search form and I get the result... But what about getting this search result as an object ...
0
votes
0answers
16 views

How to search through node id and prefix with node title in apache solr?

I am displaying a prefix and nid with every node title. like prefix-nid|title. I am using apache solr search. I can search through the node title but cannot search through the prefix-nid. Can some ...
0
votes
0answers
18 views

Apachesolr 1.6 not working with core search

Greeting everyone I recently installed the Apache Solr on my server for a Drupal site 7.26 I am using the version 4.6, since I was having problems with version 4.6.1 (currently the most recent ...
0
votes
1answer
65 views

how to index unpublished nodes to apache solr

I want to display unpublish nodes to some of the user roles. The apachesolr by default index only publish nodes. Is there a way of indexing unpublished nodes to the apache solr index?
2
votes
1answer
83 views

Solr Search or Views Exposed Filters

I have a food recipes site and it has a search feature on home page. My Questions are : Once the user search for some thing, they "continue to narrow down the results" . Is it possible with views ...
0
votes
1answer
64 views

Some fields are not indexing in apache solr index

I have taxonomy term and date type fields in content type. But they are not displaying in facets list in admin section. While accessing this url http://localhost:8983/solr/select I noted that these ...
0
votes
0answers
82 views

Add custom field with multidimentional array into solr search index

based on this tutorial, I try to add custom field (with multidimentional array) into solr search index ...
0
votes
0answers
13 views

New Apache Solr Widget

So there is by default the show links widget, and the show checkboxes with links. All I want is a list of checkboxes and a submit button for the particular facet I want. How do I do that?
0
votes
0answers
17 views

Trying to hide apache solr facet on all pages except for a certain path

I want to hide a facet except when on the page resource-library (which will be the main page for this particular search, and obviously arguments for various resources will be on it). I also want to ...
0
votes
0answers
26 views

Apache Solr Search module indexing

I am using Apache Solr Search module. One of my field (integer type) is not being indexed. When I check the index at /admin/reports/apachesolr/solr it shows my field under fields. But when I search ...
0
votes
1answer
35 views

How do you get Solr Views to query Acquia Search?

I'm looking to build a set of sites which are all indexed by Acquia Search into a single index. I also plan to build an umbrella site to help people discover content on the sites below. I was looking ...
0
votes
3answers
44 views

How is $search_results in search-results.tpl.php generated

Where is $search_results generated? I've got an Apache Solr search, and I want to reorganize the content in a certain way, and modifying the theming as well based on certain conditions, but all I ...
0
votes
2answers
87 views

Increasing the search query limit (Apache Solr)

We want to create a search page with Apache Solr with an increased query limit. I was reading that using hook_search_execute was not a recommended way to do this. Is this statement correct? What ...
0
votes
1answer
72 views

Multiple Indexes with Apache Solr

Is it possible to use multiple indexes with Apache Solr? We want to use different indexes depending on the environment id.
0
votes
1answer
51 views

trigger a form submission button using custom cron

It's possible to create a cron that trigger the submission of a form ? To be clearer, when my drupal cron is executed, this form will be submitted automaticlly ? EDIT : This is an explantion for ...
0
votes
1answer
33 views

Apache Solr Search Results

The apache solr search results object doesn't seem to be indexing one of the fields I've added, a field with the machine name of field_resource_type. How do I add this? Is it in a configuration file? ...
0
votes
1answer
25 views

Trying to print results of Apache Solr Search

I'm trying to print to Drupal message, the indexed items as an object in Drupal. Here's what I have so far: function resource_library_search_apachesolr_process_results(&$results, ...
1
vote
1answer
45 views

Custom facets return no results on search page

I have created a custom field to the node index of apache solr. Here is the code. function myModule_apachesolr_index_document_build_node(ApacheSolrDocument $document, $node, $env_id) { ...
0
votes
0answers
18 views

Apachesolr search returns all the nodes if i search a title of a node

I have configured the apache solr search on my site. I am using versin 4.6.0. I have a page content type. I have create three nodes of type page. Page 1 Page 2 Page 3 Now when I enter the text ...
0
votes
0answers
40 views

How to manage the display of apache solr search results without using display suits?

I am using the apache solr sear. I want to control the display of the search results by adding and removing fields from the search results. I am using the ...
3
votes
2answers
72 views

Trigger Event After Node Is Indexed

I have a pretty basic Drupal 7 web site with Solr search (works great!). I would now like to perform some "work" after each node is indexed with Solr. First I tried creating a workflow rule but ...
1
vote
0answers
56 views

Drupal 7 Apache Solr Search module custom ordering of results

I've been stuck on how, if its even possible to meet a certain search criteria that's been set. This is it: The user enters keyword "george" Search rules: Top to Bottom sorting A. All advanced ...
0
votes
0answers
47 views

all searches comes back w/ epoch time (DEC 31 1969)

I have my own environment setup w/ Apache Solr Search | Drupal.org. Whenever I input a standard search inside of a search box, majority (if not all) returned results appears in epoch time (DEC 31 ...
0
votes
1answer
181 views

add condition in apache solr serch query

I want to alter apache solr search query with my custom filed. I have custom content type called "Restaurant" and in this content type i have 1 field called "country". Now I want to add condition ...
0
votes
0answers
17 views

How to add filter for Apache Solr search to search in current book. [duplicate]

I want to set solr search in a way that it is having filter for searching the books(specific book only). For Ex. we want to search the nodes from book1 only then it should show the results from book1 ...
1
vote
0answers
24 views

Inverse search with key words

What I need is a way to search with solr in drupal for everything that DOES NOT contain the given keywords. The default exclusion seems to require a base search first (ie at least one word to search ...
1
vote
2answers
172 views

Drupal 7 Apache solr - how to index pages content instead of nodes content

I have a drupal 7 website with pages that include multiple nodes and I use Apache Solr as search module. It works but the results are very messy. This is a page structure exemple: As you can see, ...
0
votes
1answer
107 views

How to set up Apache solr search for Book Specific search

I have two books in my website (Drupal 7) and i am using Solr search. I want to implement book specific search so that, if user is searching for Book1 content then it should show results from Book1 ...
0
votes
0answers
145 views

Search_api_solr: SolrException undefined field ss_type

I am configuring search api and apache solr on my localhost. But it gives me the following error An error occurred while trying to search with Solr: "400" Status: Bad Request: Bad ...