PATH:
home
/
sparklp6
/
public_html
/
website_356c8563
/
wp-content
/
plugins
/
relevanssi
/
lib
jQuery(document).ready(function ($) { $("#build_index").click(function () { $("#relevanssi-progress").show() $("#results").show() $("#relevanssi-timer").show() $("#relevanssi-indexing-instructions").show() $("#stateoftheindex").html(relevanssi.reload_state) $("#indexing_button_instructions").hide() var results = document.getElementById("results") results.value = "" var data = { action: "relevanssi_truncate_index", security: nonce.indexing_nonce, } intervalID = window.setInterval(relevanssiUpdateClock, 1000) console.log("Truncating index.") results.value += relevanssi.truncating_index + " " jQuery.post(ajaxurl, data, function (response) { truncate_response = JSON.parse(response) console.log("Truncate index: " + truncate_response) if (truncate_response == true) { results.value += relevanssi.done + "\n" } var data = { action: "relevanssi_count_posts", } console.log("Counting posts.") results.value += relevanssi.counting_posts + " " jQuery.post(ajaxurl, data, function (response) { count_response = JSON.parse(response) console.log("Counted " + count_response + " posts.") var post_total = parseInt(count_response) results.value += count_response + " " + relevanssi.posts_found + "\n" var args = { completed: 0, total: post_total, offset: 0, total_seconds: 0, limit: relevanssi_params.indexing_limit, adjust: relevanssi_params.indexing_adjust, extend: false, security: nonce.indexing_nonce, } process_indexing_step(args) }) }) }) })
[-] excerpts-highlights.php
[edit]
[-] utils.php
[edit]
[-] search.php
[edit]
[-] search-tax-query.php
[edit]
[-] admin_scripts_free.js
[edit]
[-] init.php
[edit]
[-] phrases.php
[edit]
[-] sorting.php
[edit]
[-] .htaccess
[edit]
[-] admin_styles.css
[edit]
[-] admin-ajax.php
[edit]
[-] contextual-help.php
[edit]
[-] interface.php
[edit]
[-] user-searches.php
[edit]
[-] common.php
[edit]
[-] shortcodes.php
[edit]
[+]
compatibility
[+]
tabs
[-] class-relevanssi-taxonomy-walker.php
[edit]
[-] privacy.php
[edit]
[-] debug.php
[edit]
[-] admin_scripts.js
[edit]
[-] install.php
[edit]
[-] stopwords.php
[edit]
[-] options.php
[edit]
[-] indexing.php
[edit]
[-] log.php
[edit]
[-] uninstall.php
[edit]
[+]
..
[-] search-query-restrictions.php
[edit]
[-] didyoumean.php
[edit]