[sphinx-users] Re: Using Sphinx Search

2023-11-26 Thread bradley...@gmail.com
I have added the automatic generation, by xrst, of a sphinx web page that 
does this type of search using raw html and javascript; e.g., see
https://xrst.readthedocs.io/xrst_search.html

On Wednesday, October 4, 2023 at 8:06:30 AM UTC-7 bradley...@gmail.com 
wrote:

> I would like to restrict the search to only match keywords in each page. 
> The  keywords in the search box would be separated by spaces with an 
> implicit and between them. The more keywords, the fewer matches. In 
> addition, when I get a match, I would like to see the title (first heading) 
> for the page and all the keywords for that page.  Is there some way to get 
> sphinx to do this ? 
>
> Currently I specify the keywords using:
>
> .. meta::
>:keywords: word_1, word_2, ...
>
> But I could easily use some other method of marking up the keywords in the 
> rst files.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sphinx-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/d275cceb-c11a-4b2a-bf32-f229b0f85b97n%40googlegroups.com.


[sphinx-users] Re: Using sphinx search indexer and "runtime"

2020-07-28 Thread paulwe...@gmail.com
Publii appears to be implemented in JavaScript. You could look at something 
like lunr which is a client-side search. It would require some programming 
in Publii. It looks like this is already discussed 
.

Sphinx's search support isn't a good option as your content would then have 
to be in Sphinx. You'd also have to get the build objects out of the 
generated Sphinx and back into your Publii.

On Tuesday, July 28, 2020 at 5:31:34 AM UTC-4 Santiago Gala wrote:

>
> Hi, I have been using sphinx for a number of projects and I love it.
>
> One of the things I specially like is that it generates static sites with 
> search.
>
> Now, for a different project I'm using Publii as static site generator, 
> but I hate that it requires integration with some search service.
>
> So I was wondering... is there an easy way to use Sphinx search indexer to 
> generate the javascript index and add the static javascript search files to 
> my website?
>
> Thanks in advance
>

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sphinx-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/19b3b0c1-3ef3-400b-9a10-b4f3c6b5d95bn%40googlegroups.com.