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
9 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
8 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
14 views

Apache solr is not accessible by my server but accessible by my localhost

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
13 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
18 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 ...
-1
votes
0answers
8 views

Search api Location using Google autocomplete for address

I would like to use the Search api location module and replace the address field with the Google autocomplete like here https://www.airbnb.com . Is this possible to do? If so,how? thanks
0
votes
0answers
13 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
37 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
23 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
24 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
10 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
40 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
25 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
27 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
27 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
12 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
31 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
13 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
33 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
84 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
37 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
110 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
158 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
0answers
31 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
73 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
42 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
18 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
21 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
48 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
29 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
14 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
63 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
102 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
25 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
150 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
26 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
28 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
20 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
14 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
11 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
40 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
68 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
104 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
32 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
16 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
47 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
49 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 ...