Full indexed search?

Forum thread started by Paradoxon on Tue, 2014-02-04 13:15

Just a question... what happend to the project wich should have brought full indexed search to haiku?
The Last information i found was:

https://www.haiku-os.org/blog/general_maximus/2009-07-31/full_text_index...
and
https://code.google.com/p/haiku-beacon/source/browse/#svn%2Ftrunk%2Fsrc%...

What is missing here to finally include this project completly into haiku??
Any Plans to enable this feature in a newar future?

Comments

Re: Full indexed search?

It hasn't been added to Haiku and I've been told it isn't building on the latest version of Haiku anymore.

I've used Beindexed, which seem to work well.

It can be installed with HaikuPorter:

git clone https://bitbucket.org/haikuports/haikuports.git
git clone https://bitbucket.org/haikuports/haikuporter.git
cp haikuports-sample.conf /boot/home/config/settings/haikuports.conf 
ln -s /boot/home/haikuporter/haikuporter /boot/home/config/non-packaged/bin/
haikuporter beindexed

If you want to compile it yourself without haikuporter or want to submit a bug, then its website is found here:

https://github.com/HaikuArchives/BeIndexed

Re: Full indexed search?

Thanks for that hint with BeIndexed
But what bug´s / missing features are holding back haiku-beacon?...
Because haik-beacon is far more advanced and its using translators, node monitoring and so on.
I really would like to see this added to haiku... also because it comes with a gui ;-)

So what steps are necessary to get this app to an point where it could be integrated into haiku? Any idea?

Re: Full indexed search?

Not sure whats wrong, you would have to ask on the mailing list to get more answers.

I would say the first needed to get it working again would be an updated version of CLucene for Haiku.

Then CLucene would need a recipe file as well, although this can be whilst porting it.

Then Beacon would need to be modified so it can handle a newer version of CLucene and Beacon also would need a recipe file.

Info on recipe files:
https://www.haiku-os.org/articles/gentle_introduction_haikuporter_1
HaikuPorts website:
http://bb.haikuports.org/

Re: Full indexed search?

Please resume the full-indexed search project.
It is EXTREMELY useful.

Thanks to all developers.

Re: Full indexed search?

Just a litte status update:
I got the lates clucene compiling with gcc4.
i also managed to compile haiku-beacon too after some trouble (wrote my own makefile)

So what do we have now:
a building haiku-beacon (index_server and searchapp)

BUT :)
both have trouble with the packagemanagement starting from read only directorys where the index_server want to store the index file up to that the packagemanagementsystem generates 2 volumes ... and it trys to search this volumes also and so on.
i hacke a verry verry dirty workaround to this (hardcoded alternativ path for the index file)
and this somehow mad it run at least.

But then there are some more serious problems.
1. Not everything is implemented (a lot stuff is missing)
2. Because of this and for some other reasons... index_server will always try to index its own index/files wich causes some crazy behavior
3. Because it uses BTranslator it´s verry powerfull but since Haiku dont need a Translator to load simple files like "normal" Textfiles like StyleEdit files, sourcecode or html or so on this files will not be indexed ... also his blogpost looked different... i need to do some more research on this. But at least this was what i found buy modifinge the source.
Because of this you cant find anything at the moment, because there are not many Text Translators (this will become interesting if we add Tesseract Translator... wow searchable Bitmaps .. :-) )

This Problems are really a big blocker... maybe we need to contact the mentor from this project to discuss if there are already some solutions planned.
But ist a big ammount of work to get this to a usefull stage....

Re: Full indexed search?

Any chances that the full-indexed search may get integrated into the mainstream Haiku project?
I know you guys are very hard at work with much more important issues, but... maybe after R1?
Please, developers leave a comment.
Thanks

Re: Full indexed search?

It is already in the main branch, as i yesterday learnd. And there are already the kind of the same changes i made the last week to get it run. it was done buy ingo Weinhold.
http://cgit.haiku-os.org/haiku/log/src/add-ons/index_server

Its just not in the nightlys as they told me.
There was no answer how to build it without building complete haiku.

Still no one told me what need to be done to integrate it into nightly... maybe someone can open a ticket for this :)