Search

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
This group should probably have more organizers. See documentation on this recommendation.

Let's search! Sure core search is used on lots of sites, but it is no longer the only option, nor the best. This group is now open for all search discussions. Apache Solr, Search API, and more.

drunken monkey's picture

Improving the Search API

As some of you might know, in last year's GSoC I created the Search API module, which has already gained some fame since then. It's a highly flexible search solution for Drupal 7, already coming with support for Views and facetted searches out-of-the-box, amongst other things.
Still, like all software, it isn't perfect and there are still a number of known shortcomings, as well as other potential for improvement. So for this Google Summer of Code, I propose to fix some of these shortcomings, and add some additional features.
The tasks I'd have in mind are the following (in order of importance):

The last two are of course the buffers for any remaining time at the end — even when I'm done with the others, there will always be numerous ways to improve tests and documentation.

Read more
iliya's picture

How to put found number of pages on top of search results page?

Hello! I'm using D6 and i'd like to be able to do that via a module or a theme.
Thank you.

Read more
Ravi.J's picture

ApacheSolr Views Handlers (Proposal for new project)

ApacheSolr Views has been emerging as a very popular module that compliments core search & Apachesolr modules when site owners want more granular control on what data surfaces for in search requests.

There have been many requests for plugins on ApacheSolr Views module, These requests are result of limited filters that come by default with ApacheSolr Views.

Examples of some of the requests include providing support to Organic Groups,
og (organic groups) argument and filter
Node sticky

Read more
jhodgdon's picture

Search in Drupal 8

I wrote a page a while back (occaisionally updated) with ideas for the core Search module in Drupal 8:
http://drupal.org/node/717654
(plus there is the issue queue)

There's also the new Search API project, which makes some strides towards modularizing Search:
http://drupal.org/project/search_api

What I'd like to do here is to start a discussion about what the community thinks the Search module should be for D8. Add your comments here...

[EDIT March 15 2010: added file attachment]

Read more
quazardous's picture

Extended search page

Hi,

I ve coded a couple of modules based on search api.
The goal is to provide a page like the default "Find content" but on top of scalable technology for sites with huge amounts of nodes.

Extended Search Page
Create custom search page with index filters.
So this module support solr and mysql through Search API and uses entity metadata to discover objects fields.

Extended Search Admin
Replace the default content admin overview with an extended search page.

I ve tested the module against a solr index : that does the job !

Read more
sifuhall's picture

Optimizing my site (any advice appreciated)

I recently converted a somewhat big site to Drupal 6.

We currently have:
~13,000 registered users, usually anywhere from 50 - 100 online at a time.
~23,000 nodes
~380,000 comments

I'm running on a VPS with 4gb ram, 200 gb disk space.

I have drupal page compression enabled, optimize css and js enabled.

My host has installed xcache for me.

I really love the drupal framework but my users are very displeased at my current speeds.

Some of the complaints I have received are:

"Speed- slooooooooooow. Agonizingly slooooooooow. 20+ seconds per click."

Read more
sifuhall's picture

Just cannot get search_index to populate

I really need help from someone that understands how the search_index is built.

I imported a very large IP.Board site (~13,000 users, ~24,000 topics, ~380,000 posts) and the import went well.

Users are able to log in, read and post topics, read and post replies, etc and I'm so happy to be using Drupal.

However, I noticed my cron was stuck.

I researched that and found that most people say if you disable the search index cron will run so I tried it and sure enough cron runs great without search enabled.

Read more
picxelplay's picture

Comparison of search result options

We use different search solutions on a variety of our drupal sites. Some use Solr, some use core, some use Lucene, and some use Google search.

Half of me thinks that search should be "in house" and half of me thinks using outside sources like google for searching is the way to go. I know there is really "no one size fits all", and no "the only right way" but I want to pick one side and go with it.

One advantage of using search in house is you have complete control over how the search results look. But it also uses more resources.

Read more
nicholas.alipaz's picture

Searching within a "thread" or node/comments

Anyone have any ideas on searching within a topic? Best example I can think of is phpBB3:

http://www.phpbb.com/community/viewtopic.php?f=46&t=2029415

notice the search box just above the first post that reads, "Search this topic..."

I think that this would really be a useful feature for forums and blogs, and any multipage node or comment list for that matter. Simply being able to specify the nid of the content to search within might do the trick, but I don't know whether Drupal core search will accept that as an argument.

Read more
robertDouglass's picture

Search API module is a home run, congratulations Thomas.

I can tell by the usage statistics that you haven't tried the Search API module yet! Run, don't walk, to the download page and give it a go. You'll have to pick yourself up a copy of the Entity module as well, but then you're all set.

Read more
robertDouglass's picture

Solr Next Gen - the 7.x-2.x refactoring

We've learned a lot about Solr and Drupal in the past three years. Much is possible with the current ApacheSolr module, but some things aren't possible, and many things aren't easy. There are quirks and limitations that reflect early design decisions which we now could solve better. To move forward and make the future a better place for Solr and Drupal, a new effort is beginning to redesign the integration from the ground up.

