| /[drupal]/contributions/modules/apachesolr/apachesolr_search.module |
Parent Directory
|
Revision Log
|
Revision Graph
| Links to HEAD: | (view) (download) (as text) (annotate) |
| Sticky Tag: |
Rolling back #612520
#612520 by robertDouglass, pwolanin, Pasqualle, make type facet text translatable.
#642602 by robertDouglass, change 'content type' to 'content_type' in facet definitions.
Followup to #372336 which allows for ascending or descending facet sorting.
#638572 by robertDouglass fix taxonomy facet sorting.
#372336 by der, janusman, robertDouglass, allow name sorting of facet links.
#562458 by janusman, fix typo preventing menu_rebuild regarding taxonomy hijack.
#562458 by janusman, fix typo preventing menu_rebuild regarding taxonomy hijack.
#558836 by janusman don't show spelling suggestions if the suggestion is the same as the search term
#558836 by janusman don't show spelling suggestions if the suggestion is the same as the search term
#623046 by robertDouglass make the results that come back from a search more useful.
#610656 by pwolanin, Don't request facets for non-enabled modules.
#610656 by pwolanin, Don't request facets for non-enabled modules.
#597174 by Frando, add hook_apachesolr_prepare_query() to enable custom sorts.
roll-back #551582
task #597174 by Frando: Make it easy to add custom sorts.
#597174 by Frando, add hook_apachesolr_prepare_query() to enable custom sorts.
Fixing a README small issue.
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. A small fix.
feature #551582 by claudiu.cristea: Show value instead of key in CCK facets
#554136 by emackn, Jaza make results-per-page alterable
#554136 by emackn, Jaza make results-per-page alterable
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.
#499302 pt. 2 fix the damage done in the last commit by pulling in some code from search_data
#499302 baby steps towards being independent of search.module.
#578008 by robertDouglass improve performance by not querying for unused facets.
#552152 by robertDouglass OR operator for facet blocks.
rm a dsm that snuck in.
#576092 by robertDouglass use Drush to search the site using Solr.
Adding some php docs. Rename a variable.
#457826 by janusman Make the behavior of empty searches configurable.
Followup to #573038 to get all widget types for node and user references.
Followup to #573038 to get all widget types for node and user references.
#551582 by robertDouglass - still fixing the relationship between CCK, breadcrumbs, facets etc.
#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.
#551582 followup.
#551620 by robertDouglass Type dependent facet blocks.
#551582 by robertDouglass make CCK breadcrumbs, facets, and current search show the value, not the key.
#473554 by janusman Add an "unclick" link to search keys
#548102 by robertDouglass change wording on enabled filters page to improve usability.
#528888 by robertDouglass turn spellchecker on by default
#457826 by janusman, robertDouglass - show browsable facet blocks in the search well when no search term is present to allow browsing. Hello 6.2 branch of ApacheSolr :D
#508548 by pwolanin, Don't implode params['fq'] if it's not set
#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.
#506248 by TomMynd, fix admin link
Clean up whitespace.
#472600 by janusman, JacobSingh, and pwolanin, optionally hijack taxonomy pages.
sync with DRUPAL-6--1
#498970 fix wsod due to passing null vs. array
463900 by pwolanin and JacobSingh, facet theme function clean-up.
apachesolr.admin.inc
#453310 by pwolanin, allow easier theming of username display.
#493274 by andrewlevine remove duplicate code.
#358166 by David Lesieur, janusman, cptnCauliflower, and pwolanin, search for just facet(s).
#489654 by JacobSingh, and pwolanin, allow users to set their index as 'read only'.
#348218 by David Lesieur,pwolanin, JacobSingh, janusman: Search within current set of filters
#467810 by aufumy, Pass in page number and caller to apachesolr_search_execute
#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
#480814 by mkalkbrenner and pwolanin, add more detail to logging on errors
#449414 by pwolanin, aufumy, & Scott Reynolds, refactor apachesolr_search_search().
#461506 by pwolanin, do nothing if there are no nodes to index.
#454608 by pwolanin, fix current search block.
#453182 by pwolanin, use stored path rather than forcing node/.
sync HEAD with 6.x
sync HEAD with 6.x
#405780 by blackdog and pwolanin, skip excluded node types during counting and indexing.
#436074 by pwolanin, better query class handling of negative queries.
#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 quick fix for book module/negative query breadcrumbs
#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.
#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.
#339490 by aufumy, pwolanin, and JacobSingh, Organic groups Apachesolr integration, new _alter hook.
sync with branch
#380670 by pwolanin, only add a bq param for a node-type boost > 'Normal'. Also, minor schema version indicatior
#380594 by pwolanin, empty the spellcheck dictionary if the index is deleted.
#380538 by pwolanin, fix code to find vid for taxonomy facet blocks.
#378222 by janusman and pwolanin, add boost settings for 'sticky' and 'promote'
#376270 by pwolanin, also add option to bias on recent comments/changes
#337879 by pwolanin and blackdog, Store relative not absolute paths.
#376966 by JacobSingh and pwolanin, requesting the top terms from luke is very
expensive, so normally request 0, and only get them for smaller indexes.
Changed luke to not request the top terms because it is very slow on large indexes
#373921 catch exceptions and clean-up text
#375723 by pwolanin, prevent fatal error if available facet list changes
#370707 compact field names, create "order by" fields in schema.xml
by pwolanin and Damien Tournoud
#369944 Add field aliases and further clean-up the query class, by pwolanin
#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.
#367361 Use the machine-readable name for disabled node types by pwolanin
#365901 Add a bias on node type (and node-type exclusion) by Damien Tournoud and pwolanin
synch HEAD with 6.x
363972 fix ApacheSolr to Apache Solr
#363972 Text improvements for UI by horncologne and pwolanin
#355525 fic mis-named variables, patch by pwolanin, bug reported by flexer
#339467 centralize/register facets blocks by paul.lovvik, JacobSingh and me (pwolanin)
#359923 separate cron limit for apachesolr
#348215 by vladimir.dolgopolov: More link for additional facets.
#344249 obey 32 char limit for block deltas
#352430
#350330 initial fix for date problems
#348150 by pwolanin, JacobSingh: Added modify_query call inside mlt. Moved $fq building stuff to apachesolr.module
#348920 fix language block
#323015 rework weighting
#293989 by vladimir.dolgopolov: changed date stored in ISO format
Moved Block handling into include files
#348150 fix nodeacess and improve query factory
#303937 add spelling suggestions, patch by brainski and myself, review by JacobSingh
#323015 rework weighting and configuration
#338534 highlighting cleanup
#338534 cleanup for highlighting
#338534 by pwolanin, brainski, JacobSingh: Highlighting using Solr instead of returning the entire body. This will require a restart of your solr server
#323015 catch exception, add weighting for changed and comment_count
#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
#258626 current search block by janusman
#341430 add back namespace support for tracking indexing
#340222 use better namespaces w/ dynamic fields
#339776 refactor more code for reuse
#339776 refactor code for reuse
#339090 fix search fall-back string
#339090 fix search fall-back code
#337896 Rewrite search indexing, add status field
#335340 remove hash from the normal module query
#333661 by damien_vancouver: undefined call to taxonomy_vocabulary_load
#336136 the _search module did not access the response object correctly
#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.
Very minor cleanups
Multisite search and block refactoring for Drupal 5
rm code comment
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.
Whitespace; syntax error in docs.
Whitespace; syntax error in docs.
Added the apachesolr_modify_query hook to allow other modules to make changes to the query before sending
Added the apachesolr_modify_query hook to allow other modules to make changes to the query before sending
#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
Fix E_ALL warning.
#316457 by gestaltware: better validation for sort parameters
#316457 by gestaltware: better validation for sort parameters
#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.
* Sync with DRUPAL-6--1
Merged version of the module.
Added a hook that allows for the modification of the solr returned search results. This was needed for appropriate rendering of attachment documents that were indexed.
Added a hook that allows for the modification of the solr returned search results. This was needed for appropriate rendering of attachment documents that were indexed.
#270692 by Senpai; remove superfluous call by reference notation.
#270692 by Senpai; remove superfluous call by reference notation.
add explicit break in switch
add explicit break in switch
- 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.
Porting of various patches from DRUPAL-6--1 branch. Patches by mattconnolly, robertDouglass and drunkenmonkey.
Fixing up facet limits still. Kept per-block limits because Solr also supports per-field limits. Solr also defaults to 100 so I changed the module's behavior to mimic that. Finally, when building the search query, field facet limits are set per field as opposed to the previous behavior which was to set a global limit based on the largest value.
#280778 by mattconnolly and drunkenmonkey: Fix incorrect watchdog() calls
#280778 by mattconnolly: Fix incorrect watchdog() calls
Repairing facet limits for D5
Differentiating between facet query limits and facet display limits for blocks. Query limits are the number of documents that should be considered when counting facets, and this number should be relatively high. The Display limit is the number of facet links that get displayed in a particular block.
#254565: First Views integration protoype
#266273 by robertDouglass and drunken monkey: Added option for facet limits per block
#264742 by tmcw and robertDouglass: add a filter block for language. Totally screwed this up. Commited wrong file and missed some bits. Should work now.
#276094 by drunken monkey: Add "Results per page" option
#276094 by drunken monkey: Add "Results per page" option
#266273 by robertDouglass: Add facet limit block option
#266273 by drunkenmonkey: Enabled setting of a facet limit per block
#258882 by david_g: logic error when running modulus on indexing documents. Code cleanup; better whitespace, moved the apachesolr_themes function, fixed multiple E_ALL errors, raised the number of documents to add every modulus from 20 to 50, changed some UI strings. Nees backporting.
#270366 and #270367 by senpai and robertDouglass. Adding $ to files.
#270366 and #270367 by senpai and robertDouglass. Adding $ to files.
Minor code style fix
Working D6 version
Initial commit of WorldFallz' version.
#247358 created a function, apachesolr_has_searched, that acts a semaphore to only do Solr related stuff if there has been a search (like generate blocks). Fixed form_alter (hacked it, really) so that it doesn't instantiate a Solr object every time the search form is built (like on q=search/node). See the issue for discussion of deeper problem.
#230377 add results sorting to ApacheSolr. There is now a block that allows you to sort by Title, Type, Author, and Date. The solrsort GET parameter can additionally be used to sort by comment count, uid and nid, as well as any CCK text fields that are indexed. This change requires you to update the schema.xml file in your Solr installation, restart Solr, and re-index your site.
several bugfixes involving apachesolr_drupal_query and its behavior when there are no search keys. It now always returns an object.
Pass second arg to variable_get; cache username lookup queries which were getting duplicated; another bug in the last_id tracking for getting nodes to index.
cron limit handling was busted. tweak the search results to play friendly with the new image integration module.
Bugs that were plaguing indexing and the facet blocks.
Initial commit of the apachesolr module. This module integrates the Apache Solr search platform with Drupal, including faceted search for users, content types, taxonomy, and CCK fields. The SolrPhpClient library has been dually licensed under the Apache and GPL 2.0 with permission of the author.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |