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
16 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
29 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
18 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
0answers
12 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
17 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
11 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
19 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
20 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
9 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
37 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 ...
0
votes
1answer
56 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
18 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 ...
0
votes
0answers
26 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 ...
0
votes
1answer
18 views

Hook Advance Search Form

I want to hook the Drupal advance search form for add more filter criteria, I want to add the below criteria 1) Search By Post Date 2) Search Between Post Date 3) Search by last day, last 7 days I ...
0
votes
1answer
16 views

getting a 'Fatal error: Allowed memory size' message when using search api autocomplete

Fatal error: Allowed memory size of 94371840 bytes exhausted (tried to allocate 103 bytes) in /includes/database/database.inc on line 737 My message is above. I am using Search API, Database ...
0
votes
0answers
15 views

Localized translated term is not searchable with Search API

I have translated some taxonomy terms in to Arabic using the "Localize" option and i am using SEARCH API on my site. Non translated(English) terms are perfectly searchable with Search API but Arabic ...
0
votes
0answers
12 views

how to redirect search/user/% to my-views-search-page?combine=%?

Is there a module or a hook to redirect the search click/enter-key to my-views-search-page including the argument (like that: search/user/% to my-views-search-page?combine=%) ? Or any other way to ...
0
votes
0answers
10 views

Adding extra field to search page - how to continue?

I try to add an extra field to the search_api_pages, search page. I have implemented my custom module named mymodule and try to add the field to title to the search only inside node title. Title is ...
0
votes
1answer
28 views

How to make the search engine use search api db?

I have installed search_api, with search_api_db, create 2 indexes, one for node, one for users. The conf: server: search_db server, 2 indexes: default_node_index and user_index service class: ...
0
votes
0answers
32 views

How to build an advanced search form for the search api

I have custom content types that represent documents stored in Drupal; each content type has different fields but also some in common like: title language date attached text I am currently using ...
0
votes
1answer
30 views

Search snippet does not appear in Search API search page

I am using Drupal 7.28 Apache Solr 4.4.0 Search API Solr 7.x-1.5 Search API attachment 7.x-1.3 and Search API Page 7.x-1.1. I have created 2 content types with - Title - ID - Document date ...
0
votes
0answers
30 views

using search api create search dropdown in the view

I have installed search api module. Now am creating search option here in the view, and I have added two search option for front user Progress flags (it can be Draft,Sent,Approved,Unapproved) ...
0
votes
0answers
12 views

Search blocks not searching

I'm having a similar issue to this post. (Custom Search module does not work anymore for me, though. I was trying to phase it out, in favor of the core Search.) I worked on it before a weekend, to ...
-1
votes
2answers
28 views

Want to insert search form via module? [closed]

I want to convert my Html theme to drupal I want search module to be inserted in it. So should I define region and then render that. Or their is some other method to do that
0
votes
0answers
26 views

How to replace taxonomy pages with Views, Search API, and Facets?

Before i stumbled upon the power of Search API and Facets API, I rebuilt all of my views pages using the view (supplied by Views upon installation) to replace the standard taxonomy pages. I restyled ...
0
votes
0answers
36 views

Search API multiple entity bundles

I would like to get some advise on what approach to take, implementing search api with views (database server) to search through 2 entity bundles (with different fields) of the same entity type. The ...
0
votes
1answer
22 views

Add Profile 2 -> Field Colleciton -> Taxonomoy into Facet (Search API)

I'm trying to display a Facet block , which uses Term reference (Taxonomy) of Field Collection of Profile 2. Since I am new to Search (API), I have tried all sort of things but nothing worked. For ...
0
votes
0answers
14 views

Using drupal code search and search api in the same site

I am indexing a content type "Recipes" using Search API and i want rest of the site content to be searchable with drupal core search. /search/node/keyword My question is that is it okay to use ...
0
votes
1answer
21 views

Search Taxonomy Term pages containing entity referenced nodes

So, I've got myself into a bit of a pickle here and was hoping that could point out a way through. Drupal 7 Views Display Suite Entity Reference Inline Entity Reference Search API Database Search ...
0
votes
0answers
24 views

Views Search API with Search API database, sort handler

I need to have a views handler for Views Search API that will allows empty (i.e. NULL) values in fields to be sorted last. For the simple views there is a solution: Views Sort Null Field but I'm ...
0
votes
1answer
42 views

