Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
2 votes
0 answers
357 views

Date filter GRANULARITY for Search API VIEWS

I am working on Search API view. There is a Date Exposed filter. The requirement is we have to filter based on Month-Year instead of Day-Month-Year. But there is no Granularity option to select for ...
Pankaj Sachdeva's user avatar
0 votes
1 answer
55 views

drupal http_request give solr parse exception

typing a WS uri into the navigator return the json correctly but the same adress in $url $result=drupal_http_request( $url ); var_dump($result->data); gives a parse exception Cannot parse '...
Matoeil's user avatar
  • 3,467
0 votes
1 answer
55 views

Help with SQL-query finding and updating uid's from non-existing users in comment table

I need help to make a SELECT from the drupal database. Two or three tables comment users node (maybe) I want to find all uid's in the comment table from former users but where the uid>0 in the ...
FOP-drupalist's user avatar
2 votes
1 answer
2k views

Show parent items in hierarchical facet display

Taxonomy terms are configured as such: Parent category 1 - Child category 1 - Child category 2 Parent category 2 - Child category 3 - Child category 4 "Empty facet behaviour" is set to "Do not ...
Pim's user avatar
  • 1,065
0 votes
1 answer
453 views

How do I rewrite a facet item label using facetAPI bonus?

I am looking at the code example provided by Facet API Bonus module in the section Rewrite facet items via callback function function HOOK_facet_items_alter(&$build, &$settings) { if ($...
drupalstrap's user avatar
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
1 vote
1 answer
242 views

Search the node using keyword

I have created a text box with button to search the node which has the key word given in text box. Is there any possible to search the node in Drupal 7 with custom search button and textbox which is ...
user3386779's user avatar
1 vote
0 answers
71 views

Views search terms - ignore short terms

I've got a view with an exposed search terms filter. Within general search settings, the "minimum word length to index" is set to 3. The problem is that any multiple-word search with a single word ...
nkanderson's user avatar
0 votes
1 answer
197 views

Combine two content types in one using search api views

I am using search api views for site search. I have 4 content types A, B, C and D. In the views filter when I expose a content type filter, it display as following on the search page All A B C D I ...
Ahmad's user avatar
  • 2,845
2 votes
1 answer
75 views

Search index stuck at 0%, mysql error on public search, can't clear error

I have just discovered that the Drupal 7 search on my website is giving 'website encountered an unexpected error. Please try again later.' to users who are not logged in. (it's fine for logged in ...
Victoria's user avatar
  • 315
2 votes
1 answer
2k views

How to expose filter for entity reference as dropdown in the Search API view?

In my Search API view, I'd like an Exposed filter > Entity reference to be a select box, not a text field. Details I have a view which I created like: Views > Add new view > Show: default node ...
100pic's user avatar
  • 1,287
0 votes
0 answers
384 views

Search API view in not returning all results for full text search

I have a search API indexed content view. Which uses full text search exposed filter. I have selected few taxonomy term names and other field in the full text search. But when I search for a term name,...
James's user avatar
  • 190
0 votes
1 answer
94 views

How to prevent the results from being truncated?

I want to remove the limit of character imposed from Drupal 7 on the search result page. That is, displaying my result in full rather than truncating the results and adding ... at the beginning and ...
Abdallah Boodhun's user avatar
2 votes
2 answers
3k views

Alter Search Results display

Currently when I search for something it displays the title of the node and if there is a match a small excerpt from either the content short summary or a small excerpt from the paragraph bundle. If ...
blu's user avatar
  • 458
-1 votes
1 answer
786 views

Facet-like contextual filters on View

I've created an overview to display jobs. All jobs are tagged with taxonomies "location" and "industry". I'd like to display contextual filters (with checkboxes) in a sidebar to filter the jobs. As ...
Pim's user avatar
  • 1,065
0 votes
1 answer
54 views

How to access personal contact form in search

Using Drupal 7. All of the people on my site have personal contact forms. When I type their name into the search bar, I get 'no results'. I need people to be able to find users' personal contact ...
indys's user avatar
  • 29
1 vote
1 answer
46 views

can we add two search form in single site?

I have a one search form which is used for all content type but i want another search form which is only for specific content type and show on specific page only. I have install the custom search ...
user avatar
1 vote
1 answer
172 views

how to add search box on specific page?

I need to show the search box on that page and specific search if sometime type related news then search result appear. I need only the search box for this content type.
user avatar
0 votes
1 answer
152 views

Tags for content type and search by this tags

i created a vocabulary called "Tags" and then a field on my content type using this vocabulary. I can create my content and add the tags, but then i search for the tags that im using and i get no ...
Fausto Sanchez's user avatar
1 vote
1 answer
1k views

Better Search Api Solr score sorting for strict word match in Drupal

Given the following configuration: A Search Api views page(connected with a Solr server) with a "Search: Fulltext search" exposed filter searching only on one "Full Text" aggregated field (Node Title)...
hugronaphor's user avatar
  • 1,472
0 votes
1 answer
2k views

How to view search API raw sql query

can we get the raw SQL query based on the search API views? Actually, the search result didn't return the result (sorting) in the way I need it to be done. An example I have a product name "Bicycle ...
cww's user avatar
  • 123
1 vote
1 answer
202 views

How to show Wordpress blog posts in Drupal's Search Api?

We have a blog site on Wordpress that we want displayed in our search without having to create Drupal nodes for each blog post. We using the following below and were interested in seeing how we can do ...
sf_admin819's user avatar
0 votes
1 answer
42 views

Search through a specific field - Drupal 7

Is it possible with Drupal to create a seperate search field to search in a custom field for a specific content type? For example I have a text field in a content type with the name keywords. I gave ...
hg96nl's user avatar
  • 67
1 vote
1 answer
402 views

Drupal 7 node body content missing from search results

I am having an issue where my Drupal 7 Search (Custom search installed and enabled) isn't returning all of the results I'd expect it to. Here is some background... I'm running Drupal 7 on this site....
Huginn's user avatar
  • 225
0 votes
0 answers
164 views

Advanced forum - search view

The advanced forum module has search implemented using a block. It works decently, however, when searching, it doesn't highlight the matched terms with some context, it just lists the matching threads....
NRaf's user avatar
  • 853
1 vote
1 answer
511 views

how do I sum a table column?

Is there a way to sum a numeric value and display it from a field column data in a table view format using search api? I have a DB server (not solr). I need facets. I've tried the following methods: ...
pinueve's user avatar
  • 1,578
0 votes
1 answer
114 views

How does apache solr search recognize my changes by mysql query in my database

I would like to use mysql query to modify some of my data. But I found that apache solr doesn't index all my changes. For example, I modified some products' category in the field_data_field_category ...
jmu's user avatar
  • 290
0 votes
1 answer
74 views

Question regarding SearchAPI and Index performance/scaling

I have a site that will need to deal with thousands of nodes. it's an internal site, not public facing, with a daily concurrent user base of no less than 80 and no more than 100 users. I am trying ...
Remog's user avatar
  • 561
1 vote
0 answers
21 views

How to show users list in content (view) or vice versa?

I want to show content as well as users in one view. I tried it by using entity reference and attaching 2 displays within a view, but no success. May be I am doing it wrong or it is not possible. I ...
Umair's user avatar
  • 441
1 vote
1 answer
257 views

How to add another entity type to Search API multiple types index?

I created a multiple types index using Search API. Now I would like to add another entity type to it, but it's not possible. Is there any solution? I really would like to avoid recreating the index.
Miloš Kroulík's user avatar
0 votes
0 answers
113 views

Multi-index search solution idea with autocomplete

For sometime I have been looking for a complete solution for search capabilities in drupal 7, but there is always some problem. With all the greatness and flexibility of drupal, I have to say that ...
Umair's user avatar
  • 441
1 vote
1 answer
139 views

Apachesolr sort based on nodeviewcount

I need to provide the option for sorting on the basis of nodeviewcount. The criteria is that if any text is provided for search, the search results will be displayed according to maximum number of ...
Shubham Saurav's user avatar
0 votes
1 answer
688 views

apache solr error: HTTP 500; /usr/local/solr/example/solr/data/index/segments_15qc (Permission denied)

I just noticed that my website apache solr doesn't work any more, but I didn't touch my website for a while. When I tried to delete my solr index, I got this error message: HTTP 500; /usr/local/...
jmu's user avatar
  • 290
-1 votes
3 answers
3k views

How to execute SQL query?

I have a text in $text, I need to do select 'nid' from 'node' where 'title'=$text later I need to do this select 'column_name' from 'table_name' where entity_id = nid then I need to print the ...
ana's user avatar
  • 143
0 votes
1 answer
28 views

Search for page title

I want to search for page name. I have a title of page news and events. if i search event. i want news and event page will come on search results. when i click on that news-events page will open. ...
Ankita Kashyap's user avatar
1 vote
1 answer
192 views

Why is the replacement not happening when using the Search and Replace Scanner module? [closed]

I am using Search and Replace Scanner module to perform replacement of links in my website. When I run this module, It says replacement successful and 250 fields are replaced. My site includes ...
Suraj's user avatar
  • 884
0 votes
1 answer
161 views

Where to place sar module? [closed]

I want to replace some of the links which I am using in my website, i came to know there is a module called Drush Search & Replace. I have installed also to use this module. But I am not getting ...
Suraj's user avatar
  • 884
0 votes
1 answer
23 views

How to make users default in searches?

When a user tries to search for another user, the search returns no result, however, when it searches for a node e.g article, questions etc it returns a matching value immediately with search ...
Umair's user avatar
  • 441
1 vote
0 answers
176 views

How to add flag relationship in search index views? [closed]

Is there anyway to link search index views to flag module? I want to use UID in relationship of views.
Hamed's user avatar
  • 319
1 vote
1 answer
147 views

How to enable highlighted search functionality?

I want to enable search functionality such that: I have one word say "school" in my website and if I put "sc" word in search box, then search result should give "school" word with "sc" word ...
maithilidhume's user avatar
1 vote
0 answers
65 views

Drupal Solr not working with numerical search terms

So this is quite a strange one: I have a site hooked up to a Solr instance through Search API. All seems to work fine, apart from a few edge-case issues surrounding searching for content containing ...
Adam Thomason's user avatar
0 votes
2 answers
777 views

Display an image search api page result

I'm trying to display an image on the search api page result. I tried the following way: Displaying Images in Search Results, but I'm getting a "Notice: Undefined index: node...template.php" error. ...
Hicham's user avatar
  • 57
0 votes
1 answer
257 views

How do I auto-reset exposed filters?

I am using views along with solr search api to display search results. Within results I need to add filters so I have used views exposed filter for the indexed fields. Now that I have exposed filter I ...
AnAnD's user avatar
  • 616
1 vote
1 answer
142 views

Where are the result and facet summaries for a search api view?

I had a solr search api search view all set up and working with the results showing properly, and an area at the top showing how many results had been found and what facets were applied with little ...
UltraBob's user avatar
  • 1,339
0 votes
1 answer
165 views

how to retrieve data for apache solr

I am using apache solr 3.x . Right now, I mixed the data from my two websites into one solr by mistake. I set one solr on the first website server and set another website's Apache Solr search to link ...
jmu's user avatar
  • 290
1 vote
1 answer
567 views

multiple sites use one apache solr server

I am a beginner of using Apache Solr. I made a mistake two weeks ago. I link two of my sites to one Apache Solr server. One is dev site, another is live site. There are some different data between ...
jmu's user avatar
  • 290
4 votes
1 answer
3k views

How to sort view search results by giving custom relevance weights?

I am using Drupal 7.43 and core search module. I use "Search: Search Terms" for filter criteria and "Search:Score" Sorting criteria in my view to sort my results according to relevance. But, for ...
Eralp Şahin's user avatar
1 vote
0 answers
90 views

Content type biasing in Apache solr module for single content type

I am working on displaying the search result using solr search and apache solr module in D7. I have few content types let's say Article, Blog, Video, News, Story, Page etc. I have given weight to ...
Sunil Singh's user avatar
0 votes
1 answer
45 views

Commerce Product is not visible for anonymous user in search result

I am using apachesolr, apachesolr_commerce, apachesolr_autocomplete for search functionality in drupal 7. Commerce Product is not visible for anonymous user in search result but when loggedin Commerce ...
Alok Jain's user avatar
  • 131
3 votes
2 answers
377 views

Search API path make SEO friendly

I am using Search API. I make a view of all the indexed entities and uses Taxonomy term as Contextual Filter. But the path of view is not SEO friendly. The path is like http://www.example.com/en/Real%...
Pankaj Sachdeva's user avatar

1
2
3 4 5
11