All Questions
539 questions
2
votes
1
answer
826
views
apachesolr search form block that points to search page
I have a custom search page configured in apachesolr_search module which displays only products as results (bundle:product_display). I want to create a simple block that contains an input field for a ...
1
vote
2
answers
1k
views
How to retrieve Apache Solr's current search filters?
I'm using Apache Solr Search, Search API and Facet API.
Is there a way to retrieve the current search filters being used when using Apache Solr on Drupal?
For example: I have a website using facets ...
1
vote
2
answers
3k
views
Querying a web service via WDSL
I am thinking about creating a search engine frontend for a special use case using Drupal 7. There are some modules in the module directory, and questions like Consume SOAP web service in Drupal 7 on ...
4
votes
1
answer
4k
views
showing an image field from solr index on custom solr search page
I use the Apache Solr Views module to create a View that displays only items from a specific content type.
I would like to include an image as well on the view. I managed to get the images on my site ...
0
votes
1
answer
238
views
Search template suggestions from a module
I have created a custom search module that integrates with Drupal 7 Search Interface. My module is called history_search and in the module I have two files: history_search.module and history_search....
0
votes
1
answer
916
views
Drupal Apache solr does not return "no results founds"
I'm using Apache Solr 7.x-1.1 with Drupal. It was working fine but something happened and when I search for dummy data that I'm sure that is not found in my site, the search result will be all nodes ...
0
votes
0
answers
67
views
Searching users with taxonomy terms with search module
I have search set up with display suite to search user profiles and it works great for titles, bodies. However I have taxonomy terms attached to the profiles but when I put the taxonomy term in the ...
1
vote
3
answers
2k
views
Drupal 7 search through block content
This is my problem:
I used views module to create several blocks of one content type and displayed those blocks in one basic page. My client would like to have that page included in search results ...
-1
votes
1
answer
331
views
Change drupal search result count
Drupal search is giving 10 items per page. The number is hard coded in search core module. Is there any way to make it 15?. I am using drupal 6.
1
vote
2
answers
4k
views
Building an advanced multicriteria search
I'm kinda new to Drupal and I would like some advises.
I have a Drupal website, with a few nodes (1000 - 5000) of a particular content type, let's say a "House".
This "House" content type has a few ...
1
vote
3
answers
5k
views
Custom search box to be included in a view
I am using the search box provided from the Custom Search module. It works great. I want to know if there is any way by which i can include the search box in a view which i have created. Regards
PS: ...
1
vote
1
answer
951
views
Adjusting Apache Solr bias based on content length?
I have a site using the Apache Solr Search Integration module with a short-form content type that is getting weighted too highly in the Solr index. I've tried adding "Bias" to the other content types ...
14
votes
1
answer
12k
views
How to make search on all fields (title and tags as well as body)? [closed]
The built in search engine in Drupal 7 doesn't search on the title or tags fields, just on the body of the node. I need to be able to search on all fields.
What is the best module to install for this ...
0
votes
1
answer
744
views
How to implement a semantic search?
How can I add or implement a semantic search functionality in my site?
I have rdfx and schema.org modules in my site to add semantic data to my content so I need a way to add semantic search ...
0
votes
1
answer
231
views
Search template page in Drupal 7
In search results page,
the search form and search results are in the content area.
Can we insert another block between the search form and results list? Or adjust the order for example put "...
0
votes
1
answer
194
views
Choose a facet using the search form and then show filtered results
The requirement is that the user specifies a facet before they search. Here's what the search form should look like:
Adding the select list to the search form is a straight forward form_alter(). My ...
0
votes
1
answer
173
views
How to use websolr with Apache Solr module? (D7)
I´ve got a Drupal 7 site and I would like to use apache solr.
Is there any way to connect websolr to that module? Haven´t found any module to do that (ie. as the Acquia module).
Thanks!
0
votes
1
answer
145
views
How To Create a Remote Views Search Form - D7
I have overridden the default Drupal /search page with a panel view that is listing users. In this view, users can be filtered by gender, age, location, etc - and it's working quite well! I have ...
0
votes
1
answer
420
views
Apache solr search integration at live site
I have a Drupal site configured to use the Apache Solr module for searching. I developed it using a local server on my machine. This works fine once everything is indexed.
I need to make this live,...
3
votes
2
answers
6k
views
Modify apache solr search sort options?
Is there the ability through contrib module or hooks to modify how the apache solr sort block sorts queries?
Currently, it seems it supports these queries out of the box:
Relevancy
Title
Author
...
1
vote
2
answers
1k
views
Search through page titles?
Is the Search module supposed to search through the node/page titles, or just the node content?
Because, for me it is only searching through the content, and not the page titles.
Note: I am using ...
2
votes
0
answers
105
views
How can I change the title of the search results page?
I've done much searching on this issue and most, if not all, of the results refer to the html tag in the head. I'm not trying to change the head>title tag in the html, I'm trying to change body ...
2
votes
2
answers
1k
views
white-space and minimum length validation in custom search
I'm using custom search for my website. Now I wan't to validate user input before search like validate white-spaces (just enter space in search box and you'll find all things goes wrong).
For minimum ...
0
votes
1
answer
488
views
Hook to render all active Facet
Is there a possible hook or something else that can be written to display all the current active facet link i.e the selected facet. i want to display to the user in breadcrumb format all the facet ...
2
votes
2
answers
806
views
Making custom database text fields available for search
I have a custom module that stores text records in a table, however this table records are not mapped to nor an entity neither a node, so as far as I know, I can't expose them to the search module or ...
0
votes
3
answers
640
views
redirect multiple nodes on same page in core search results
I'm using drupal's core search module with pathauto module for URL aliasing. I have one testimonials page where different contents under testimonials category get display in this page. Now, in the ...
3
votes
3
answers
3k
views
Search index as custom view for taxonomy term with hierarchy. Showing all children results in term parent in taxonomy menu
Ok so title is pretty epic, but it goes like this:
Key elements: views, taxonomy_menu, taxonomy, search api, facets.
I created vocabulary "Products" (Drupal Commerce but I don't think it's important),...
3
votes
2
answers
1k
views
How do I activate Google Custom Search?
I've just installed the Google Custom Search Module.
I've activated the module and inserted the API. The search is is till not working.
Something I'm missing?
Note: I've realized I need the paid ...
2
votes
3
answers
7k
views
How to improve search results filtering on taxonomy
I would like to know the best way to filter drupal search results using taxonomy. I want users to be able to search for particular results from a particular taxonomy..this can be done to refine ...
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 ...
0
votes
0
answers
318
views
Partial searches through exposed filters in views
So this is an extension of a question I asked earlier today: Trouble setting up a search for a single field
To save you some reading, I have a client that wants to put a bunch of distributors in as a ...
1
vote
1
answer
66
views
Trouble setting up a search for a single field
I am trying to set up a search that will only search a single field of a single content type. I am currently using search api with database search server module. I set up the search to index only this ...
2
votes
4
answers
19k
views
How do I create a custom search block?
I want to add in my D7 installation a search field inside a special part of the page, and I don´t want to use the default search block (as it will be harder to theme, this box I have already worked on ...
0
votes
2
answers
786
views
How to rewrite paths delivered by solr search (to view instead of node)
How can i rewrite the path of results delivered by solr search? Or is it possible to configure it the way i need?
The content of that particular website is organized in views. I do not want users to ...
5
votes
1
answer
473
views
Search API Users filter on roles?
While I can filter on content types in Workflow / Data Alterations I do not see anything for roles when adding users. Is it somewhere else or is it something needs to be developed? If the latter, ...
0
votes
1
answer
37
views
Add arguments to core search
Is it possible to add arguments from $_GET to the core search?
For example:
search/term1/mystring
This search page should show results that have the "term1" term. Like views, but I've to add this ...
1
vote
1
answer
838
views
How can I edit the search form?
I have an OpenAtrium distribution installed on Drupal 6. As you may already know OpenAtrium already implements a search feature. What I'd like to do is change the following form:
by adding another ...
0
votes
3
answers
1k
views
'Flags: Node flag relationship' - Search Api - Solr - Views
Flag - 7.x-3.0-alpha4
Search API - 7.x-1.3
Solr search - 7.x-1.0-rc2+13-dev
Apache Solr - 3.5
I have Flag 3.x working fine in my Solr Views. I am able to flag/unflag correctly. Flag comes with a ...
1
vote
0
answers
116
views
Filter search results per user custom field
I would like my site to filter search results based on a Node-reference field of the currently-logged-in-user. I want to limit the search results to nodes that have the same Node-reference field. I am ...
1
vote
1
answer
277
views
Search node by Image Field and return image as result rather than the node
I want to be able to search for a an item in a multiple value field of a node and return the data of that specific value as the result.
I have a content type called 'Gallery'. 'Gallery' contains an ...
0
votes
1
answer
3k
views
change Your search yielded no results
I would like to set a custom message for my search using the core Drupal search module. Right now it says:
Your search yielded no results Check if your spelling is
correct. Remove quotes around ...
1
vote
1
answer
421
views
How do I add a more/less link in block?
How do I add a more/less link to drop-down and roll up a block?
I have a custom search block with a lot of field items and as such, the block is so long.
I want to be able to add a more link to drop ...
1
vote
2
answers
1k
views
Remove facets from breadcrumb
I'm using FacetAPI-SearchAPI and I notice that, on every view based on search api in the breadcrumb there is the "all items" link and, when I add a facet to the search, the facet value is added to the ...
1
vote
1
answer
277
views
Is the current faceted search effective for SEO?
Seems that the url generated by faceted items are not good for SEO (unfriendly to search engines) eg. I have a facet that transforms the url to this format : http://localhost/mysite/property-for-sale/...
1
vote
1
answer
943
views
Search Api Solr - Pointing term links inside a view to its facet
Using Search Api. Solr as a backened. Search pages built with Views. When adding a term field to a view, that term links to the core taxonomy term pages. That term should instead link to it's facet(...
4
votes
2
answers
4k
views
Search index in drupal7
I tried following methods for search index in drupal 7:
Click on re-index site.
Number of items to index per cron run is 100.
Save Configration.
Run Cron and check the items count left to index.
I ...
0
votes
1
answer
189
views
How do I show nodes/articles with specific taxonomy on a page?
Maybe the title is not appropriate, so please dont hesitate to change it or give suggestions for it.
Here's how our Drupal site is done:
A vocabulary called "PAA".
With this vocabulary there are ...
3
votes
2
answers
309
views
Distributed Solr Indexing from Drupal
I want a sharded Solr environment so that I can distribute data and query accordingly. Started two solr instances as described here.
Since Solr doesn't support (fully yet) writing automatically into ...
6
votes
1
answer
1k
views
How do i change the apachesolr index environment based on node values?
I have two apachesolr environment setup in my drupal instance. I want to index some nodes to one environment and some to the other, say based on some node values.
I could see that it always indexes ...
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 ...