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

learn more… | top users | synonyms (1)

0
votes
0answers
14 views

How do I add another field to facet for conditional filtering

I currently have a facet block that lists all sizes available for a certain category. The sizes come from a taxonomy vocabulary. I want the sizes facet block to only show the sizes that have stocks > ...
0
votes
1answer
25 views

Drupal Search API Solr 5 incompatible schema.xml

An error kept showing after installing Search API for solr and after creating a server on drupal. (Solr 5.x) You are using an incompatible schema.xml configuration file. Please follow the ...
0
votes
0answers
8 views

How can I count how many times Solr searches are made?

I want to count how many Solr queries my site makes per day or per month (if possible). I'm using Search API Solr to search two different indexes, and all of my searches go through Search API Views. ...
1
vote
1answer
12 views

Use different indexes for Solr searches on local dev environment

I'm using the Search API Solr module for search on my Pantheon site. Pantheon's Solr module automatically sets the search index for the dev, staging, and live environments. But now I want to install ...
1
vote
1answer
21 views

Why are Drupal hosting providers using Solr 3.x instead of 4.x or 5.x?

As of April 2016, Acquia offers Solr 3.5. Pantheon offers Solr 3.6. Platform.sh offers Solr 3.6 by default, with 4.10 as an option. The current release of Solr is 5.5.0 (2016-2-20). 3.5 was ...
0
votes
0answers
11 views

Index data under Solr from a SOAP web service to expose them via Search API (views)

We have to expose a subset of an external database coming via SOAP. To keep it simple, let's say that we have to handle products, product providers and product categories under Drupal. Products are ...
0
votes
2answers
32 views

Drupal not connecting to Solr Server

I have setup Apache Solr version 5.5 and it runs fine when I test through my browser at http://localhost:8983/solr/ but when I try to connect Drupal to this it throws the error: I am getting some ...
0
votes
1answer
32 views

fatal error when i want to disable apachesolr module

I see an error when i want disable apachesolr module. what should i do?
0
votes
1answer
18 views

How to update SOLR document?

This question is related to SOLR, Views, Flag - newly flagged users do not appear in search results Because previous question can be difficult to understand I'm trying to simplify things. If I ...
0
votes
0answers
13 views

SOLR, Views, Flag - newly flagged users do not appear in search results

SOLR: index of user entity added field: Users who flagged the entity with flag my_flag Do reindex. Views (Solr Views): Type: user index Relationships: Indexed User: Users who flagged the entity ...
0
votes
1answer
30 views

Using the Big Pipe approach for listing pages that are driven by Solr Index

We are working on a website where we might end up having thousands/lakhs of nodes. So we are planning on using Apache Solr for the listing pages as well. Having researched a little bit about Big ...
0
votes
0answers
25 views

Numeric value not working with Solr Polish site

Using the Drupal 7.39 and Solr 3.5(Search Api module) keywords search works fine on Solr with the filter "StempelPolishStemFilterFactory" for the polish language. But when using a numeric string ...
0
votes
0answers
32 views

Apache Solr Not Indexing Entity References

Context: We have a Drupal site that uses the Inline Entity Form module to allow content editors to add sidebar callouts, in-content callouts, and full width content blocks on a given "Page" node. ...
0
votes
0answers
20 views

Theming custom Apache solr results

I am making a custom apache solr query using apachesolr_drupal_query("custom", array('q' => ''), '', 'search/site') and getting the results processed using the function ...
0
votes
0answers
19 views

Acquia Solr Server is not working

I am working on a site which uses Acquia cloud for hosting. It uses Acquia Apache Solr (Server), Search API and FACET API. In FACET API, I uses all the required field and set the fielter widgets as ...
1
vote
1answer
161 views

How can i make my solr search case sensitive?

I am using search api and search api solr module, currently my search is case insensitive with following configration. <fieldType name="text" class="solr.TextField" positionIncrementGap="100"> ...
0
votes
1answer
23 views

Apache Solr form alter add custom fields in search form

