Plugin Directory

Changeset 3476603


Ignore:
Timestamp:
03/06/2026 05:42:44 PM (4 weeks ago)
Author:
intufind
Message:

Release intufind v1.3.0

Location:
intufind
Files:
38 added
4 edited

Legend:

Unmodified
Added
Removed
  • intufind/trunk/includes/class-intufind-api.php

    r3469618 r3476603  
    637637     * Search posts using semantic search.
    638638     *
    639      * @param string $query     Search query text.
    640      * @param int    $limit     Maximum results to return.
    641      * @param array  $filters   Optional filters (post_type, status, etc.).
    642      * @param array  $post_types Optional post types to search.
     639     * @param string $query          Search query text.
     640     * @param int    $limit          Maximum results to return.
     641     * @param array  $filters        Optional filters (post_type, status, etc.).
     642     * @param array  $post_types     Optional post types to search.
     643     * @param string $search_context Search context for analytics (e.g. 'native', 'facetwp').
    643644     * @return array|WP_Error Search results or WP_Error.
    644645     */
    645     public function search_posts( $query, $limit = 10, $filters = array(), $post_types = array() ) {
     646    public function search_posts( $query, $limit = 10, $filters = array(), $post_types = array(), $search_context = 'native' ) {
    646647        $data = array(
    647648            'text'           => $query,
    648649            'limit'          => $limit,
    649             'searchContext'  => 'native',
     650            'searchContext'  => $search_context,
    650651            'trackAnalytics' => true,
    651652        );
  • intufind/trunk/includes/class-intufind-plugin.php

    r3463908 r3476603  
    102102     */
    103103    private $chat_widget = null;
     104
     105    /**
     106     * FacetWP integration instance.
     107     *
     108     * @var Intufind_FacetWP|null
     109     */
     110    private $facetwp = null;
    104111
    105112    /**
     
    155162        $this->search_widget->init();
    156163
     164        // Initialize FacetWP integration.
     165        $this->facetwp = new Intufind_FacetWP( $this->api );
     166        $this->facetwp->init();
     167
    157168        // Initialize recommendations override (WooCommerce only).
    158169        if ( class_exists( 'WooCommerce' ) ) {
  • intufind/trunk/intufind.php

    r3469618 r3476603  
    44 * Plugin URI: https://intufind.com/integrations/wordpress
    55 * Description: AI-powered search and chat for WordPress. Syncs your content to the cloud for semantic search, intelligent recommendations, and conversational AI.
    6  * Version: 1.2.3
     6 * Version: 1.3.0
    77 * Requires at least: 6.0
    88 * Requires PHP: 8.0
     
    2626 * Plugin constants.
    2727 */
    28 define( 'INTUFIND_VERSION', '1.2.3' );
     28define( 'INTUFIND_VERSION', '1.3.0' );
    2929define( 'INTUFIND_PLUGIN_FILE', __FILE__ );
    3030define( 'INTUFIND_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
     
    7171    if ( file_exists( $includes_path ) ) {
    7272        require_once $includes_path;
     73        return;
     74    }
     75
     76    // Check includes/integrations directory (third-party plugin integrations).
     77    $integrations_path = INTUFIND_PLUGIN_DIR . 'includes/integrations/' . $file_name;
     78    if ( file_exists( $integrations_path ) ) {
     79        require_once $integrations_path;
    7380        return;
    7481    }
  • intufind/trunk/readme.txt

    r3469618 r3476603  
    55Tested up to: 6.9
    66Requires PHP: 8.0
    7 Stable tag: 1.2.3
     7Stable tag: 1.3.0
    88WC tested up to: 9.6
    99License: GPLv2 or later
     
    215215== Changelog ==
    216216
     217= 1.3.0 =
     218* Added FacetWP integration — FacetWP Search facets now use Intufind semantic search automatically
     219* Intufind appears as a selectable search engine in FacetWP's Search facet settings
     220* Auto-intercepts FacetWP's default WP search engine when the Intufind Search Override is enabled
     221* Detects listing post types to query the correct API endpoint (posts, products, or both)
     222* Added integrations directory for organized third-party plugin support
     223
    217224= 1.2.3 =
    218225* Fixed bulk sync failing entirely when batch exceeds plan indexing limit — now processes as many items as will fit
     
    292299== Upgrade Notice ==
    293300
     301= 1.3.0 =
     302Adds native FacetWP support. FacetWP Search facets automatically use Intufind semantic search when the Search Override is enabled — no configuration needed.
     303
    294304= 1.2.3 =
    295305Fixes bulk sync failing entirely when plan limit is exceeded — items are now partially processed. Adds retry for rate-limited requests.
Note: See TracChangeset for help on using the changeset viewer.