Search Improvements 2.17.2

XF 2.1 / 2.2 / 2.3 Search Improvements 2.17.2

Add-on xenforo 2

Ressources et modules complémentaires pour XenForo 2

Styles xenforo 2

Styles / Thèmes et apparence pour xenforo 2

Templates xenforo 2

Codes pour modifier les templates sur xenforo 2

Section Premium

Add-on et Styles pour membre Premium
Search Improvements 2.17.2

XF 2.1 / 2.2 / 2.3 Search Improvements 2.17.2

Catégorie Catégorie Add-Ons
Titre du sujet Titre du sujet Search Improvements 2.17.2
Auteur de la discussion Auteur de la discussion laurent68
Date de début Date de début
Réponses Réponses 59
Affichages Affichages 3 671
Réaction Réaction 4
Dernier message par Dernier message par laurent68

laurent68

Fondateur

Staff
fondateur
Réputation: 100%
Discussions
4 646
Messages
12 054
Solutions
81
J'aime
7 609
Points
198
Additional requirements : Standard Library by Xon

Un ensemble d'améliorations apportées à la recherche améliorée de XF et à certaines améliorations apportées à la recherche MySQL par défaut de XenForo.

MySQL & Elastic Search features ;
  • range_query search DSL
    • allows arbitrary range queries for numerical data
  • Allow users to select the default search order independent for the forum wide setting.
Elastic Search Only features :
  • Per content type weighting
  • Adds Elastic Search information to the AdminCP home screen.
  • Adds a debug option to log the search DSL queries to error log for troubleshooting
  • Option to extend search syntax to permit;
    • + signifies AND operation
    • | signifies OR operation
    • - negates a single token
    • " wraps a number of tokens to signify a phrase for searching
    • * at the end of a term signifies a prefix query
    • ( and ) signify precedence
    • ~N after a word signifies edit distance (fuzziness)
    • ~N after a phrase signifies slop amount
    • In order to search for any of these special characters, they will need to be escaped with \.
Options :

1344


New Permissions
  • Search Options
Télécharger V2.2.8 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.2.9 Maintenance update : Add missing phrase for admincp user change log

Télécharger V2.2.9 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.3.0 Maintenance update :

Require XF2.1+
Rework "Allow empty search" support, support for XF2.1.8+ features and also XF2.1.0+

Télécharger V2.3.0 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.3.1 Maintenance update : Improve MySQL range-search support for Report Improvements warning points search

Télécharger V2.3.1 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.4.0 - XF2.2 Compatibility update

Compatibility fix for Threadmarks v2.8.0+ and possibly other add-ons which may extend search page defaults
Requires php 7.0+
Now depends on Standard Library by Xon
Support XF2.2+

Télécharger V2.4.0 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.4.1 Maintenance update :

Allow weight-by-content to be extended.
Compatibility update when resolving an extended class to the root class
Require Standard Library by Xon v1.2.0+

Télécharger V2.4.1 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.4.2 Maintenance update : Improve extendibility of weight-by-content feature

Télécharger V2.4.2 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.4.3 - Maintenance update :

Improve extendibility of weight-by-content-type feature (Allow custom searches to opt-in to content weighting for single type searches)
Improve compatibility with ElasticSearch v7+
Support float-point weight values in weight by content-type
Ensure XFES doesn't swallow the actual error message for a query failing instead of "all shards failed" message (backport for older versions of XFES)

Télécharger V2.4.3 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.4.4 - Maintenance update : Re-add "On error, log search DSL" option, default on.

Télécharger V2.4.4 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.4.5 Bugfix update : Fix weight by content type for XF2.2

Télécharger V2.4.5 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.4.6 Bugfix update : Fix the "Default search order" option would get reset when changing "Search options" under Enhanced Search Setup page.

Télécharger V2.4.6 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.5.3 - Backend feature update :

This feature is powering tag autocomplete and username autocomplete which supports partial matches, and non-prefix lookups on SpaceBattles.

