| /[drupal]/contributions/modules/apachesolr/apachesolr.module |
Parent Directory
|
Revision Log
|
Revision Graph
| Links to HEAD: | (view) (download) (as text) (annotate) |
| Sticky Tag: |
#642602 by robertDouglass, change 'content type' to 'content_type' in facet definitions.
#641452 by robertDouglass, prevent admin from trying to re-index when in read-only mode.
#641452 by robertDouglass, prevent admin from trying to re-index when in read-only mode.
#372767 by socki, robertDouglass, allow MLT blocks to be filtered by type and custom filters.
Followup to #372336 which allows for ascending or descending facet sorting.
#372336 by der, janusman, robertDouglass, allow name sorting of facet links.
#611670 by pwolanin, allow modules to abort the building of documents for indexing.
#628080 by pwolanin, update to use Solr PHP library r22 and check for it in hook_requirements.
#638236 by mkalkbrenner and robertDouglass, undocumented dependency on taxonomy module.
Followup to #622120, more Show more links fixage.
#628080 by pwolanin, update to use Solr PHP library r22 and check for it in hook_requirements.
#608014 by stevepurkiss fix PHP warning.
#576040 by robertDouglass, Use Drush to download the SolrPhpClient: drush solr phpclient.
#612024 by pwolanin, Add method to allow requests to additional Solr servelets.
#622120 by robertDouglass make the "Show more" block selection dynamic to accommodate other modules.
#615126 by robertDouglass backport Drush support to DRUPAL-6--1
#612024 by pwolanin, Add method to allow requests to additional Solr servelets
#612024 by pwolanin, Add method to allow requests to additional Solr servelets
#611670 by pwolanin, Allow modules to abort the building of documents for indexing.
#610656 by pwolanin, Don't request facets for non-enabled modules.
#561082 by pwolanin, consolidate Solr delete queries on cron.
#580404 by pwolanin, allow per-node-type comment exclusion.
#611670 by pwolanin, Allow modules to abort the building of documents for indexing.
#610656 by pwolanin, Don't request facets for non-enabled modules.
#561082 by pwolanin, consolidate Solr delete queries on cron.
#580404 by pwolanin per content type comment exclusion.
#561082 by pwolanin, consolidate Solr delete queries on cron.
roll-back #551582
#580404 by pwolanin, allow per-node-type comment exclusion.
feature #551582 by claudiu.cristea: Show value instead of key in CCK facets. Solving an inconsitency of "indexer_callback"
feature #551582 by claudiu.cristea: Show value instead of key in CCK facets. Solving an inconsitency of "indexer_callback"
feature #551582 by claudiu.cristea: Show value instead of key in CCK facets.
feature #551582 by claudiu.cristea: Show value instead of key in CCK facets.
feature #551582 by claudiu.cristea: Show value instead of key in CCK facets
#591278 by robertDouglass fix bug that was preventing hook_apachesolr_modify_query from working correctly.
#337583, node deletes fail (wrong id field) by pwolanin, 5.x-1.x backport by zoo33
task #557152 by claudiu.cristea: Backporting 6.x-1.x to 5.x-2.x.
#580764 by robertDouglass add a new contrib module that allows searching on just comments.
#548160 by robertDouglass get rid of underscore functions. Lecture: private functions are methods of classes that are marked private. Anything else is not private. Functions beginning with underscores should be banned from Drupal.
#538636 by robertDouglass allow modules to register document handlers so that multiple documents can be indexed per entity. For example now we can index a node and its comments separately. Each comment would be its own document.
#538636 removing apachesolr_add_node_document, centralizing node_load, and letting document builders return the documents directly instead of passing a reference to an array.
#557382 by Josh Waihi, Scott Reynolds mlt blocks were double encoding titles.
#557382 by Josh Waihi, Scott Reynolds mlt blocks were double encoding titles.
#552152 by robertDouglass OR operator for facet blocks.
Followup to #573038 to get all widget types for node and user references.
#573038 Automatically create facets for user and node reference CCK fields.
#570476 by robertDouglass add initial Drush support with commands drush solr delete index and drush solr reindex. #570476 by robertDouglass allow for deleting or reindexing single content types.
#551620 followup: module name was hardcoded.
#456420 by anarchivist, janusman, robertDouglass Reindex using Batch API.
#551582 by robertDouglass - still fixing the relationship between CCK, breadcrumbs, facets etc.
remove a bit of outdated and confusing documentation
#551620 by robertDouglass followup patch that refactors the visibility code into a reusable function.
#551510 by Scott Reynolds Add in ability to theme different facet blocks differently.
#551620 by robertDouglass Type dependent facet blocks.
#551582 by robertDouglass make CCK breadcrumbs, facets, and current search show the value, not the key.
#551278 by robertDouglass CCK mappings don't respect shared fields
#535654 by drunken monkey Add apachesolr_server_status() function
#502976 by Scott Reynolds followup to Other GET parameters ignored by Apache Solr Facet Blocks
#502976 by Scott Reynolds followup to Other GET parameters ignored by Apache Solr Facet Blocks
Followup to #545094 adding getter and setter to the interface.
#525980 by robertDouglass Clarify the API of apachesolr_index_updated
#528596 Add checkboxes to facet and unclick links to make usage clearer, pt. 2 - admin config options.
#528596 part 1 by robertDouglass add JS enabled checkboxes to facet and unclick links
#528516 by robertDouglass add apachesolr-facet and apachesolr-unclick CSS classes to unclick and facet links.
#525918 by robertDouglass more forceful redindex; apachesolr_search_node table now completely rebuilt upon redindex.
#528278 by bonobo clarify help texts
#528278 by bonobo clarify help texts
#525918 by robertDouglass be more forecfull when reindexing; completely rebuild the apachesolr_search_node table.
#528516 by robertDouglass add apachesolr-unclick and apachesolr-facet classes to unclick and facet links.
#515682 by robertDouglass, add confirmation form to re-index button.
#515682 by robertDouglass, add confirmation form to re-index button.
#508016 UI cleanup - type case and wording changes only.
#502976 by pwolanin, Scott Reynolds, robertDouglass facet links and form submissions respect non ApacheSolr $_GET parameters.
#507708 by pwolanin, fix sort parameters to use field aliases, validate in query object.
#299539 by kleung11 and pwolanin, use 'administer search' for permission checking.
#503644 by pwolanin and Jeremy, make sure we strip ctrl chars last, add logging.
Clean up whitespace.
#472600 by janusman, JacobSingh, and pwolanin, optionally hijack taxonomy pages.
sync with DRUPAL-6--1
#496650 by mkalkbrenner, make unclick links work after #463900.
463900 by pwolanin and JacobSingh, facet theme function clean-up.
#489654 by JacobSingh, and pwolanin, allow users to set their index as 'read only'.
#480814 follow-up to add nl2br()
#480814 follow-up to use check_plain, skip 403 and 404
#481838 by JacobSingh and pwolanin, enable plus sign in search when using clean URLs
#466328 by pwolanin, fix classes for sort links.
#461506 by pwolanin, do nothing if there are no nodes to index.
#453338 by pwolanin and JacobSingh, move mlt functionality into the framework module.
#365495 by pwolanin, improve admin screens and usability of field weights.
#448298 by JacobSingh and pwolanin, use a confirm form for index deletion.
#454352 by Damien Tournoud, make optimize interval configurable, document variables.
sync HEAD with 6.x
sync HEAD with 6.x
#435924 by pwolanin, only clear cache on cron after updates and if the server is available.
#405780 by blackdog and pwolanin, skip excluded node types during counting and indexing.
#271753 by pwolanin, more granular CCK field mappings via _alter hook.
#436074 by pwolanin, better query class handling of negative queries.
#442198 by Scott Reynolds and pwolanin, update the Drupal_Solr_Query_Interface interface.
#337737 by David Lesieur, mikejoconnor and Scott Reynolds, localize arg(1) dependence.
Changes query get_path() to facilitate generating facets outside the search page.
#432946 need a char before 0 not after for correct ordering
#432946 by pwolanin, query class and sort cleanups.
#254565 - clean up to restore cloning of current query
#393480 by pwolanin and Jody Lynn, provide a book facet and facets for missing fields.
#432140 by Damien Tournoud, use format_interval() for more attractive, localizable time intervals.
#348029 by pwolanin, Handle negative filters and improve date facet block code.
#254565 by drunken monkey and Scott Reynolds, change the query class to enable Views integration.
#336157 by pwolanin, flobruit: CCK field indexing broken
#293989 by bjaspan and vladimir.dolgopolov, add date facets for created and changed dates.
#420290 by mkalkbrenner and pwolanin, add spaces around tags to avoid running words together.
#383478 by pwolanin and JacobSingh, provide more information about autocommit lag, pending deletes.
#403374
sync with branch
#305370 by pwolanin, Handle failed delete requests so unpublished/deleted content doesn't stay in the index
#407570 by pwolanin and moshe weitzman, _alter for sort links, hide for < 2 results
#401442 by Janusman and pwolanin, no sort block when 0 results
#405722 by JacobSingh, increase ping timeout and make it variable
#305370 by pwolanin, don't delete from apachesolr table if Solr query fails.
#385348 by moshe weitzman, use key in sort links array.
#385362 by pwolanin, Shorten hash from 32 chars to 12.
#378566 by pwolanin, nodeaccess not correctly marking single nodes for re-indexing
#337879 by pwolanin and blackdog, Store relative not absolute paths.
#376255 by pwolanin, Index more node fields, use boolean fields.
Changed luke to not request the top terms because it is very slow on large indexes
#370707 by pwolanin, make sort field names consistent, make ignored multiValued
#371858 by pwolanin, re-fill the Luke cache after we empty it on cron
#370707 compact field names, create "order by" fields in schema.xml
by pwolanin and Damien Tournoud
#370796 avoid repeated looping/indexing in apachesolr_index_nodes() by Damien Tournoud
#366959 make usage of solrsor consistent in Solr_Base_Query::solrsort by Damien Tournoud
#369780 rearrange code for slightly better organization and performance.
Completely anal whitespace adjustment
#365901 Fix bug where indexing might hang & improved API by adding a separate
hook for modules to indicate that a node is excluded, by pwolanin.
#368247 don't add documents twice, patch by hurleyit
#365901 Add a bias on node type (and node-type exclusion) by Damien Tournoud and pwolanin
synch HEAD with 6.x
#349840 roll-back
#349840redirect message (when Solr fails) should be hidden from end users by David_Rothstein
363972 fix ApacheSolr to Apache Solr
#363972 Text improvements for UI by horncologne and pwolanin
#365022 fatal error in MLT when no Solr server
#364446 fix space problem and clean up query class
#339467 centralize/register facets blocks by paul.lovvik, JacobSingh and me (pwolanin)
#350330 make sure to index dates as GMT, thanks to webrascal
#363416 reindex without blowing away either the solr index or the core search index
#360227 strip ctl chars() also on path, reported by flexer
#348215 cleanup - simplify branching, numerically index array
#359923 separate cron limit for apachesolr
#292662 commit after we delete the index
#348215 by vladimir.dolgopolov: More link for additional facets.
#355544 Add a ->clearCache(); in apachesolr_index_page(), by flexer and me
#292662 move to using autoCommit
#352430
#350330 initial fix for date problems
#348150 by pwolanin, JacobSingh: Added modify_query call inside mlt. Moved $fq building stuff to apachesolr.module
#323015 rework weighting
#323015 make vocab names into valid PHP identifiers
#293989 by vladimir.dolgopolov: changed date stored in ISO format
#348150 fix nodeacess and improve query factory
#345607 fix for hook_user by Scott Reynolds
Fixed a couple of conflicts which were checked in
#323015 rework weighting and configuration
#323015 fix form and sorting bugs
#323015 don't boost a tags by default
#323015 use dismax qf to date bias results
#323015 use the dismax query handler for lots of new goodness
#342925 fix block caching especially for anonymous users
#342728 fix problems with control chars during indexing
#340222 fix cck indexing
#258626 close XSS hole
#258626 close XSS hole
#341430 add back namespace support for tracking indexing
#340222 use better namespaces w/ dynamic fields
#340813 change logic in form alter to fix regression
#339776 refactor more code for reuse
#339776 refactor more code for reuse
#339776 refactor code for reuse
#339035 show more information on the index page
#337896 Rewrite search indexing, add status field
#337583 add document id for robust indexing/deletes
#337583 make nodes deletes work
#337376 minor fix to apachesolr_get_solr() plus code-style cleanup
#336157 fix CCK indexing
#336136 inital fix for CCK blocks
#3361182 rm unused function, don't need =& with PHP5 objects
#3361182 fix path, additional API cleanup
Major overhaul of APIs. Primarilly, we moved the get_fields_in_index to a new class Drupal_Apache_Solr_Service which extends the old Service class. This makes a lot more sense, but is almost certain to break many contrib modules, etc. Since we are working towards a 1.0 release, there is probably additional refactoring to consider, so please try to write tests, and forgive us as we make this a more extendable platform.
#334402 Add variables to factory functions to allow class overrides by me
Fixing redundant 'Filter by' text in some blocks
Fixing redundant 'Filter by' text in some blocks
added error handling for luke request
#327784 by pwolanin - surpress error when server not available
Multisite search and block refactoring for Drupal 5
#327784 by pwolanin supress errors on settings page
Multisite search. With this new ApacheSolr extension module it is now possible to search many Drupal sites at once. The different sites appear as facets so you can filter by site. Sorting, author name, type, term name, author name facets all work on multisite search. This commit represents a significant refactoring of the block and facet system, the addition of a couple new hooks, and lots of minor corrections throughout hte module.
Repair regression introduced in commit 149404.
Repair regression introduced in commit 149404.
Fixing a pretty serious looping issue that was probably slowing down indexing significantly.
Fixing a pretty serious looping issue that was probably slowing down indexing significantly.
Unifying communication with Luke handler. Using wt=json instead of XML/XPath. No longer guaranteed to work with Solr 1.2 (see project page for notes on this decision)
Unifying communication with Luke handler. Using wt=json instead of XML/XPath. No longer guaranteed to work with Solr 1.2 (see project page for notes on this decision)
#230375 More like this module for D6
#304388 Updated SolrPhpClient library.
YAY: Content recommendation based on the Solr search index. Introducing the new apachesolr More Like This module by Mike J. O'Connor. Add an arbitrary number of blocks that recommend content related to the current node based on configurable parameters. For example, make a block that recommends based on title. Then make another block that recommends based on author+taxonomy terms. This commit pertains to #304388 and #230375
#270692 by Senpai, drunken monkey, JacobSingh: fix pass-by-reference error in hook invocation.
#270692 by Senpai, drunken monkey, JacobSingh: fix pass-by-reference error in hook invocation.
#285750 by kills: wrong test on form_alter
#285750 by kills: wrong test on form_alter
#301853 by JacobSingh and robertDouglass: check and see if Solr instance is available on settings page for usability improvement.
#301853 by JacobSingh and robertDouglass: check and see if Solr instance is available on settings page for usability improvement.
#307859 by gestaltware and robertDouglass. Menu local tasks for conf page.
#307859 by gestaltware. Menu local tasks for conf page.
#302378 by gestaltware, JacobSingh: fix update query.
#302378 by gestaltware, JacobSingh: fix update query.
#270604 by pahariwalla: Clicking facet link destroys sort
#270604 by pahariwalla: Clicking facet link destroys sort
#230412 by janusman, robertDouglass: Real hierarchical taxonomy in the index
#230412 by janusman, robertDouglass: Real hierarchical taxonomy in the index
#284759 by JacobSingh: reset node_load cache to avoid out of memory errors.
#284759 by JacobSingh: reset node_load cache to avoid out of memory errors.
#291021 by febbraro: foreach() error when no documents to index + better chunking syntax
#291021 by febbraro: foreach() error when no documents to index + better chunking syntax
#267833 by pahariwalla: Admin configuration for behavior if Solr searcher is not available, including redirect to core search.
#267833 by pahariwalla: Admin configuration for behavior if Solr searcher is not available, including redirect to core search.
#247631 by janusman: send result total into search result theme function.
#247631 by janusman: send result total into search result theme function.
Author facet block shouldn't appear if no facets to be shown.
Author facet block shouldn't appear if no facets to be shown.
#306871 by jaydub: proper handling of -1 (unlimited) facet limit.
#306871 by jaydub: proper handling of -1 (unlimited) facet limit.
#306230 by robertDouglass, janusman: fix sorting by title
#306230 by robertDouglass, janusman: fix sorting by title
Synced with DRUPAL-6 branch. "delete" <--> "clear".
Synced with DRUPAL-5 branch. "delete" instead of "clear", some t()s and some extra spaces.
#288506 partial fix: separate title and body with space.
#288506 partial fix: separate title and body with space.
#271319 by Senpai and drunken monkey: add form to delete contents of index.
#271319 by Senpai and drunken monkey: add form to delete contents of index.
#298687 by mikejoconnor: add dynamic float fields to schema
#298687 by mikejoconnor: add dynamic float fields to schema
#299539 by kleung11: Access Control set to use "administer search"
* Missed a small code style error.
* Restored line from earlier version; 6--1 branch has an error
* Synced with DRUPAL--6-1
Merged version of the module.
typo in hook_theme prevented usernames to be themed in the breadcrumb
#264742 by drunken monkey, robertDouglass; facet filter on language
Changing some strings to texts in schema.xml. Adding path aliases to text and adding a path field to schema.xml
Changing some strings to texts in schema.xml. Adding path aliases to text and adding a path field to schema.xml
- Only one form setting per block for facet limits. - Validation on block form now works. - f.fieldname.facet.limit syntax. - facet.field dynamically generated from block list. - using individual dynamic fields for each vocabulary for accurate facet counts. - fixed bug in author facets that excluded Anonymous from facet list. Note: You will have to reconfigure your facet blocks after this update.
- Only one form setting per block for facet limits. - Validation on block form now works. - f.fieldname.facet.limit syntax. - facet.field dynamically generated from block list. - using individual dynamic fields for each vocabulary for accurate facet counts. - fixed bug in author facets that excluded Anonymous from facet list. Note: You will have to reconfigure your facet blocks after this update.
Part of a first shot at a true Solr backend for Views. Doesn't work yet, but at least everything else seems to work fine. Added apachesolr_views_query class that will, once finished, replace views' query class in Solr's Views backend. What is already there should be working, some methods that need to be called when the view is built are missing. Also abstracted the Solr_Base_Query::get_breadcrumb() method somewhat so it doesn't only work on search pages.
Corrections for allowing facets on any page that just searched with Solr, not just search/%/%keys.
Porting of various patches from DRUPAL-6--1 branch. Patches by mattconnolly, robertDouglass and drunkenmonkey.