I wanted to alter the apache solr search form by adding my own custom textfields, dropdowns. I tried using the regular form alter hook but it works only for the Core search i.e custom fields appear ...
0
votes
1answer
40 views

Content types disappear [closed]

In some lists my content types all disappear. This especially affects Apache Solr for me. But also Views and Rules dont show the content types in some lists. Interesting is that: One content type ...
3
votes
1answer
32 views

Reindex a select group of nodes

I am maintaining a site that I did not build. It was discovered that some 300 nodes of type "custom" had incorrect url aliases. There are a total of 7961 nodes of type "custom" in the site at this ...
1
vote
1answer
23 views

Theme search-result pages individually?

We can theme the search-result pages within search-results.tpl.php and search-result.tpl.php. But as far at it is possible to create multiple search pages(e.g. in apache solr module), is it possible ...
3
votes
2answers
70 views

Apache solr filter based on array values

Has anyone succeeded in filtering array values using Apache solr? I have nids as an array, programmatically I want to use the array to filter the solr based on the 'entity_id'. I tried something like ...
0
votes
1answer
22 views

Apache solr access protected parameters

I wanted to access the keyword being searched in the Apache Solr. Thus i used the hook_apachesolr_process_results Hook to access the $query variable. But I am unable to access the keyword as it is ...
1
vote
1answer
21 views

Display definition of the term searched for - above search results

Beginning a search on google with 'what is psych'... triggers auto completion with 4 suggested phrases - arrow down through each and you will see its definition appear above its pertaining results: ...
1
vote
0answers
75 views

Apache Solr Proximity Search and sort by Distance

I wrote a custom module to perform a search of an index I created using Search API and Search API Solr Search. The search is a proximity search that finds the closest locations using a bounding box, ...
0
votes
0answers
13 views

Solr ignoring search result templates

I'm new to using Solr, and for some reason it is ignoring my search-result.tpl.php and search-results.tpl.php files. I was using the default Drupal search before and it found the templates just fine, ...
1
vote
0answers
83 views

Search highlighting for body field in Solr Seach API

I am using Search API for Solr and I see that it generates excerpts fine but it only works with Search API page when theme as search results is selected only. I would like to get highlighting to work ...
1
vote
0answers
21 views

How to work with multiple widgets with single faceted?

1) how to get 2 different blocks for the same facet each one has a different widget We need have block using a collpaisble defined through the custom module and I need select list. I need both of them ...
0
votes
1answer
76 views

How do I provide a facet to filter by month?

I am using Apache Solr to index a drupal site, and with facet_api enabled I have a set of useful facets available to me, so that I can filter by tag, author etc. I am using facetapi_select to display ...
0
votes
1answer
41 views

Add condition to specific content type in apache solr

I've installed apachesolr,search api solr and views. I have only indexed article and basic page content type. Then i've added new field "internal use only" as checkbox for article content type. I ...
0
votes
1answer
91 views

How to enable spell check functionality of Apache Solr in Drupal using contrib modules

Apache Solr is designed to provide inline spell checking which basically makes suggestions if it thinks you have misspelt a word. I am trying to work out what is the most simplest way of implementing ...
0
votes
1answer
30 views

Apache Sorl Add Custom Term Indexing with Hierarchy [duplicate]

My project was have 3 content types with taxonomy, i need to combine all the content types term field values and display with hierarchy. My fields are : field_peoples_rits_term, ...
1
vote
0answers
59 views

What's wrong with the autocomplete in the search textbox using apache solr?

