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.

aufumy's picture

Search api sprint

Start: 
2009-03-07 09:00 - 17:00 America/New_York
Event type: 
User group meeting

Abstract out the sql bits from the core search module into a separate sql search module.

http://drupal.org/node/282192

http://groups.drupal.org/node/13145

Provide the hooks that other search alternatives can plug into.

Read more
robertDouglass's picture

Help backport ApacheSolr D6 to D5

Hi Everyone,

Today I took a couple hours and attempted a backport of ApacheSolr D6 to D5. This will bring all of the cool features that D6 has to D5. The patch needs work. It doesn't yet work. If anyone has time to chip in and work on the indexing of nodes (currently not working) that'd be great. With a little momentum I think we can do the backport relatively quickly, after which keeping the two in sync will be much easier.

http://drupal.org/node/337735#comment-1240921

Read more
mallet's picture

replacing drupal 6 core search with views search

Hi all

I am trying to replace drupals core search with my own views search. the search in views work but only if you type its exact url would you see the views search. and this is where I am having hard time putting the two together.

I am using the function hook_menu_alter to replace the drupal core search with my views search path. heres the code thats on my custom module file:

<?php
function searchy_perm() {

return array('access searchy', 'administer searchy');

} // function searchy_perm

function searchy_menu_alter(&$callbacks) {

Read more
flexer's picture

Apache SOLR to index a HUGE forum

I'm quite busy trying to get the latest (dev) Apache_Solr module to work with our complex multi site setup and it all went fine, until we had to import an huge phpbb2 forum (28k topics, near 1 million comments - some topic has thousands of comments).

Now I'm puzzled: which route should I go through? Does anyone has succesfully implemented something like that?

From the top of my mind, I'd consider each comment as a separate document to feed SOLR with, with a rightly cooked "indexer" script that will extract them AND the topic, of course (first the topics, then the comments).

Read more
andremolnar's picture

g.d.o. Group Name Searching

Was just catching up on some sessions I missed in Szeged and watched:
http://www.archive.org/details/drupal_search

And it inspired me to find this group here on g.d.o. And while trying to find the group I got this amusing result:

Only local images are allowed.

Read more
T1TAN23@drupal.org's picture

OR Search Relevance Ranking

I need some help figuring out the best way to implement keyword relevance ranking in my search results set when conducting an OR search on node content. I have implemented a theme_search_form_alter to build a custom search_block_form and I have everything working with the exception of getting the results to rank properly based on keywords entered into the search_block_form.

Read more
Scott Reynolds's picture

N-Gram indexing?

So I have been tasked with solving the issue of stemming, mispellings, multilingual and partial matching for a site. I decided to create a quick prototype for n-gram indexing. (http://en.wikipedia.org/wiki/N-gram among other resources) . It is a relatively proven technique for these issues, but creates a larger index. So of course not sure if it is the best route in terms of performance, but I plan on running tests.

Read more
aufumy's picture

Washington DC Search talks

Is anybody going to give an apachesolr talk at Washington DC Drupalcon?
Earnest Berry, Robert Douglass, Chad Fennell, Doug Green, Michael Hess, Djun Kim, David Lesieur, Blake Luchessi, Jacob Singh, Thomas Seidl?

I will add a session on distributed search and apachesolr, but feel free to join, or run the session.

==============

Current list of proposed sessions on search at Washington DC Drupalcon as of Oct 31, 2008:
* Xapian Search (3 votes)

Read more
droople's picture

How do I use text input to search a taxonomy, in a custom search form?

I would like a custom search form with search "input form" to query a certain vocbulary.

I have looked at views, fastsearch, filter block

They are ok to use when you want a drop down, not a "text input". I have about 450 terms, from a vocabulary I want to be queried.

I believe a drop down would not be user friendly, also it would load as fast.

On my site, a directyory listing, the search form would be of this nature

|keyword| |location| |business type| Search Button

Read more
robertDouglass's picture

Test case for advanced search form

I've created a test case that tests the advanced search form. There are currently no other tests that do this. The patch needs review. Please jump in and give it some attention: http://drupal.org/node/308233

Read more
BlakeLucchesi's picture

Search Ranking Module

Hey everyone. I just finished up work on my Summer of Code project that was targetted at further developing the core search. During the course of the project I created a module for Drupal 6 that back ports DougGreen's hook_ranking() patch that made it into HEAD. The module uses hook_menu_alter() and some other work to override the core search implementation completely. This module also includes some other cool new things listed below. I'd like to get some feedback on the changes that have been made because I want to create some patches for the new features to be integrated into HEAD.

Read more
mfb's picture

Google, Yahoo & Microsoft search services

I now have Drupal modules for all the big-three dot.com search services, Google CSE, Yahoo BOSS and Microsoft Live. All three can integrate with the core search API as search tabs. Lots of features are still on the to-do list (more accurately, are waiting for feature requests to be filed) like adding advanced search options.

I setup a (temporary) demo of all three here.

Read more
nedjo's picture

Patch to pull core's custom search indexing into a separate backend

I've posted a first cut at a patch to refactor core search into a generic search module that accepts different backend handlers and a specific handler, core's custom indexing. It's a very basic patch--it just does the minimum to decouple the generic search interface from the backend.

The aim is to permit e.g. apachesolr and other search backends to plug in seamlessly to core search.

Ready for review: http://drupal.org/node/282192.

Read more
robertDouglass's picture

ApacheSolr Search and other 3rd party Drupal search options

This is a BoF discussion that is planned for August 24, 2008 at 16:30 - 17:45 as a part of the FrOSCon conference in Sankt Augustin, Germany.

  • What improvements have gone into Drupal search as a result of the Minnesota Search Sprint?
  • ApacheSolr demonstration
  • Xapian search and Drupal.org

Search is cool. Come talk about it.

Read more
robertDouglass's picture

Search session for Drupalcon Szeged

I've proposed and extended search session for Szeged. The timing of the session is important as a way to keep momentum going from the Minnesota Search Sprint and focus on what we can achieve in Drupal 7. It will also provide a chance for people to talk about alternatives to Drupal core, what core can do to support the growing number of 3rd-party solutions, and what core can learn from things like ApacheSolr.

http://szeged2008.drupalcon.org/sessions/drupal-search-where-are-we-wher...

Please vote if you like the session.

Read more
ducdebreme's picture

Multiple Stemmers seem to conflict

We have a multilingual website providing German, English, French and Italian content on a Drupal 5 instance.
We used to use Drupal's internal search and had many issues about terms that were not found. I found, that the problems might be solved using stemming.
So i installed stemmer for all the languages: porterstemmer, de_stemmer, ...

Read more
BlakeLucchesi's picture

Node Link Ranking Factor

Just wanted to let everyone know that I submitted a patch that allows you to rank nodes with more inbound links than other nodes higher in search results using the new ranking hook.

Take a look, give it a try, and please give feedback.

http://drupal.org/node/257216

Read more
Anonymous's picture

Improving Drupal's Search Speed Under Load Conditions

Trellon recently released the Xapian search module for Drupal. This replaces Drupal's standard search feature seamlessly (except for a core patch) with an interface to the Xapian search engine. There's a post about it over on Trellon.com.

Read more
Anonymous's picture

Xapian Search for Drupal - Metrics and Benchmarks

I posted some internal benchmarks from the Xapian module we are working on in the Trellon.com blog. This post describes the performance gains using Xapian can have and does some benchmarking on a really, really slow server.

Would love it if someone could verify those results. We are about to take the sample size of the data up to about 1mil nodes and repeat.

M

Read more

Some brainstorming notes from the sprint

Totally disorderly and mostly here for our own reference =)

  • Refactor node/user search implementations into own modules.
  • Control over the search interface.
  • Moving stuff between adv. search form and main search form and/or block.
  • Full search building interfaces. Create search environments; Each env. has own settings. eg. What content types are in search? What does the interface look like? Analog to building a view w/ fastsearch.
Read more
Subscribe with RSS Syndicate content

Search

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week