This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 30 total)
  • Author
    Posts
  • in reply to: Re-searching issues in the results page #36933
    msamavi64msamavi64
    Participant

    You cannot access this content.

    in reply to: Search results page sorting problem #29615
    msamavi64msamavi64
    Participant

    Hi,

    I changed the method from “Get” to “Post” and now it works well.
    Any comment?

    in reply to: Search results page sorting problem #29605
    msamavi64msamavi64
    Participant

    Wouldn’t you like to have closer look to find the issue?

    in reply to: Search results page sorting problem #29598
    msamavi64msamavi64
    Participant

    By the way, I am using the following snippet based on your older solution to be able to search for some special characters:

    add_filter(‘asp_indexing_string_pre_process’, ‘custom_chars_asp_indexing_string_pre_process’, 10, 1);
    add_filter(‘asp_search_phrase_before_cleaning’, ‘custom_chars_asp_indexing_string_pre_process’, 10, 1);
    add_filter(‘asp_query_args’, ‘custom_chars_asp_indexing_string_pre_process’, 10, 1);
    function custom_chars_asp_indexing_string_pre_process($s) {
    $original = array(
    ‘Ā’, ‘ā’, ‘Ā’, ‘ā’, ‘Ḥ’, ‘ḥ’, ‘Ḥ’, ‘ḥ’, ‘Ī’, ‘ī’, ‘Ī’, ‘ī’, ‘Ṣ’, ‘ṣ’, ‘Ṣ’, ‘ṣ’, ‘S̲’, ‘s̲’, ‘Ṭ’, ‘ṭ’, ‘Ṭ’, ‘ṭ’, ‘Ū’, ‘ū’, ‘Ū’, ‘ū’, ‘Z̤’, ‘z̤’, ‘Ẓ’, ‘ẓ’, ‘Ẓ’, ‘ẓ’, ‘Z̲’, ‘z̲’, ‘Ẕ’, ‘ẕ’, ‘ʼ’, ‘ʻ’, ‘ʹ’
    );
    $replace = array(
    ‘a’, ‘a’, ‘a’, ‘a’, ‘h’, ‘h’, ‘h’, ‘h’, ‘i’, ‘i’, ‘i’, ‘i’, ‘s’, ‘s’, ‘s’, ‘s’, ‘s’, ‘s’, ‘t’, ‘t’, ‘t’, ‘t’, ‘u’, ‘u’, ‘u’, ‘u’, ‘z’, ‘z’, ‘z’, ‘z’, ‘z’, ‘z’, ‘z’, ‘z’, ‘z’, ‘z’, ”, ”, ”
    );

    // Replace them
    if ( is_array($s) ) {
    if ( isset($s[‘s’]) && !$s[‘_ajax_search’] )
    $s[‘s’] = str_replace($original, $replace, $s[‘s’]);
    } else {
    $s = str_replace($original, $replace, $s);
    }

    return $s;
    }

    in reply to: Search results page sorting problem #29597
    msamavi64msamavi64
    Participant

    I see.
    Are you aware of any possible incompatibility with other plugins?

    Regards,
    Majid

    in reply to: Search results page sorting problem #29595
    msamavi64msamavi64
    Participant

    Ernest, Please ready my previous post once again!
    I did write that in the new test, the “%20” whitespace character is NOT removed but the results page again displays nothing!

    in reply to: Search results page sorting problem #29593
    msamavi64msamavi64
    Participant

    The same issue exists while the url is different and the “%20” whitespace character is not removed now!
    Please have a look at the urls while searching “far mu” and try to change the sort.

    in reply to: Search results page sorting problem #29591
    msamavi64msamavi64
    Participant

    Hi,

    Thanks for the reply.

    I changed the Action for “Show ‘More results..’ text in the bottom of the search box” option.
    Please try now using your own example search words and comment.

    Kind regards,
    Majid

    in reply to: Search results page sorting problem #29588
    msamavi64msamavi64
    Participant

    You cannot access this content.

    in reply to: Redirecting for More Results #28106
    msamavi64msamavi64
    Participant

    Thank you Ernest!

    in reply to: Redirecting for More Results #28102
    msamavi64msamavi64
    Participant

    You cannot access this content.

    in reply to: Redirecting for More Results #28100
    msamavi64msamavi64
    Participant

    Hi Ernest,

    Thanks for the reply.
    I have already set it but it does not work!

    Regards,
    Majid

    in reply to: Ignoring special characters #28095
    msamavi64msamavi64
    Participant

    Hi Ernest,

    One issue regarding small and capital letters (case sensitivity):

    If we use:

    $original = array(
    ‘Ā’, ‘ā’
    );
    $replace = array(
    ‘A’, ‘a’
    );

    Only search string “Ava” will find the post title “Āvā”. How to make it case insensitive so that it can also be found with search strings like: “ava” or “avA” ?

    Regards,
    Majid

    in reply to: Ignoring special characters #28092
    msamavi64msamavi64
    Participant

    Ernest,

    It seems it works!
    I have added two other special characters, those worked as well 🙂

    I’m very happy now!
    Let me check further.

    Best,
    Majid

    in reply to: Ignoring special characters #28089
    msamavi64msamavi64
    Participant

    Hi Ernest,

    Thank you for the reply.

    The search engine was already set to index table.
    I created a snippet containing your code.
    I deleted the index.
    I clicked on “Create new index” button, but it indexed only one item. (problem!)
    I disabled your code snippet.
    I clicked on “Create new index” button, then all items were indexed successfully as before.

    It seems the code snippet prevents indexing.
    Any comment please?

    Best,
    Majid

Viewing 15 posts - 16 through 30 (of 30 total)