8 – Unable to get titles to show up as higher priority in search than content

I have a website I am working on that has a TON of content. The client has noticed that when searching for titles in the site search, it seems to prioritize the body content over the title.

So I changed the search index for titles to be fulltext with a boost of 13. With the rendered output set to a boost of 1. Then I reindexed and that didn’t fix it. I did a full rebuild of tracking information. Same problem.

I found this article: https://medium.com/@easternstandard/how-to-configure-drupal-8-text-search-to-return-better-more-intuitive-search-results-fe0a78136ad7

And followed the instructions there (pretty much what I had already done) and reindexed. Same issue.

An example of this is that we have an article about the response to covid where the phrase “response to covid” is part of the title. When I search for that phrase I do not see it in any of the first-page search results. It is set to show 20 items. In fact, the article in question doesn’t come up until result number 39. None of the prior articles seem to have covid in the title at all. Even searching with quotations makes no difference.

This is currently using the database search/index. I am tempted to implement Solr. But that is a whole-nother ball of wax and I am on a deadline right now.

We are running Drupal 8.9.9 and the Search API 8.x-1.18.

What can I do differently to make it value the title over the rendered content?

plugins – ALL IN ONE SEO title priority ovveride problem

Here is a page that has this problem:
https://www.torontowindowsanddoorsexperts.ca/about-us/

The page’s name is “ABOUT US” , but it actually shows the page name as: “About Us – Toronto Windows & Doors | 647-347-2842”

How can I remove this additional data?
I already removed this element from all in one seo, so there must be something else.

also i saw there is an option for priority change to overwrite other plugins like SEO plugins. is there any way to do this?

I checked in ALL IN ONE SEO’s documentation and they refer to this function:

function change_wordpress_seo_title( $title ){
    $title = 'modified title';
    return $title;
}

but i don’t know how to change this to work with my specific case…

Thanks in advance, I appreciate any help given with this issue.

web server – Understanding and changing of TCP priority

There is a busy web-server that has too many visitors, most of the time, it takes lot of time to place my order in that website.
First of all, it is not clear for me that how the web-server decides what packet to process first and in what order the others would be processed?

and my other question is that ,is it some how possible to manipulate packets with some tools like Scapy to have a better priority ?

Flash sync cable does not control aperture priority film cam shutter speed

Film camera: Yashica electro 35cc (35mm)
Flash: modern Nikon speedlight

Is it possible to shoot at f1.8 with a speedlight on a film camera?

Sensibly and according to sources, my film camera is supposed to default to 1/30s shutter speed when a flash is connected via PC-PC cable. However, no such behavior change is occuring when each f-stop is used. The camera adjusts shutter according to f-stop vis-a-vis ambient light.

For example, with flash already firing, here are the shutter speeds at each f stop:

f16: 4secs
f8: 2secs
f2.8: 1 sec
f1.8: 1/30s

My question is, is it possible to use f1.8 with a flash on? When f1.8 is the only stop where the camera will shoot the fastest shutter under dim conditions.

camera settings – How to shortcut the “release/focus priority” on the FujiFilm X-T4?

I just bought a FujiFilm X-T4, and since it’s my first FujiFilm camera I’m still lost in the menus. I found the option where I can set if I want it to focus before shooting or shoot right away: It’s called RELEASE/FOCUS PRIORITY and can be found in the AF/MF menu.

Now how can I use a shortcut to quickly change it? I’m used to shoot a Nikon camera where I’ve set up a shortcut to toggle this option when a “fn” button is pressed.

camera settings – How to shortcut the “release/focus priority” in the fuji x-t4?

I just bought a fuji x-t4, and since it’s my first fuji camera I’m still lost in the menus. I found the option where I can set if I want it to focus before shooting or shoot right away: It’s called RELEASE/FOCUS PRIORITY and can be found in the AF/MF menu. Here’s a reference:
http://fujifilm-dsc.com/en/manual/x-t3/menu_shooting/af_mf_setting/index.html

Now how can I use a shortcut to quickly change it? I’m used to shoot a nikon camera where I’ve set up a shortcut to toggle this option when a “fn” button is pressed.

compression – Priority queue implementation on C. (For Huffman Coding)

I trying to implement Huffman Codes on C. And, since my previous attempt failed, I decided to approach the issue more responsibly. So I’m asking for feedback on my implementation of the priority queue on C. First of all, the design of structures and interfaces is important to me! Also, how easy would it be to implement a Huffman tree using this structure? And of course, what about decomposition?