Require XenForo 2.2+, removes xf2.0/xf2.1 support
Add "Specialized index" support
Specialized search index allows generating single-purpose elastic search indexes while re-using as much XF search infrastructure as possible.
Elasticsearch index is more akin to an SQL table than an entire database, so for very specific tasks a single purpose search index works better.
A separate index also allows changing indexing properties and re-indexing just that one index without impacting the main search index
Implementation of a specialized index notes;
At the core, a XenForo search handler is used to drive the functionality.
The search handler should implement the interface \SV\SearchImprovements\Search\Specialized\SpecializedData
Use the types MetadataStructure::KEYWORD or MetadataStructure::STR fields in setupMetadataStructure.
These types will be rewritten to add .exact & .ngram subfields. To skip this pass ['skip-rewrite' => true] to the MetadataStructure::addField's 3rd argument.
MetadataStructure::KEYWORD - shortish text which is semi-structured such as tags or usernames
MetadataStructure::STR - Arbitrary text which uses phrases of text
Register the search handler with the following content type fields
specialized_search_handler_class
entity
This handler really shouldn't be registered with search_handler_class content type field.
Add the behavior SV\SearchImprovements:SpecializedIndexable to the entity.

Télécharger V2.5.3 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.5.4 - Maintenance update :
- When using the 'content weighting' feature, reduce the ElasticSearch query complexity by not applying redundant content weighting terms.

Télécharger V2.5.4 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.5.5 Bugfix update :
- Fix "array_fill_keys() expects parameter 1 to be array, null given" error when content weighting has not been configured.

Télécharger V2.5.5 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.6.2 :

Require php 7.2+
Add ability to push "can view threads/tickets by other" permission(s) into ElasticSearch query, reducing php-side culling of matching content.
This improves searching forums/tickets where the user lacks these permissions.

This is gated behind the option Push "View X by others" check into XFES', as it requires a full reindex. (Default disabled)

Supports the following add-ons:
View Sticky Threads (free) add-on.
Collaborative Threads (paid) add-on.
@NixFifty's Tickets (paid) add-on.

For best results, use ElasticSearch Essentials add-on, as it simplifies this permission constraint compared to stock XenForo.

Télécharger V2.6.2 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.6.3 Bugfix update :

- Fix incorrectly adding a return type to XF\Search\Search::isValidContentType
- Fix typo in admincp options phrase

Télécharger V2.6.3 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.7.4 - Feature update :

- Fix bug where 'weight by content type' feature didn't work as expected in general search
- Thanks to @NamePros for sponsoring this update.
- Display various search term constraints on the search results form.
- For developers to implement support in 3rd party add-ons:
- Each search constraint needs a svSearchConstraint. prefixed phrase.
- Arrays are mapped to phrases by adding a _ for each sub-array/key as such; c[warning][points][lower] => svSearchConstraint.warning_points_lower
- Each search order needs a svSearchOrder. prefixed phrase.
- Extend XF\Entity\Search::getSpecializedSearchConstraintPhrase(string $key, $value) to provide custom phrase handling (ie node names)
- Extend XF\Entity\Search::formatConstraintValue(string $key, $value) to provide custom formatting.
- Extend XF\Entity\Search::setupConstraintFields to populate $svDateConstraint/$svUserConstraint/$svIgnoreConstraint properties which control formatting
- Use the debug option "List all unphrased search constraints" which will dump unmapped contraints to search results page.

Télécharger V2.7.4 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.7.5 - Minor bugfix update :

- Remove usage of utf8_* function(s), and use native php multi-byte functions instead.
- Fix HTML markup error in svPushViewOtherCheckIntoXFES option description.

Télécharger V2.7.5 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.8.1 :

- Fix "before" search result term would print an integer instead of a human readable yyyy-mm-dd formatted string
- Change 'no results found' handling to display search terms on the relevent page
If using ElasticSearch Essentials, recommend updating to v3.13.0+ as this change may impact some options which display on no results found.
- Fixes for search term on results page
Add missing "With X thread" search term
Fix "Users" search term could fail to render the list of usernames
Add the 'content type' search term

Télécharger V2.8.1 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.8.3 - Security update (recommend updating ASAP) :

- Fix cached search results would be unexpectedly be viewable to anyone if they guessed the search result URL.
Affected versions; v2.8.1
These search URLs expire after a day
- Fix search term on search result pages leaking information for non-viewable content
Affected version; v2.7.4, v2.7.5 and v2.8.1
Fix leaking thread title when using "In thread" search area, and rendering a bad phrase if the thread doesn't exist
Fix linking to non-active user profiles when searching by members
- Workaround for an XF bug where the cached search results for a member search could be directly shared with a guest
Non-visible items on the result page where not rendered, but this does leak that there are hits in not viewable to guests areas.

Télécharger V2.8.3 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.8.4 - Bugfix update : Fix searching by member without a keyword for a guest.