These are some of the high level design goals:

  • Study the PECL library, learn from it, and possibly use it: http://pecl.php.net/package/solr
  • Develop a query library that has improved developer usability; for example http://github.com/technosophos/SolrAPI/blob/master/solrapi.inc
  • Develop (with) components that are not Drupal specific so that other open source projects can use them (see above two points)
  • Take advantage of cool things like the Search API, where it makes sense: http://drupal.org/project/search_api
  • Learn from efforts like Searchlight and enable them to build on shared core components: http://drupal.org/project/searchlight
  • Remove node centricity, embrace the Entity API in Drupal-7, and rely on Views for as much as possible
  • Make indexing more flexible and faster
  • Decentralize the module structure so that more contributors can become involved in more projects
  • Allow Solr to be used in more contexts than traditional search (faceted browsing, for example)

Matt Butcher will be coordinating initial planning and research, and together with input from you, will draft architecture documents to get us from where we are today to the bright and shiny future.

The project will use this group as its home. There is now a new tab/page, "Solr Next Gen", as well as a tag that you can subscribe to, so that we can track discussions. Development will happen in the 7.x-2.x branch of the apachesolr module.

Now is a good time to elaborate on the list of design goals that you'd like to see in the new architecture by commenting here.

Read more
EvanDonovan's picture

Theming Apache Solr Module (& Apache Solr Views) to Be Similar to Faceted Search Module

My organization loves the interface that the Faceted Search module provides. However, we are trying to transition away from the module to use Apache Solr since Faceted Search is so taxing on the database.

We have pages that have custom Faceted Search environments on them that display the taxonomy facets, and a count of how many nodes there are for each taxonomy term. See an example at http://www.urbanministry.org/volunteer/volunteer-search. (The page takes a while to load; that's the main reason we'd like to switch.)

Read more
drunken monkey's picture

Discussion about the structure of the new Search API

Since I've virtually flooded this group with my topics in the last weeks, most regular Search group readers will probably be aware that I'm (in the course of the GSoC) planning to create a new Search API. Now, since an API is pretty much useless without anyone actually using it, there of course should be a discussion involving all "stakeholders" on where this should go, prior to any coding.
This is said discussion.

Read more

Creating a generic Search API

Project information

Project page on drupal.org: Search API
Student: Thomas Seidl (drunken monkey on d.o)
Mentor: Robert Douglass (robertDouglass)

Current status: (official) project finished
For further development see the discussion and the issue queue.

Read more
jhodgdon's picture

Core Drupal Search Architecture for D8

Today at DrupalCon San Francisco, 11 of us gathered to discuss what the ideal architecture would be for Search in Drupal Core. Present were maintainers/users of core Search, various contrib search modules, Lucene, and Solr:
http://drupal.org/user/153120 - janusman
http://drupal.org/user/277371 - awolfey
http://drupal.org/user/29191 - douggreen
http://drupal.org/user/266779 - cpliaka
http://drupal.org/user/472460 - jpmckinney
http://drupal.org/user/10297 - unexpand
http://drupal.org/user/733232 - nihiliad
http://drupal.org/user/49851 - pwolanin

Read more
Katrina B's picture

Need custom search results for only one content type

I am in the final stages of building a Drupal/ProsePoint site for a small daily newspaper. We are using the Feeds module to bring in our daily Classifieds, which populate as individual nodes. I found a way to create a custom search block for Classifieds -- http://drupal.org/node/141788 -- so that users can search only Classifieds and not the entire site.

Read more
Anonymous's picture

Solr + maps

Hi,

Has anyone managed to display the output of a solr search on a map? Using either gmap, openlayers, etc.

Also has anyone got spatial search / local search working with UK postcodes?

Been trying for a week now with no success - can get core drupal search + facets working with proximity and map output but solr is so much better!

TIA

Read more
drunken monkey's picture

Creating a generic Search API

The goal of this project is to build a generic Search API that will on the one hand abstract from the data source (using the entity_metadata module) — thus allowing all kinds of entities to be as easily indexed and searched as nodes —, and from the indexer / search engine on the other hand, making concrete implementations like Solr, Lucene, Xapian, … implement only the specific details and thereby eliminating unnecessary code duplication.
Also the gathered metadata and the search engine interface could be used to create a generic Views integration for all searches, thus letting all supported searches display their results as a configurable view.
The planned overall design is sketched in the attached diagram.

Read more
yin's picture

Questions about choosing the right faceted search setup

Hi:

I am a relative newbie and have been reading up on the different types of search available to Drupal. I am most interested in faceted search for my particular needs. Solr seems great but,as a startup, I have a tight budget so I'm trying to decide between the Lucene API Module or the Faceted Search Module, both of which also seem great, but I have a few questions....

Read more
Subscribe with RSS Syndicate content