Drupal search based on content type

I have two type of content lets say News and Article. Now, I want search over these two content types(option is given to user). I am using default search module of drupal. I am able to search both by ...
0
votes
0answers
46 views

Drupal commerce re-indexing causes exception

I'm trying to re-index all my products on my drupal commerce website and when I do so I get the following error message: An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information ...
0
votes
0answers
20 views

Export a field with its content out of a field collection

I am actualy stuck in some kind of trouble. The last couple of days, I created a test stage for one of my websites to integrate Search API Attachments ...
0
votes
0answers
17 views

Faceted Search Block

I am using faceted search module in my Drupal7 install. Most things are working fine, but when I set up the faceted blocks, I noticed that the links within the block only capture the first or last ...
0
votes
1answer
123 views

How to sort product displays by price using search api sorts?

Actually I want to do the same behaviour as in commerce kickstart 2 for sorting my products by price. I'm using search api, search api db, search api sorts, search api ranges, commerce search api ...
0
votes
0answers
54 views

Biased results based on node type (Search API Solr)

I want to create a weight bias for all of my node types. Node Types: Articles Blog Content The situation: Right now Articles will be mixed in with Blog and Content. What I want is whenever ...
0
votes
0answers
58 views

Search-api doesn't index custom body field

I've created custom content type, with custom text area field 'field_main_body' (main body field is deleted). The field doesn't show up on search-api index configure page. The search result don't show ...
0
votes
0answers
18 views

How to get the product field for filter in /product page

I am using commerce kickstart . I have the facet search for price field. But how to filter product with other product field. I don't want to indexing all the product field ,i want to achieve it ...
0
votes
0answers
21 views

Search for product displays based on info from products in Commerce

I have a website with various articles of clothing for sale. Here's how I have it set up: Product Display content items: Mens V-Neck Tshirt Mens Tank Top Tshirt Womens Tshirt Childrens Tshirt ...
0
votes
0answers
36 views

Block being rendered twice on a views page

I have created a view page '/searcher' which displays indexed results from search_api_solr queries - ajax is enabled for this view. I have also created a custom block which will be used to display ...
0
votes
0answers
23 views

What is a point of relationships in view of index (search_api)?

What is a point of relationships in view that is showing an search_api index, if you can resolve relationships at search_api level - when you are choosing fields to index? Is there any?
0
votes
0answers
26 views

Is using “Geofield Map” view format with search api index impossible?

I have content of types "company" and "address". Company type has entityreference field "field_company_hq_ref" to "address" type . "address" type has "field_address_address" addressfield and ...
0
votes
0answers
53 views

Exposed filter criteria cause duplicates when using Search API in Drupal 7

Installed: Search API: 7.x-1.11 Search API Entity Translation:7.x-2.x-dev Views: 7.x-3.7 Database search : 7.x-1.2 I am trying to create a view from a search index that I created. The problem that ...
8
votes
2answers
253 views

Programmatical use of Search API

Problem: Need to run my own searches programmatically with Search API. Every google result I find is geared toward teaching non-developers how to use the module with Views with no results on doing it ...
1
vote
0answers
148 views

Search API facets using taxonomy hierarchy causing logic problem

I have set up search API with facets and a SOLR backend. It all works fine in general, except when I try using with a hierarchical taxonomy. Each node has a town/city term associated with it. These ...
-1
votes
1answer
49 views

Retrieve field value using PHP + Search API + Views?

I haven't had this problem in the past but I'm trying to retrieve a field value in a Views PHP Field for a view I made for Search API. I'm using the code below but I tried with 'nid' as well. $stream ...
0
votes
1answer
39 views

Is it possible to change the “view type” from a “content view” to a “search view”?

I have recently installed the Search API module and associated modules to build a better site search. My current search function is basic out of the box search but there are is lot of custom HTML and ...
0
votes
0answers
55 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 ...
0
votes
1answer
47 views

Prevent indexing the article content after 15 lines.

I am using search API and Solr . I need to index only the first 15 lines of each article . the remaining lines after 15 lines has content which i don't want to index . Please suggest if its possible ...
0
votes
1answer
42 views

How to create a views page of discounted products list?

I'am using commerce discount module in commerce kickstart 2.11 And need to create a page with a list of dicounted products using views filter and/or search API. I've tryed without any success. Please ...