unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Drew Adams <drew.adams@oracle.com>
Cc: Help GNU Emacs <help-gnu-emacs@gnu.org>
Subject: Re: [External] : Any package for boolean search?
Date: Thu, 26 Dec 2024 03:15:53 +0300	[thread overview]
Message-ID: <Z2ygOYmNyi76BC3b@lco2> (raw)
In-Reply-To: <DS7PR10MB5232A80312EBA8E0C9CC1CE8F30C2@DS7PR10MB5232.namprd10.prod.outlook.com>

* Drew Adams <drew.adams@oracle.com> [2024-12-25 19:21]:
> > Boolean Search: This is a method where search terms are combined using
> > boolean logic, as described by the operators AND, OR, and NOT.
> > 
> > I would like to implement this classic into the website search. And I
> > wish to keep it simple.
> 
> I can't help you wrt website searches etc.  Hopefully
> someone else will.

I need more time, as I spend time in research. I think hashes are not
easiest way to go, so I will do this way:

1. Make a simple list of strings; 

2. Concatenate id, name, description, summary or full text without 
markup to single line;

3. Search lines;

4. Extract ID

5. Load nicely prepared name, description, image from hash

6. Display on the website.

We will see how fast it works.

> But FWIW, Isearch+ provides such functionality, on
> the fly, for incremental buffer/file searching.
> 
> https://www.emacswiki.org/emacs/DynamicIsearchFiltering

-- 
Jean Louis



  reply	other threads:[~2024-12-26  0:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-25 10:01 Any package for boolean search? Jean Louis
2024-12-25 16:21 ` [External] : " Drew Adams
2024-12-26  0:15   ` Jean Louis [this message]
2024-12-26  6:02 ` Joel Reicher
2024-12-26 10:58   ` Jean Louis
2024-12-26 23:14     ` Joel Reicher
2024-12-26 11:00   ` Jean Louis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Z2ygOYmNyi76BC3b@lco2 \
    --to=bugs@gnu.support \
    --cc=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).