Re: [Tiki-devel] Manticore search documentation for power users

Marc Laporte <[email protected]>
Newsgroups gmane.comp.cms.tiki.devel
Message-ID <[email protected]>
Hello Bernard and other future Manticore users,

So there are three parts to this:

1- Having a properly running Manticore
2- Using Manticore with Tiki
3- How to compare Manticore to the other options?

My executive summary is
1- Install using instructions from Manticore doc/community
2- Once Manticore works, try a full rebuild (it should work), and keep an eye on it to see to detect if it fails a few hours after (my two test sites do).


1- Having a properly running Manticore

This is not the expertise of the Tiki community, so it's best to refer to the Manticore community.

We did copy a bit of info here: https://wikisuite.org/Manticore-Search but
1- This is the Manticore installer for WikiSuite and not a generic installer for Virtualmin (one day maybe we'll have a generic installer, but not soon)
2- The canonical version should always be the Manticore docs.

I recommend to not install the nightly builds. We did it at the beginning of the process to get the latest code, and to not report bugs for already fixed things.


2- Using Manticore with Tiki

branch 25x contains all the Manticore-related code from trunk:
https://gitlab.com/tikiwiki/tiki/-/commits/25.x

I want to dogfood Manticore for doc.tiki.org and dev.tiki.org ASAP on Tiki 25x.

We are now able to rebuild the index even for complex sites. And the rebuild works fine for the pre-dgofood of doc and dev:
https://dev.tiki.org/Pre-dogfood-servers-for-Tiki-26-release-process#Trunk_with_Manticore

However, later Manticore crashes and we don't yet know why. I suspect the incremental index.

There are some commits about fixing crashes in Manticore which will soon be in a stable version:
https://github.com/manticoresoftware/manticoresearch/search?o=desc&q=crash&s=committer-date&type=commits
I am hoping our bug is solved there.


3- https://doc.tiki.org/Unified-Index-Comparison
A new tool to compare (expect bugs):
https://gitlab.com/tikiwiki/tiki/-/blob/master/lib/core/Tiki/Command/IndexCompareEnginesCommand.php


On a related note: I am not sure how, but I am sure we will leverage this in the future: https://doc.tiki.org/Manticore-Buddy

Best regards,

Marc


On Sun, 2 Apr 2023 17:30:01 +0300 Tiki developers [email protected] said

> Hey Jonny,
> 
> Thank you for sharing your experience on OSX and great to read it work.
> 
> I have more in mind to set it on my Debian11/Virtualmin server but every
> little information will help to tune it right on time.
> 
> Not being in any hurry, I guess I will wait a little…  😉
> 
> Have a nice day,
> Bernard
> 
> 
> 
> > On 2 Apr 2023, at 16:14, Jonny Bradley via TikiWiki-devel
> > <[email protected]> wrote:
> > 
> > Hi Bernard
> > 
> > I managed to get it running on my Mac (Apple Silicon) eventually using a
> > Docker image - first one i've successfully got to do anything useful! ;)
> > 
> > However, the setting were quite tricky to guess (think i had to use a
> > debugger) so we should document these somewhere...
> > 
> > Ok, here's what i can see in the "inspect" page on the (macOS) Docker
> > application:
> > 
> > Mounts
> > /tmp.                 /tmp
> > /var/lib/manticore    /Users/jonny/data
> > (this was a bad choice - should have been something more like
> > /Users/jonny/dev/manticore/data)
> > 
> > Ports
> > 9306/tcp              0.0.0.0:9306
> > 9308/tcp.             0.0.0.0:9308
> > 9312/tcp.             0.0.0.0:9312
> > 
> > Hmmm, so somewhere, when you add the manticore Docker image, there's a place
> > to add mounts and port mappings, however, i don't want to remove my container
> > or image or whatever it is as i don't really know what i'm doing :)
> > 
> > The command line version instructions are here
> > https://manticoresearch.com/install/ there may be some extra clues there but
> > the extra mapping of /tmp is a tiki thing i think...
> > 
> > But it works! :D
> > 
> > HTH
> > 
> > jonny
> > 
> > 
> > 
> > 
> > 
> >> On 1 Apr 2023, at 10:02, Bernard Sfez via TikiWiki-devel
> > <[email protected]> wrote:
> >> 
> >> Hello,
> >> 
> >> I’m interested in starting to test and run Manticore search.
> >> 
> >> While I’m certain it work on some dev environments due to feedback I saw
> > here and there, I wonder if common mortal can start running it using the
> > documentation available:
> >> 
> >> https://manticoresearch.com/install/
> >> 
> >> 
> >> https://doc.tiki.org/Manticore-Search
> >> 
> >> 
> >> 
> >> Any thoughts or advises ?
> >> 
> >> Bernard
> >> 
> >> _______________________________________________
> >> TikiWiki-devel mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
> > 
> > 
> > 
> > _______________________________________________
> > TikiWiki-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
> 
> 
> 
> _______________________________________________
> TikiWiki-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>

_______________________________________________
TikiWiki-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.