{"id":20471109,"url":"https://github.com/drupal-modules/search_api_solr","last_synced_at":"2025-10-11T12:22:39.263Z","repository":{"id":9191022,"uuid":"10995856","full_name":"drupal-modules/search_api_solr","owner":"drupal-modules","description":"Search API Solr search module (Drupal)","archived":false,"fork":false,"pushed_at":"2013-07-04T17:07:59.000Z","size":460,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"7.x-1.x","last_synced_at":"2025-01-16T02:19:02.709Z","etag":null,"topics":["drupal-7"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drupal-modules.png","metadata":{"files":{"readme":"README.txt","changelog":"CHANGELOG.txt","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-06-27T12:06:33.000Z","updated_at":"2017-11-13T17:34:03.000Z","dependencies_parsed_at":"2022-09-22T14:52:44.361Z","dependency_job_id":null,"html_url":"https://github.com/drupal-modules/search_api_solr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drupal-modules%2Fsearch_api_solr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drupal-modules%2Fsearch_api_solr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drupal-modules%2Fsearch_api_solr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drupal-modules%2Fsearch_api_solr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drupal-modules","download_url":"https://codeload.github.com/drupal-modules/search_api_solr/tar.gz/refs/heads/7.x-1.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242034717,"owners_count":20061188,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["drupal-7"],"created_at":"2024-11-15T14:14:59.177Z","updated_at":"2025-10-11T12:22:34.230Z","avatar_url":"https://github.com/drupal-modules.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Solr search\n-----------\n\nThis module provides an implementation of the Search API which uses an Apache\nSolr search server for indexing and searching. Before enabling or using this\nmodule, you'll have to follow the instructions given in INSTALL.txt first.\n\nFor more detailed documentation, see the handbook [1].\n\n[1] https://drupal.org/node/1999280\n\nSupported optional features\n---------------------------\n\nAll Search API datatypes are supported by using appropriate Solr datatypes for\nindexing them. By default, \"String\"/\"URI\" and \"Integer\"/\"Duration\" are defined\nequivalently. However, through manual configuration of the used schema.xml this\ncan be changed arbitrarily. Using your own Solr extensions is thereby also\npossible.\n\nThe \"direct\" parse mode for queries will result in the keys being directly used\nas the query to Solr. For details about Lucene's query syntax, see [2]. There\nare also some Solr additions to this, listed at [3]. Note however that, by\ndefault, this module uses the dismax query handler, so searches like\n\"field:value\" won't work with the \"direct\" mode.\n\n[2] http://lucene.apache.org/java/2_9_1/queryparsersyntax.html\n[3] http://wiki.apache.org/solr/SolrQuerySyntax\n\nRegarding third-party features, the following are supported:\n\n- search_api_autocomplete\n  Introduced by module: search_api_autocomplete\n  Lets you add autocompletion capabilities to search forms on the site. (See\n  also \"Hidden variables\" below for Solr-specific customization.)\n- search_api_facets\n  Introduced by module: search_api_facetapi\n  Allows you to create facetted searches for dynamically filtering search\n  results.\n- search_api_facets_operator_or\n  Introduced by module: search_api_facetapi\n  Allows the creation of OR facets.\n- search_api_mlt\n  Introduced by module: search_api_views\n  Lets you display items that are similar to a given one. Use, e.g., to create\n  a \"More like this\" block for node pages.\n  NOTE: Due to a regression in Solr itself, \"More like this\" doesn't work with\n  integer and float fields in Solr 4. As a work-around, you can index the fields\n  (or copies of them) as string values. See [4] for details.\n  Also, MLT with date fields isn't currently supported at all for any version.\n- search_api_multi\n  Introduced by module: search_api_multi\n  Allows you to search multiple indexes at once, as long as they are on the same\n  server. You can use this to let users simultaneously search all content on the\n  site – nodes, comments, user profiles, etc.\n- search_api_spellcheck\n  Introduced by module: search_api_spellcheck\n  Gives the option to display automatic spellchecking for searches.\n- search_api_data_type_location\n  Introduced by module: search_api_location\n  Lets you index, filter and sort on location fields. Note, however, that only\n  single-valued fields are currently supported for Solr 3.x, and that the option\n  isn't supported at all in Solr 1.4.\n- search_api_grouping\n  Introduced by module: search_api_grouping [5]\n  Lets you group search results based on indexed fields. For further information\n  see the FieldCollapsing documentation in the solr wiki [6].\n\nIf you feel some service option is missing, or have other ideas for improving\nthis implementation, please file a feature request in the project's issue queue,\nat [7].\n\n[4] https://drupal.org/node/2004596\n[5] https://drupal.org/sandbox/daspeter/1783280\n[6] http://wiki.apache.org/solr/FieldCollapsing\n[7] https://drupal.org/project/issues/search_api_solr\n\nSpecifics\n---------\n\nPlease consider that, since Solr handles tokenizing, stemming and other\npreprocessing tasks, activating any preprocessors in a search index' settings is\nusually not needed or even cumbersome. If you are adding an index to a Solr\nserver you should therefore then disable all processors which handle such\nclassic preprocessing tasks. Enabling the HTML filter can be useful, though, as\nthe default config files included in this module don't handle stripping out HTML\ntags.\n\nAlso, due to the way Solr works, using a single field for fulltext searching\nwill result in the smallest index size and best search performance, as well as\npossibly having other advantages, too. Therefore, if you don't need to search\ndifferent sets of fields in different searches on an index, it is adviced that\nyou collect all fields that should be searchable into a single field using the\n“Aggregated fields” data alteration.\n\nHidden variables\n----------------\n\n- search_api_solr_autocomplete_max_occurrences (default: 0.9)\n  By default, keywords that occur in more than 90% of results are ignored for\n  autocomplete suggestions. This setting lets you modify that behaviour by\n  providing your own ratio. Use 1 or greater to use all suggestions.\n\nCustomizing your Solr server\n----------------------------\n\nThe schema.xml and solrconfig.xml files contain extensive comments on how to\nadd additional features or modify behaviour, e.g., for adding a language-\nspecific stemmer or a stopword list.\nIf you are interested in further customizing your Solr server to your needs,\nsee the Solr wiki at [8] for documentation. When editing the schema.xml and\nsolrconfig.xml files, please only edit the copies in the Solr configuration\ndirectory, not directly the ones provided with this module.\n\n[8] http://wiki.apache.org/solr/\n\nYou'll have to restart your Solr server after making such changes, for them to\ntake effect.\n\nDevelopers\n----------\n\nThe SearchApiSolrService class has a few custom extensions, documented with its\ncode. Methods of note are deleteItems(), which treats the first argument\ndifferently in certain cases, and the methods at the end of service.inc.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrupal-modules%2Fsearch_api_solr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrupal-modules%2Fsearch_api_solr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrupal-modules%2Fsearch_api_solr/lists"}