Télécharger V2.8.4 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.9.1 - Feature update :

This update will require a full search rebuild, truncating the index before re-indexing.
  • Require Standard Library by Xon v1.18.0+
  • Workaround for XF bug where the search URL did not contain the various query string arguments, causing issues when the URL was shared
  • Workaround for XF bug where the search ownership check wasn't strict enough
  • Workaround for XF bug where a user's recent content had a "view more" link which rendered even if the visitor didn't have permission to search
  • Move some permission handling code into StandardLib so it has a common hook point
  • Fix edge case where XFES is installed by not enabled causing XFES-only code-paths to be triggered
  • Fix reporting search terms without phrases on the results page return false positives
  • Fix various search result terms missing phrases, bad rendering of links
  • Fix pushing viewable ticket category constraints into ElasticSearch for NixFifty's Tickets add-on

  • Search result terms are now sorted to pull known important bits first
  • Add various helper functions & template macros for writing search criteria
  • Improvements which require ElasticSearch (aka Xenforo Enhanced Search)
    • Support for ElasticSearch Essential's "container only" search term result criteria
    • Tickets:
      • Search by min/max number of replies, sort by number of replies
      • Search by ticket participants
Version 2.9.2 - Bugfix update : Fix additional XFES index page would show even when XFES was not installed/active.

Télécharger V2.9.2 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.9.5 - Bugfix & maintaince update :

- Workaround XF bug where a search type parameter was not validated as being allowed for a search handler
- Workaround XF bug where a search could be constructed which targeted the parent (ie thread) content type and not the child (ie post) content type resulting in potentially degraded search results
- Replace search/member search with a redirect to a standard search with the appropriate parameters entered. Stock XF member searches are slightly specialized and the general search is missing several features to support normal search being a strict super-set of member search.
XF lacked a "search only X" per search tab that this add-on injects
XF would target the parent type and didn't figure out the child type
- Force a search without a query string to render it as * which allows member searches to be edited/refined
- Redirect to XFES configuration page if XFES isn't configured instead of the search index list
- Show basic statistics on the search index list page

Version 2.9.6 - Bugfix : Fix error "Object of class XF\Mvc\Reply\View could not be converted to string" when a user is denied search tries to use search.

Télécharger V2.9.6 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.9.7 - Bugfix update :

- Fix "Push "View X by others" option being disabled would cause some user information to not be indexed, which had the implicit "rebuild search index" if this setting was then enabled.

- This fixed conversation search when using Conversation Improvements v2.4.x+
- Requires a re-index of at least conversations/conversation messages to re-add the missing information.
- For most sites, disabling the "Push "View X by others" check into XFES" option is not recommended

Télécharger V2.9.7 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.9.8 - Bugfix update :

- Cleanup add-on description & readme file
- Update XFES dependent option descriptions to include if they require XFES
- Improve styling of 'no results' search result in an overlay
- Fix search result terms do not display when search results are in an overlay
- Fix custom styling triggering "Your changes have been saved." when clicking a member search link

Télécharger V2.9.8 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.10.0 - Feature update :

- Improve how thread/tickets by others in a category without view-other permission are filtered out of search results when using XFES without ElasticSearch Essentials
- Add PermissionConstraint helper class, designed to simplify implementing XF Search handler's getTypePermissionConstraints function
- Add "Collect search DSL & debug statistics" option (Default off), designed as a developer tool and strongly not recommended for production usage.

Télécharger V2.10.1 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.10.2 - Maintainance update :

- During upgrades, fix " Access to undeclared static property " error.
- Do not show the "Tags will be searched" tooltip as part of "Search titles only" in advanced search for content types which do not implement tagging

Télécharger V2.10.2 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.10.3 - Maintenance update :
  • Improve phrasing of custom search term on the advanced search page.
  • Change the phrase 'search only x' to 'search x only' to match XenForo.
  • Supports arbitrary phrases for 'search x only' by adding the phrase svSearchImprov_search_container.xwhere xis the content type. Ships with the current customizations:
    • svSearchImprov_search_container.thread: "Search titles and first posts only"
    • svSearchImprov_search_container.conversation: "Search titles and first messages only"
Télécharger V2.10.3 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.10.4 - Bugfix update :
- Fix viewing the index list could be blocked when elasticsearch is configured but inaccessible.

Télécharger V2.10.4 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.11.0 - Maintenance update : Support tag/username autocomplete using XFES add-ons todo prefix matching on autocomplete.

