Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
2k views

Solr index fields not showing a field

I have a field within a field collection that I need indexed. It's not showing up in the /admin/config/search/search_api/index/solr_node_index/fields page. I tried using this to try to add it myself, ...
Heather's user avatar
  • 95
0 votes
1 answer
797 views

searching and entity references

I have two content types documents and authors. When creating a document a selection list of entity reference's to authors is used to select the author. Searches for the author name find the correct ...
Joe's user avatar
  • 41
1 vote
2 answers
2k views

How to implement a searchable addresses database (for a form)?

I'm not sure if I should ask this type of question in this site, but I already tried to ask in the Drupal forum here with no reply so far. I'm trying to find out the best way to implement a solution ...
Seeker's user avatar
  • 121
7 votes
4 answers
7k views

Drupal 7 Faceted Search: Always show Facets

I have a faceted search working that uses searchapi, facetapi, and entityapi. I was not the one who developed this, but I have some experience with Drupal. As of now the navigation uses links for ...
Kevin's user avatar
  • 71
0 votes
2 answers
2k views

How to add metatag module data to the Search API indexes

I am in the process of building a new site that will have some content in the form of videos and PDFs. To make those more searchable I added the metatag module. We are also using the Search API to ...
Patrick's user avatar
  • 1,310
1 vote
0 answers
52 views

How to mark related entities as dirty in search api module when edited?

I am using Drupal 7 with the search api. I understand that one of the 'common pitfalls' of the search api is 'Changes in related entities don't lead to re-indexing'. I am bringing in a field called '...
Peter's user avatar
  • 11
1 vote
2 answers
446 views

Facetapi: Rewrite facet machine names?

I am working on a website with facetapi + search_api, with some facets for taxonomy term references. One of my facets is getting the machine name field_xyz_parents_all or field_xyz:parents_all, which ...
donquixote's user avatar
  • 3,662
2 votes
0 answers
678 views

How do I begin to debug an EntityMetadataWrapperException error on searches?

When trying to run a drush cron on a Drupal 7.54 site, I see the following error. $ drush cron WD cron: EntityMetadataWrapperException: Invalid data value given. Be sure it matches the required ...
Rick's user avatar
  • 2,984
5 votes
6 answers
7k views

How to implement search on multiple fields limited to one content type in drupal 7

I've created a new content type which has several fields (some of them are custom fields I created myself). Now I need to implement a search function on each of those fields. This means that if I ...
Nicola Peluchetti's user avatar
3 votes
3 answers
3k views

How do I make a custom entity update or create automatically update the solr index?

I have implemented a custom entity type which is essentially identical to what the Model module does, with a few additional fields. I have followed the Apachesolr User module to understand how to ...
masterchief's user avatar
3 votes
0 answers
901 views

Taxonomy autocomplete widget with term depth settings [closed]

Is there a module (or custom code) to implement a widget for taxonomy autocomplete (>=1k terms) having term depth settings? Settings could be like to control term level variable depth, rules and ...
pinueve's user avatar
  • 1,578
2 votes
0 answers
477 views

ApacheSolr - Create Custom Field Bias

I'm trying to create a new Field Bias with the ApacheSolr module. It's a field I've called References, and it's associated with only certain types (articles, pages, etc.). Because I'm also using the ...
Tyler Reed's user avatar
1 vote
1 answer
2k views

Search results: order & group by custom field

I customized the display of my search results so I can show custom fields in the search results (other question). I have a custom field ('Department'). I want to show the search results grouped and ...
screaming SiLENCE's user avatar
1 vote
2 answers
2k views

Apache Solr Search, add taxonomy field in search results

I'm really bumping my head on this. I simply need to add tids from a term reference field on nodes returned by a solr search result. It's a unique term reference. I looked for the field in solr ...
Gregory Kapustin's user avatar
0 votes
1 answer
238 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 I ...
PUncle's user avatar
  • 171
0 votes
1 answer
212 views

Faceted Search Block displays values from other facet blocks

I'm using the Faceted Search API (drupal 7) and followed this Tutorial: Part 1 and Part 2 All worked fine but there's a little Problem with the Values each Block displays "Kategorie" and "Serie" ...
flumingo's user avatar
  • 121
1 vote
2 answers
270 views

Backlinks from UUID hrefs

The goal is to hack core so that the search module will populate the search_node_links table from uuid-link hrefs in node content. Planned approach is to modify the parsing functions of search_index ...
Ginosuave's user avatar
1 vote
1 answer
104 views

Facetapi combined filter of city and zip code

I am using address field module with search api and facetapi modules. I want one filter of two fields, city and zip code. Which will be an autocomplete field. I have used the Search API Combined ...
Ahmad's user avatar
  • 2,845
0 votes
1 answer
70 views

How to update SOLR document?

This question is related to https://drupal.stackexchange.com/questions/193603/solr-views-flag-newly-flagged-users-do-not-appear-in-search-results Because previous question can be difficult to ...
Codium's user avatar
  • 4,953
1 vote
1 answer
118 views

Contextual filter on entity reference field in indexed view

I have two pages: jobs and offices. My jobs page is an indexed view (with Search API) which displays jobs that have an entity reference field to the office it belongs to. I want to put a link on my ...
Yassin Tahtah's user avatar
1 vote
0 answers
62 views

Get content type field value without entity

I have a exposed form and want to use my field "field_region" for the breadcrumbs. If a user now selects the exposed "field_region", my URL looks like "?q=news&field_region=2". Now I want to get ...
Max's user avatar
  • 11