The Search API module provides a framework for easily creating searches on any entity known to Drupal, using any kind of search engine.

learn more… | top users | synonyms

0
votes
0answers
5 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 ...
0
votes
0answers
9 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 ...
0
votes
1answer
10 views

Is it possible to use search api indexs together?

I'm trying to create a search page for forum topics. Forum topics however are both posts and the comments attached to them, unlike other content the comments and actually posts are just as important ...
0
votes
0answers
15 views

How to rewrite Facet Items based on Views Exposed Filters value?

I have setup a Search API view to display business pages. User can filter (with Views Exposed Filters) these Business Pages based on Country, Category of services and Date. In addition, User can ...
0
votes
0answers
31 views

Search API - search string with “0” prefix

I have a problem with search api. I'm using database search + search api views integration in my website. Everything works fine, but i noticed that when i submit the search form with a query like ...
0
votes
0answers
18 views

Use Facet API to filter field collections on a node

When you add additional fields from a field collection to a search index the fields are associated only with the parent node, not also with the field collection itself. Is it possible to setup Search ...
0
votes
0answers
15 views

Facet API filtering on field collection items

I am looking at implementing the following usecase: I have a content type "Product" that contains a field collection "specs" with several fields. (weight, width, height, ...) I now want to create ...
0
votes
0answers
8 views

How to use OR with search_api_views_query?

I am trying to modify the query in the display_products View in Commerce Kickstart. I want to add an 'OR' condition, but I can't get it to work. I followed these instructions: ...
0
votes
0answers
13 views

Integration Search API with Social Media Statistics

Is there any way to provide "sort by social media share statistics" in search api view? Is there any way to integrate Social Stats Module with Search API Any thoughts?
0
votes
1answer
23 views

Adding referencing entities using hook_entity_property_info_alter