priority_queue.h

#ifndef PRIORITY_QUEUE
#define PRIORITY_QUEUE
#include <stdlib.h>
struct pq_node {
    unsigned long frequency;
    struct pq_node *parent;  //Pointers for Huffman tree
    struct pq_node *left;
    struct pq_node *right;
    char symbol;
};

struct priority_queue {
    struct pq_node *heap_on_array;
    size_t size;
    size_t capacity;
};

void init_queue(struct priority_queue **pq, size_t capacity);

void shift_up(struct priority_queue **pq, int i);  // i - index

void shift_down(struct priority_queue **pq, size_t i);  // i - index

struct pq_node extract_min(struct priority_queue **pq);

void insert(struct priority_queue **pq, char symbol);

void insert_element(struct priority_queue **pq, char symbol, unsigned long frequency);

void node_swap(struct pq_node *first, struct pq_node *second);

priority_queue.c

#include "priority_queue.h"
void init_queue(struct priority_queue **pq, size_t capacity)
{
    (*pq) = malloc(sizeof(struct priority_queue));
    (*pq)->heap_on_array = malloc(sizeof(struct pq_node) * capacity);
    (*pq)->capacity = capacity;
    (*pq)->size = 0;
};

void shift_up(struct priority_queue **pq, int i)
{
    while ((*pq)->heap_on_array(i).frequency < (*pq)->heap_on_array((i-1)/2).frequency)
    {
        node_swap(&((*pq)->heap_on_array(i)), &((*pq)->heap_on_array((i-1)/2)));
        i = (i - 1) / 2;
    }
}

void shift_down(struct priority_queue **pq, size_t i)
{
    while ((2 * i + 1) < (*pq)->size)
    {
        size_t left = 2 * i + 1;
        size_t right = 2 * i + 2;
        size_t j = left;
        if((right < (*pq)->size) && ((*pq)->heap_on_array(right).frequency < (*pq)->heap_on_array(left).frequency))
        {
            j = right;
        }
        if((*pq)->heap_on_array(i).frequency <= (*pq)->heap_on_array(j).frequency)
        {
            break;
        }
        node_swap(&((*pq)->heap_on_array(i)), &((*pq)->heap_on_array(j)));
        i = j;
    }
}

struct pq_node extract_min(struct priority_queue **pq)
{
    struct pq_node tmp = (*pq)->heap_on_array(0);
    (*pq)->heap_on_array(0) = (*pq)->heap_on_array((*pq)->size - 1);
    (*pq)->size--;
    shift_down(pq, 0);
    return tmp;
}

void insert(struct priority_queue **pq, char symbol)
{
    for(size_t i = 0; i < (*pq)->size; ++i)
    {
        if((*pq)->heap_on_array(i).symbol == symbol)
        {
            (*pq)->heap_on_array(i).frequency++;
            shift_down(pq, i);
            return;
        }
    }
    
    if((*pq)->size == (*pq)->capacity)
    {
        (*pq)->heap_on_array = reallocarray((*pq)->heap_on_array, (*pq)->size * 2, sizeof(struct pq_node));
        (*pq)->capacity = (*pq)->capacity * 2;
    }
    (*pq)->size++;
    (*pq)->heap_on_array((*pq)->size - 1).symbol = symbol;
    (*pq)->heap_on_array((*pq)->size - 1).frequency = 1;
    shift_up(pq, (*pq)->size - 1);
}

void insert_element(struct priority_queue **pq, char symbol, unsigned long frequency)
{
    for(size_t i = 0; i < (*pq)->size; ++i)
    {
        if((*pq)->heap_on_array(i).symbol == symbol)
        {
            (*pq)->heap_on_array(i).frequency = frequency;
            shift_down(pq, i);
            return;
        }
    }

    if((*pq)->size == (*pq)->capacity)
    {
        (*pq)->heap_on_array = reallocarray((*pq)->heap_on_array, (*pq)->size * 2, sizeof(struct pq_node));
        (*pq)->capacity = (*pq)->capacity * 2;
    }
    (*pq)->size++;
    (*pq)->heap_on_array((*pq)->size - 1).symbol = symbol;
    (*pq)->heap_on_array((*pq)->size - 1).frequency = frequency;
    shift_up(pq, (*pq)->size - 1);
}

void node_swap(struct pq_node *first, struct pq_node *second)
{
    struct pq_node tmp = *first;
    *first = *second;
    *second = tmp;
}
```