[Samba] Searching Samba share file contents
npower at samba.org
Fri Feb 3 11:31:13 UTC 2023
On 03/02/2023 11:07, Kees van Vloten via samba wrote:
> Hi Noel,
> I would be interested in getting this working. There are a few
> obstacles however:
> - Do you really need java and elasticsearch? Would it be feasible to
> use something more lightweight like xapian?
In theory yes, but I have already got it working previously with
elasticsearch, elasticsearch is hugely scaleable (so additionally
probably would be attractive to corporations).
I have at least a little (hard won) idea about the integration needed to
convert the WSP queries to elasticsearch, I have no idea about xapian
(which to be honest I hadn't heard about) what it supports and what is
needed to convert WSP queries to something it understands. Also there is
some crossover too with the spotlight support which also supports
elasticsearch (so there is already some knowledge about it with other here)
So in short I don't intend to work on getting a different indexer to
work right now, but internally the server has a generic api so different
backends should be possible in the future.
If you are still interested in testing it out with elasticsearch let me know
> - I am currently using mjt's debian repo (for debian bullseye). I
> guess my best option is to build the packages myself from mjt's debian
> source with your extra patches and compile options. Not a big issue
> but it takes some time to set that up :-)
> - Kees.
>>> On 01/02/2023 20:07, Jeremy Allison wrote:
>>>> On Wed, Feb 01, 2023 at 07:58:52PM +0000, Vaughan, Robert J via
>>>> samba wrote:
>>>>> Hello Samba listers
>>>>> Is there a way to search Samba share file contents from the
>>>>> Windows client explorer? This works on Windows shares. I can't
>>>>> seem to get a hit on this on Google ..
>>>> Noel Power (Samba Team member at SuSE) has sample code implementing
>>>> search. It hasn't been integrated yet. If you want to test it he
>>>> may be able to make it available to you. I'm CC:ing him on this
More information about the samba