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

Best way to build out a search in a modal that has checkboxes and ranges? [Image Included]

What's the best way to build out a search like this? It's in a modal so it's across the whole site. There's a finite amount of checkboxes(there's 10), and the price is a number which is a field type ...
0
votes
2answers
9 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
12 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
15 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 ...
0
votes
1answer
16 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
30 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
23 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
11 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
23 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
30 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
99 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
0answers
12 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
15 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
31 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
15 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
22 views

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

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
15 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
26 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
18 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() { // ...
1
vote
0answers
63 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
27 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
32 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 ...
0
votes
0answers
18 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
52 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
11 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
42 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
28 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
48 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
42 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
15 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
57 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 ...
0
votes
0answers
103 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
76 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
111 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 ...
3
votes
2answers
179 views

Fuzzy Search in Drupal 7 gives no results

I have setup Fuzzy Search in our website to provide 'intelligent' search functionality. I believe that the setup is all proper but despite the fact, I always get back 0 results. This is my search page ...
0
votes
1answer
38 views

How to add 'add to cart' button to view based on a search index?

Just got started with search_db and the search_api and facets. I have a view set on an index of my commerce products, but I don't have the option to add the 'add to cart' form as a field. There isn't ...
0
votes
0answers
99 views

Sort search api view results by content type in Drupal 7

I have a Search API view, it works fine. I have several possible content types in the search results: product, press release, download, blog & event (this order is required) what I need is to ...
0
votes
1answer
60 views

How to pull node reference into view on a search index?

I'm wondering how to pull the node reference into a view based on a search index. I did this with my earlier product catalog by adding a relationship to the product referenced node, adding the node ...
0
votes
1answer
25 views

Location Module and Search api

I am using the Location Module to add a location to a field on a content type I am then using Views and Search Api to create an index and a view of this content type. The problem I have is that I ...
0
votes
1answer
19 views

How to edit fields' display markup in a search view?

Working with searchapi and views. I have a view based on a search inWondering how to edit the markup for the fields? There's a general option to strip the markup elements, but how to control the ...
0
votes
1answer
27 views

Search API Views - Show search string in text

I created a view to display my indexed data, anything works just fine. What I now want to achieve is, that only the part of the bodytext is displayed, that contains the search string. The default ...
0
votes
0answers
65 views

Sorting on multiple fields using Search api Sort

I want sorting on multiple fields like my custom field in DESC order and Price in ASC order based on some condition. Basically a two level conditional sorting. How can I do that ?
0
votes
1answer
31 views

Commerce Search API with Custom field search

I have a Custom search form with multiple fields on my front page. After clicking on submit button, user would be routed to search result page. (Ideally, a Commerce search view). On search result ...
0
votes
1answer
17 views

Facets blocks populated with incorrect field data and strange behavior

I'm building a product catalog with faceted search. I'm using Search API, Search API Database Search, and Display Suite. I've created a search server as well as an index which indexes four fields ...
0
votes
2answers
79 views

Commerce Search API with Custom Search Form

I have a search form with multiple fields on my front page. After clicking on submit button, user would be routed to search result page. The user fills out the form, clicks on a 'Search' button, and ...
1
vote
1answer
116 views

Search api autocomplete with commerce kickstart

i am using search api with commerce kickstart i have created a view and used it as an exposed form on the homepage, I have used the search api autocomplete module but its not working because the ...
0
votes
0answers
29 views

Views exposed form taxonomy translation

On a website we use taxonomy translation (Drupal 7), it's working fine on all exposed forms from Views. But on one exposed form (the Search form) it isn't working. Inside the views configuration ...
1
vote
0answers
192 views

Text does not get highlighted in views using search api solr

I'm trying to highlight my search key in the result of a view using apache solr + search api solr module. I've created a server + index using the search api solr module. I've enabled highlighting ...