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

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
21 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
74 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
5 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
20 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
10 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
17 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
19 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
28 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
28 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
29 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
14 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
31 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
17 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
13 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
11 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
28 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
42 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
22 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
51 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
76 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
43 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
14 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
44 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
158 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
30 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
24 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
64 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
33 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
38 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. ...
0
votes
1answer
18 views

Access currently logged in User profile from search index view?

I have a Product Display listing of indexed nodes that show a "List Price" I want to do math on them (if I can get the multipliers I can do the math) in the view to show a users "Cost" and "Selling ...
0
votes
0answers
44 views

Exclude a node from being indexed with search_api

I've read over How to exclude a node from being indexed based on a field value? and I believe I've done exactly what it says. Yet, the nodes I don't want to have indexed are still in the index. Here's ...
0
votes
0answers
21 views

Print output of search result on same page

I am newbie to Drupal,I am trying to print the results on the same page just below the form.Seems like i cant figure it out. Here is what i have tried so far. function addressbook_search() { // ...
2
votes
0answers
121 views

Adding indexed field to Search API query in code

I want to add an indexed field to a Search API query in code. My query currently looks like this: $index = search_api_index_load("default_node_index"); $query=new SearchApiQuery($index); ...
0
votes
0answers
34 views

what is the difference between core search and search api indexing

What is the difference between core search and search api indexing. The below screen shows up once i visit search setting and number of item left to index is 1809. (en/admin/config/search/settings) ...
0
votes
1answer
49 views

Switching from Search API Database to Solr

i have a site which is already using Search API database and Facets search hosted on Acquia. The site main search (recipe search) is a view with exposed filters to display search and similar content ...
1
vote
0answers
41 views

Spellcheck for Search API Database

I need the functionality of google like "Did you mean". There is no solution for Search API Database. Though it is available for Solar Search. Is there some thing i can do with views to achieve this ...
2
votes
1answer
89 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 ...
0
votes
0answers
13 views

Modify default drupal search results through module

I want to modify the default search results shown in drupal. I need to show search results from a third party application which has indexed my drupal site. how can I show my 'own' search results when ...
0
votes
1answer
67 views

Commerce Kickstart: How To Add Sort Fields To Search API?

I've been playing with the Search API and I can add new Facet Displays and filters, but no matter what I try I can't get any fields other than Price, Latest and Title to appear as Sort options. What's ...
1
vote
0answers
34 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? ...
0
votes
1answer
94 views

Drupal Search API facet block not listing all indexed fields

I have a content type that has a term reference field to a vocabulary called 'Categories'. Categories - Cat 1 - - Cat 1.1* - - Cat 1.2 - - - Cat 1.2.1 - - - Cat 1.2.2* - - Cat 1.3 - Cat 2 - Cat 3 - ...
0
votes
0answers
13 views

Drupal 7 search term counter

I searched a long time for an answer to my question: Is there a module/way to override score in search indexing just by the number of occurrences of a given word in a node/website content? I'm using ...
0
votes
1answer
65 views

Fatal Error Call to undefined function SearchApiViewsQuery():placeholder

I am using search api and views module When I add fields Indexed user first name and indexed user last name and then use field views combine fields filter and add those two fields I get the undefined ...
0
votes
0answers
21 views

Is it possible with Search API to index one node twice (or more) for use in different contexts?

I had to create some node types with no language specified, but with some fields (name-suffixed) specific to different languages. I couldn't use field translation from i18n. The reason was to preserve ...
0
votes
0answers
82 views

Multilingual index based view not translating taxonomy in returned content

Search API 7.x-1.11 Drupal 7.26 Internationalization 7.x-1.10 Views translation 7.x-3.x-dev Hello, I have a Search API based multilingual index view. The view items returned from the ...
1
vote
0answers
136 views

Make Entity API aware of new custom field

I am using a module that creates a field type "ean_hotel_hotelid". I am using Search API and need to index this field, but it is not available to be indexed. Search API will index all fields and ...
0
votes
0answers
122 views

How can I show parent and child terms in facet search filter block for a taxonomy field having simple hierarchial select as widget type

I am using facet filter to filter views values . I have a taxonomy term using widget type [Simple Hierarchial Select][1] . I want to be able to filter parent and child terms both in facet filter ...
4
votes
3answers
116 views

Search in comments of specific content type

I'm looking for a module that provides the possibility to filter/search in comments. When there is content of the content type = Proposal you can comment on it. There's a good change that there will ...