<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=4815&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / local search engines]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=4815</link>
		<description><![CDATA[The most recent posts in local search engines.]]></description>
		<lastBuildDate>Thu, 23 Jun 2022 22:52:24 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: local search engines]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=36395#p36395</link>
			<description><![CDATA[<p>I looked now at recollindex, which i run from a cron job, which calls a bash shell , which calls recollindex -x<br />runs as user 1000 for its $HOME and /usr/share</p><div class="codebox"><pre class="vscroll"><code>#!/bin/bash 
# recollindex indiziert alle Dateien

. /usr/local/bin/log_functions.source

open_log

RECOLLINDEX=/usr/bin/recollindex
[ -x ${RECOLLINDEX} ] || exit 1

# alte Indices nach *.old verschieben, um einen Vergleich zu haben. 
 
cd ~/.recoll/xapiandb/ || exit 2

for datei in  *.glass ; do
	[ -f ${datei} ] &amp;&amp; mv &quot;${datei}&quot; &quot;${datei}&quot;.old
done

#	echo $(date +&#039;%F %T&#039;) $(hostname) alte Indices nach *.old verschoben

LOG=~/.recoll/recollindex.log
if [ -s ${LOG} ] ; then
	mv ${LOG} ${LOG}.old
	touch ${LOG}
fi

cd ~ || echo &quot;cd home failed&quot;  

# der Indizierungslauf
$RECOLLINDEX -x
echo recollindex $?

echo &quot;$(date +&#039;%F %T&#039;) $(hostname) Recollindex Ende&quot;

close_log_exit</code></pre></div><p>The log_functions do some logging and recording</p><p>When I look ath the processes , <br />all this bash shell has niceness 0 , <br />but /usr/bin/recollindex -x runs with niceness 19 and all subprocesses<br />This sometimes does not finish therefore, also while the cpus are idling. </p><p>It is possible to manually renice as root the recollindex and its suprocesses to 0, <br />but I did not see and find, where this niceness is set to this extrem value. <br />It is not the idea to intervene in a cron job</p><p>Nothing mention of niceness in man recollindex or info recollindex. nor on the web. nor in the conf files<br />:wq</p>]]></description>
			<author><![CDATA[dummy@example.com (bai4Iej2need)]]></author>
			<pubDate>Thu, 23 Jun 2022 22:52:24 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=36395#p36395</guid>
		</item>
		<item>
			<title><![CDATA[Re: local search engines]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=34001#p34001</link>
			<description><![CDATA[<p>There&#039;s a new one called &quot;Cerebro&quot; that has a free software license (github.com/cerebroapp/cerebro)</p><p>It looks kind of cool. I tried to use the Appimage today, but it was throwing up errors. I see that there&#039;s some instructions on how to overcome the errors but I haven&#039;t tried them yet. There&#039;s also a .deb package.</p><p>It would be nice if something a bit more modern than Recoll finally became available. </p><p>For command line search utilities, I&#039;ve fallen in love with &quot;fd&quot; (on Devuan it&#039;s the &#039;fd-find&#039; package). Soooo fast, and doesn&#039;t need to build an index.</p>]]></description>
			<author><![CDATA[dummy@example.com (andyprough)]]></author>
			<pubDate>Wed, 19 Jan 2022 02:30:27 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=34001#p34001</guid>
		</item>
		<item>
			<title><![CDATA[local search engines]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=33995#p33995</link>
			<description><![CDATA[<p>uname ....<br />kernel 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux<br />cat /etc/debian_version <br />11.1<br />cat /etc/devuan_version&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; <img src="https://dev1galaxy.org/img/smilies/sad.png" width="15" height="15" alt="sad" /><br />chimaera</p><p>I have recoll at the moment as a local search engine. It does a good job with my own cronjob in building a nightly database as a local user.</p><p>However the desktop app sometimes freezes or blocks the x server completely&#160; and then it must be killed from another terminal.<br />Or sometimes it does nothing seemingly from e.g. top. <br />After an undefined time there may be or not results of the search.<br />I am not happy with this recoll . </p><p>Edit : meanwhile I have seen that the recoll desktop has a cpu load of 1% maximum. Something restricts the application. <br />The niceness is 20 as all others. <br />When I wait for the result, I do not need a cpulimit or similar.</p><p>What is a recommended search engine having possibly a browser interface and running as root ?<br />What say se expörts?</p>]]></description>
			<author><![CDATA[dummy@example.com (bai4Iej2need)]]></author>
			<pubDate>Tue, 18 Jan 2022 18:25:15 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=33995#p33995</guid>
		</item>
	</channel>
</rss>
