[Samba] Searching Samba share file contents
npower
npower at samba.org
Fri Feb 3 12:34:48 UTC 2023
On 03/02/2023 12:25, Kees van Vloten via samba wrote:
>
> On 03-02-2023 12:31, npower wrote:
>>
>> 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
>>
>> Noel
>>
> Makes sense, elastic it is.
>
> Next question: would it be possible to use share an elastic instance
> with other applications? I have also dovecot indexing and I am busy
> setting up wazuh, it would be nice not to have 3 separate elastic
> instances in 3 containers.
you should be able to setup multiple indexes in an elasticsearch
instance (but... I am no expert, I just run elasticsearch locally for
testing with a singe instance)
>
> Using opensearch instead of elastic should not be an issue or is it?
no idea, I only know opensearch is based on an older version of
elasticsearch, no idea if the rest api I use work or not with opensearch
>>>
>>> - 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 Windows
>>>>>> 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
>>>>>> reply.
>>>>>>
>>>>>> https://sambaxp.org/archive-data-samba/sxp15/SambaXP2015-SLIDES/wed/track1/sambaxp2015-wed-track1-Noel_Power-WindowSearchProtocolAndSamba.pdf
>>>>>>
>>>>
>>>
>
More information about the samba
mailing list