I have a custom entity "Matching" with a multi value field entity reference jobs that references a node of type job. function custom_alters_entity_property_info_alter(&$info) { ...
0
votes
0answers
9 views

Drupal Search Api reverse entity relations

I have a node which have entity reference to user,In search API,my need is to take user as type,how can i get this relation in search fields as for now iam getting no relationship between them ...
0
votes
0answers
12 views

Search API autcomplete - common words are always added to search suggestions

Using the Search API and Search API Autocomplete modules: This is probably a case of misconfiguration on my part, but may be a bug of some description I'm not sure. Whenever I use the auto-search, ...
0
votes
0answers
9 views

Alter fields from Search API Views

I want to alter a value from a field return by a Search API View. All that fields are exclude from display except the last one who contain : <h4>[title]</h4> [search_api_excerpt] ...
0
votes
0answers
18 views

Commerce Kickstart 2 - Disable ajax in seach products backend

How can I disable ajax in admin/commerce/products (Commerce Kickstart 2 menu)? I've searched in Search API settings but found nothing. Edit: I found that the View Commerce Backoffice: Products ...
0
votes
1answer
21 views

Customizing search results page to use template.php and search-results.tpl.php

I'm using Drupal 7, the basic Drupal search tool. I like what it returns as far as the actual node pages. However, I want to customize the main search results page that shows a list of results after a ...
0
votes
1answer
27 views

How to get search results sorted by language in solr?

We have used Apache solr multilingual module for language specific search. But we want the other language results to be shown below the current language search result. How we can achieve it using ...
0
votes
0answers
11 views

Index search api sorl programatically only for new user

I am using search_api_sorl module and need to index only for new user( do not need to index all data, only newly created user) when new is created.
-1
votes
0answers
16 views

Why does search_api_task fill in with more than 10m rows?

I'm running Drupal 7.34 (Panopoly 1.6) and I just noticed that search_api_task table has more than 10m rows! Why is that? Should I deactivate something?
1
vote
2answers
19 views

How to show language specific search result in Solr search

We have configured solr search in one of our site.The site is multilingual and having 5 languages content in it. The problem we are facing is, when user language is selected as french and any ...
0
votes
0answers
15 views

Custom Search Block with multiple search fields

I am using the Search API together with the Apache Solr module to create search indecies. In the past I have used these is the following: I created a view of my Index type, created a custom search ...
0
votes
1answer
40 views

Search API Views - How to display facets on a views block?

I am using Search Api Views and Facet API to achieve that. I am trying to enable facets to a views block, or when calling a view programmatically, but unfortunately they are not displayed as ...
4
votes
3answers
86 views

What are the major differences between solr modules

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 ...
0
votes
0answers
12 views

Using Search API Extended String Filter with existing Search API setup in Drupal 7

I am hoping to activate/ work up partial searching within my existing Drupal 7 site. My search works through Search API, Search API DB and View. What it's missing is the ability to search through ...
0
votes
1answer
31 views

Search api autocomplete - how to show search form?

I use Search Api with Search api autocomplete module. I made configuration of autocomplite module on Search Api page, but I do not see block for input. Should I config anything else for it? Thank ...
0
votes
1answer
12 views

Can I search Taxonomy terms within display suite

I don't think so, but I'm throwing it out just in case I am incorrect
0
votes
0answers
29 views

Multiple Field Filter for Apachsolr search view

I am using the Apachesolr module together with the Search API module to create a Solr search view. I have created the index and view and I'm able to search with multiple search filters. However, I ...
0
votes
1answer
22 views

Search API - how to have blank page on initial page load

I am using Search API with Apachesolr module. I have created a view on the index, but for some reason, before I do any search (or if I search for a blank screen) I get full results. How do I make the ...
0
votes
0answers
55 views

Search API Custom autocomplete callback return field values

I am creating a custom form with an autocomplete callback that searches in my search index called client_index <?php function module_search_client($string) { dpm($string); $matches = array(); ...
0
votes
1answer
41 views

Search API View, search relation fields

I am creating a search api view based on Search API (with Database backend for now (will change to solr later)). I have 2 entities that are being indexed i.e. project and client. A project contains ...
0
votes
1answer
33 views

How to add another condition to a specific active facet?

I did try to add a condition using hook_views_pre_execute or hook_views_query_alter, but since Im usiong SearchAPI, theres is no point apparently in using these functions (no $query in ...
0
votes
1answer
19 views

“Search Setting” missing from 'Search And MetaData' section on configuration page

I have a problem. I have a project that uses Domain Access. I recently installed the "Search API" module and attempted to set up an indexing configuration. That all went well, but when I tried to ...
0
votes
0answers
42 views

How to get unique field values from Search API query?

I'm using the Search API with Solr. I'm rolling an ajax app. A custom form takes user input and runs a search, returning live results with auto-loading pages, google-images style. When the first page ...
0
votes
0answers
19 views

Scald File + Search API Attachments

is it possible to have files uploaded by Scald File (https://www.drupal.org/project/scald_file) indexed and extracted by search api attachments using solr as its extractor? I tried it and it does not ...
0
votes
0answers
19 views

How do I correct error: Contained fields field is required in Commerce Index Filters

Commerce Kickstart 2. I noticed that unpublished Products were still visible to users who are not logged in or have editing permissions. I saw this topic: https://www.drupal.org/node/1899326 which ...
0
votes
0answers
15 views

Solr search returns nor result on taxonomy term when a term exists in more than one vocab

A Solr search view returns nor result on taxonomy term when a term exists in more than one vocab. I have two vocabularies: dog_type and dogs_glossary. The term Chiwawa lives in both vocabs, so when i ...
0
votes
2answers
33 views

Unable to index field in Search API settings in a commerce site

In my product display content type, I created a new image field and am aiming to show that in a view among other things. I after long research found out that I have to enable indexing of a field ...
0
votes
0answers
61 views

How to configure the search timeout of Solr in Search API Solr?

I am trying to load a very long view with 500 results per page based on a Solr index. The nodes are rather large and thus it takes long to load the view and cause Solr to timeout with the following ...
0
votes
1answer
29 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 ...
1
vote
1answer
74 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 = ...
1
vote
1answer
109 views

Change the url parameter 'search_api_views_fulltext' used in views exposed filter

Im trying to modify the url parameter 'search_api_views_fulltext' so that it becomes nicer to read. i would like something like "s" or "search" Im using search_api + search_api_db + facet_api ...
0
votes
1answer
52 views

Facet Blocks are not appearing in indexed views

I have created Index with apache solr server using search API. Created a view using that index in page display and facets are appearing as rendered in side bar. Now I Created another block display ...
0
votes
0answers
16 views

Can Views Bulk Operation be used to re-index specific nodes

Can the Views Bulk Operations module be used to reindex nodes that fulfill some criteria (e.g. nodes of specific type)?
0
votes
0answers
29 views

Best practice to represent a schema with nodes

I was wondering what would be the best practise to map my schema within Drupal in order to make them searchable and given some restrictions with the Search API and Views. My schema is the following: ...
0
votes
1answer
59 views

Lowercase in facets search api

I have an issue with Facets on search API (Solr Integration). Facets items are all in lowercase, and thats not how the content type save them, and I've made a query to solr server directly and the ...
0
votes
1answer
185 views

Drupal Commerce, Search API DB and Views | How to display the product variation accordingly to the attribute being applied as filter?

SCENARIO: A Size attribute field has been added to a Product Type at /admin/commerce/products/types/PRODUCT-TYPE/fields and "Enable this field to function as an attribute field on Add to Cart ...
0
votes
1answer
49 views

Facet API, exclude option, and a field with multiple values

Im getting headaches concerning this one ... Ive got a field, say a text field nammed "MyField", which can have multiple values. Ive created a feed that imports the data for this filed. After the ...
0
votes
1answer
31 views

SearchAPI & FacetAPI: search box above

I need to have layout like this: [search box] [facet - taxonomy 1] [facet - taxonomy 2] [search results] But there is no block for the search box itself and no block only for the results. Is there ...
1
vote
2answers
85 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 ...
0
votes
0answers
40 views

How to add Group by clause and limit in search_api Query alter using search_api_query_alter

I want to add group by in below query alter with limit 1 per group. I have tried below query but it is not working : search_api_query_alter(SearchApiQueryInterface $query) { ...
0
votes
1answer
49 views

Apache solr is not accessible by my server but accessible by my localhost [closed]

I have a solr installed in my server(centos 6.5).and everything works fine and my conf files exist where they should be. I try to connect to solr by help of search_api_solr module in drupal. ...