Télécharger V2.11.0 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.11.1 :
  • Workaround XF2.2.13 does the search beforechecking it it can save it as a cached value, which can result in a query that is massively more complex than expected being sent to elasticsearch
    • This issue practically doesn't occur with stock XFES, but with additional search addons such as ElasticSearch Essentials this can generate unexpected errors
Télécharger V2.11.1 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.12.0 : Maintenance & minor feature update
  • Require StandardLib v1.19.0+
  • Code cleanup
  • Add getSearchIdFromEntityId() helper method for transforming an XF entity id into the Elasticsearch index id
Télécharger V2.12.0 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.13.0; XF2.3 Compatibility update
  • Requires StandardLib v1.19.0+
  • If installed, requires Redis Cache 2.17.0+
  • XF2.3 compatibility update
  • php 8.4 compatibility fix
Télécharger V2.13.0 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.13.1 - Bugfix update : Fix guests searching by user would restart the search query the first time they tried to visit the a different page of the search results

Télécharger V2.13.1 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.14.0 :
  • Add "Push thread prefix text into search" option (default true)
    • Supports ElasticSearch Essential's autocomplete
    • Requires manual rebuild of threads on changing this option
Télécharger V2.14.0 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.15.4 - Feature update & XenForo 2.3 support :
  • Restore XF2.1 support
  • XF2.3 support
  • Fix "[E_DEPRECATED] Use of "parent" in callables is deprecated" on search
Télécharger V2.15.4 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.15.5 - Bugfix update : Fix XF2.3.0 infinite search redirect for guests.

Télécharger V2.15.5 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.15.6 - Bugfix update : Fix guest user searches could be sent into a redirect loop depending on search criteria.

Télécharger V2.15.6 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.15.7 - Bugfix update :
- Fix min/max range searches (ie word-count) where flipped when using MySQL full-text search

Version 2.15.8 - Bugfix update :
- Compatibility fix for Username auto-complete using XFES and Tag auto-complete using XFES add-ons.

Télécharger V2.15.8 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.15.9 - Bugfix update :
  • Update installer to verify ElasticSearch index does not require rebuilding when this add-on is installed/updated/rebuilt
  • Return 400 status code instead of 200 when the search query is wrong
Télécharger V2.15.9 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.16.0 - Compatibility update :
Search extensions API changes for better XF compatibility, required for Conversation Improvements/Essentials
  • XF2.3 compatibility fix for custom "SearchOrder" class
  • Simplify asSqlConstraint code (expected to always return an array)
  • AbstractConstraint::setMatchType needs to normalize to an int for MetadataConstraint::matchType
Télécharger V2.16.0 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.16.1 - Maintenance update :
  • Add additional hookpoints for customizing "specialized search indexer" functionality
  • On search results page, when searching a conversation(XF2.2)/direct message(XF2.3) display "with conversation/direct message"
Télécharger V2.16.1 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.16.2 - Maintenance update : Improve 3rd party support for specialized search index support.

Télécharger V2.16.2 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.17.0 - Feature & bugfix update :
- Enhanced specialized search with additional debug capabilities
- Update specialized search to support SearchOrder type
- Fix XF2.1 when using specialized search functionality (aka fix tag/user autocomplete with XF2.1)

Télécharger V2.17.0 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.17.1 - Bugfix update : Fix when logging debugging for some search queries would throw unexpectedly

Télécharger V2.17.1 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Version 2.17.2 - Bugfix update : For XF2.3.4+, check "View server information" admin permission when viewing elasticsearch statistics

Télécharger V2.17.2 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
 
Dernière édition par un modérateur:
Ajout de la version 2.2.9 :)
 
Merci, je prends car ma vesion bug .
 
Ajout de la version 2.3.0 :)
 
Ajout de la version 2.3.1 :)
 
Ajout de la version 2.4.0 ;)
 
Ajout de la version 2.4.1 :)
 
Ajout de la version 2.4.3 :)
 
Ajout de la version 2.4.4 :)
 
Ajout de la version 2.4.5 :)
 
Ajout de la version 2.4.6 :)
 
Ajout de la version 2.6.2 :)
 
Ajout de la version 2.6.3 :)
 
Ajout de la version 2.7.4 :)
 
Ajout de la version 2.7.5 :)
 
Ajout de la version 2.8.1 :)
 
Sujets similaires Les plus vues Voir plus
Retour
Haut Bas