I have apache solr version 4.x and Drupal 7.39. I just want to create solr search in Drupal. I have installed apache_solr module, apachesolr_autocomplete (tried both dev version and recommended ...
1
vote
1answer
163 views

Adding custom field to apache solr drupal 7

I have tried Apache Solr Autocomplete to make autocomplete option in solr search. But it is not work for me. Is there any other alternative to do this? And also I need to know, how to add custom ...
1
vote
0answers
13 views

Facet not filtering proper data using Solr Slop

I am using facet to filter the solr search result. It's working fine, but if I use solr slop to retrieve data all the records are proper and then try to filter the records using facet Sector, then the ...
1
vote
0answers
15 views

Template file in admin theme not looked for in admin theme

As documented here, I've created a custom filefield source that gets images from Apache Solr, and I'm using this in conjunction with the Insert module. I wanted to add some additional markup for ...
1
vote
1answer
21 views

How to use Solr Handlers when sending requests from Drupal

I'm using Solr 4.10.2 and Drupal 7.X, I have the Apache Solr Module Framework operating and sending the requests to Solr From Drupal. Currently when we perform a search, Drupal builds the query and ...
1
vote
0answers
32 views

Displaying a subcategory field along with suggestions in apachesolr autocomplete drupal 7

I am using apachesolr_autocomplete module of Drupal 7 to implement the search functionality on my website(supermarket website). But now i want to implement a functionality to show subcategories as ...
0
votes
1answer
25 views

How do I rewrite Solr search results to show related entity reference field?

1: I have two node types: "Plants", and "Pests". related using a field in the plants node type called "affecting_pests". How do I modify the solr Search result view; in the case of a Pests result, ...
1
vote
1answer
23 views

Flexible addons for Solr to achieve sorting and filtering

My requirement is to provide end user with an option to sort/filter the search results. This can be achieved different ways but I am unclear to choose one. I found these methods. Using facetapi - I ...
1
vote
1answer
98 views

Group search results by content type and limit count

I am trying to group search results by its content type. Also, I want to show not more than 4 results per content type. For an assumption, it should look like this: Content type1- Result1 Result2 ...
1
vote
0answers
21 views

apache solr combine terms from different content type

i want combine the taxonomy terms from different content type, i want combine those values and display in the apache solr search block. I am trying using apache api, but no success
0
votes
0answers
18 views

apachesolr_drupal_query with blank keywords

Is there a way so that I can use the apachesolr_drupal_query to search without any keywords? The use case may be like a situation when I just want to fetch all records for the first time. $solr = ...
1
vote
0answers
36 views

Creating Multifield Search with Apache Solr Search

I'm using Apache Solr Search on Pantheon and trying to figure out how I can create an "advanced" multifield search. For example if I have a content type called Location, with "city" and "state" ...
1
vote
0answers
50 views

Don't remove the record from Apache Solr

I have a custom module, which delete the records in DB based on Cron using node_delete_multiple. For search reason, I don't want to remove the record from Apache Solr when node_delete_multiple ...
0
votes
1answer
217 views

Ignoring accents/diacritics in apachesolr

I have a site that's in English, but there's a fair amount of French text on it. So, there are some special characters like è, é, á, etc. I don't want to worry about those diacritics at all when ...
1
vote
0answers
67 views

Create custom search page with solr and facet-api

I am building a custom search page, and so I have installed : Apache Solr Access (apachesolr_access) Apache Solr framework (apachesolr) Apache Solr search (apachesolr_search) Current Search Blocks ...
0
votes
2answers
185 views

Drupal 7 modules that will allow search for external data using either Apache Solr or Elastic Search

I have data within a Teamsite application which we will be indexing within either Apache Solr or Elastic Search (have not decided yet). I plan on creating search pages within Drupal 7 that will allow ...
1
vote
1answer
414 views

How do I enable fuzzy search for Search APi solr search?

What I want to do is make it so that when I type "awe" i get results for "awesome." This is what fuzzy search is, right? It uses ngrams to match parts of a word? I'm trying to follow the directions ...
2
votes
1answer
57 views

Search module in drupal 7

I am using drupal 7 built in search module, when I searched for example mechanics it will filter out the results successfully but when I used to write only mech or mechan something like this, it ...
1
vote
0answers
33 views

How do I add files to the solr index in Drupal 6?

I'm using Drupal 6, Solr 4.9.0 and Apache Solr module v 6.x-3.x. I'm trying to use Solr to index files attached to nodes, but it's not working. I'm using the Solr Attachments module but I know it's ...