You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by anon <an...@gmail.com> on 2025/01/05 23:36:09 UTC

I may fork nutch. Is it a good plan?

Hello people!!

I was going to fork sourcegraph because I was looking for a search 
engine specific to code source such as github and gitlab with the 
possibility to index decompiled file offline. then I read this copyright
https://github.com/sourcegraph/sourcegraph-public-snapshot/blob/main/LICENSE.enterprise 
<https://github.com/sourcegraph/sourcegraph-public-snapshot/blob/main/LICENSE.enterprise> 
it seems to be *more than* proprietary. Then I just found opensearch. It 
seems modular. I might fork it to:
1- index only source code from github/gitlab and from local to my instance
2- use regex and codeql queries in the search client.

Opensearch seems good but not modular enough.


I think, solr the best choice for me. I will complete with a fork on nutch.

I think a Nutch fork would absolutely complete what I am looking for:

- it is free software

- it is modular on many protocol (not git yet), and solr compatible

I suggest that I fork nutch to add a plugin there 
https://github.com/apache/nutch/tree/master/src/plugin under a new 
folder protocol-file and why not let people fork it.

Is it a good idea?

Best regards.

Fwd: I may fork nutch. Is it a good plan?

Posted by anon anon <an...@gmail.com>.
Hello people!

I am forwarding the solar discussion because it is nutch related. If
somebody could provide the config, I would be really happy.

---------- Forwarded message ---------
De : anon anon <an...@gmail.com>
Date: mer. 8 janv. 2025 à 15:43
Subject: Re: I may fork nutch. Is it a good plan?
To: <us...@solr.apache.org>


Markus: I probably misunderstood your remark.

Could it be possible to use a git clone protocol plugin please?

Le mer. 8 janv. 2025 à 15:41, anon anon <an...@gmail.com> a
écrit :

> David:
>
> I also would like to ensure I clarified correctly.
>
> I absolutely need to index source code to my personal search engine to run
> a regex in solr. I want to look for vulnerabilities with the regex.
>
> COuld you provide the steps for a such configuration of nutch and
> eventually solr please?
>
> Best regards.
>
> Le mer. 8 janv. 2025 à 15:25, anon anon <an...@gmail.com> a
> écrit :
>
>> Hello David,
>>
>> I need a git "clone" indexer to index an as huge as possible database of
>> repo to make cyber security research for my job.
>>
>> Hello Markus,
>>
>> I am open to any proposition.
>>
>> I did not found in the doc how to make a git clone only of a repo url
>> from the crawler indexer config regex. I also see in the source code there
>> https://github.com/apache/nutch/tree/master/src/plugin that the protocol
>> supported are present there. I doubt I could add my own custom protocol in
>> config. I hope I am wrong. If you are sure I could glone a repo in nucth
>> config directly, could you tell me how please?
>>
>> If really you think I need to fork the repo, I can do it as well.
>>
>> Best regards.
>>
>> Le mar. 7 janv. 2025 à 16:01, Markus Jelsma <ma...@openindex.io>
>> a écrit :
>>
>>> Hi,
>>>
>>> Nutch is, just as Solr, highly customizable using all sorts of plugins.
>>> Forking it is not recommended. If you happen to come across behaviour in
>>> one of its tools that is not configurable, it can be made configurable.
>>>
>>> Regards,
>>> Markus
>>>
>>> Op di 7 jan 2025 om 16:52 schreef David Smiley <ds...@apache.org>:
>>>
>>> > Forking anything is a burden on you to maintain your fork.  You didn't
>>> say
>>> > *why* you want to fork something instead of simply use something.  You
>>> > mentioned adding features but search engine platforms like Solr are
>>> > designed to be highly pluggable/extensible without forking.  It's a
>>> > platform not a product.
>>> >
>>> > On Sun, Jan 5, 2025 at 6:36 PM anon <an...@gmail.com>
>>> wrote:
>>> >
>>> > > Hello people!!
>>> > >
>>> > > I was going to fork sourcegraph because I was looking for a search
>>> > > engine specific to code source such as github and gitlab with the
>>> > > possibility to index decompiled file offline. then I read this
>>> copyright
>>> > >
>>> > >
>>> >
>>> https://github.com/sourcegraph/sourcegraph-public-snapshot/blob/main/LICENSE.enterprise
>>> > > <
>>> > >
>>> >
>>> https://github.com/sourcegraph/sourcegraph-public-snapshot/blob/main/LICENSE.enterprise
>>> > >
>>> > >
>>> > > it seems to be *more than* proprietary. Then I just found
>>> opensearch. It
>>> > > seems modular. I might fork it to:
>>> > > 1- index only source code from github/gitlab and from local to my
>>> > instance
>>> > > 2- use regex and codeql queries in the search client.
>>> > >
>>> > > Opensearch seems good but not modular enough.
>>> > >
>>> > >
>>> > > I think, solr the best choice for me. I will complete with a fork on
>>> > nutch.
>>> > >
>>> > > I think a Nutch fork would absolutely complete what I am looking for:
>>> > >
>>> > > - it is free software
>>> > >
>>> > > - it is modular on many protocol (not git yet), and solr compatible
>>> > >
>>> > > I suggest that I fork nutch to add a plugin there
>>> > > https://github.com/apache/nutch/tree/master/src/plugin under a new
>>> > > folder protocol-file and why not let people fork it.
>>> > >
>>> > > Is it a good idea?
>>> > >
>>> > > Best regards.
>>> > >
>>> >
>>>
>>

Re: I may fork nutch. Is it a good plan?

Posted by anon anon <an...@gmail.com>.
Hey people!

I finally succeeded to deploy zoekt in local! It works like a charm!

zoekt does both indexer and search engine.

I want to fork nutch to add git clone protocol to make it compatible with
solr. It will be much more modular and configurable than zoekt!!!

I am wondering if people there are interested. I could publish the nutch
plugin in an open source way.

I will write a lot of documentation !

Best regards!



Le ven. 24 janv. 2025 à 17:18, anon anon <an...@gmail.com> a
écrit :

> I am currently digging the zoekt indexer trough the lack of flexibility. I
> will see.
>
> Le lun. 13 janv. 2025 à 00:43, Jan Høydahl <ja...@cominvent.com> a
> écrit :
>
>> Hi
>>
>> I think you are conflating Contributor policy with code license.
>> The license for the source code is at
>> https://github.com/sourcegraph/zoekt/blob/main/LICENSE and clearly gives
>> you wide rights wrt use, modification and re-distribution. If you want to
>> contribute code upstream you will need to obey by they CLA but that is a
>> different matter.
>>
>> I am not familiar with zoekt community so you'll need to research how to
>> ask questions. Looks like people ask questions in GitHub issues..
>>
>> Jan
>>
>> > 10. jan. 2025 kl. 07:13 skrev anon anon <an...@gmail.com>:
>> >
>> > Are you sure it is apache2-0 ? the cla seems weird ! read article 3:
>> >
>> https://docs.google.com/forms/d/e/1FAIpQLSfxy_9WJptKeTmTsrQ6C-5JeiVs4i1pUiahzgLZta1t6Nls-g/viewform
>> >
>> > Le jeu. 9 janv. 2025 à 14:15, anon anon <an...@gmail.com> a
>> > écrit :
>> >
>> >> Jan : yes you were right! It seems that zoekt is still open source
>> trought
>> >> bought by sourcegraph.
>> >>
>> >> I spent hours to start to build it but might be a nice alternative. It
>> had
>> >> to change a single line to run on debian.
>> >>
>> >> I like modularity and configurability as well. If I could use nutch to
>> >> reduce the time to spend to fork zoekt it could be better.
>> >>
>> >> Sorry for the off topic! Do you know any on-topic list or community
>> please?
>> >>
>> >> Le jeu. 9 janv. 2025 à 10:02, Jan Høydahl <ja...@cominvent.com> a
>> >> écrit :
>> >>
>> >>> Zoekt is open source available under the same license as Solr,
>> Opensearch
>> >>> and Nutch. I'm not sure why you believe you cannot use it?
>> >>> Anyway, this is off-topic for the solr list, you should probably
>> engage
>> >>> with the community / mailing list of the product you intend to use :)
>> >>>
>> >>> Jan
>> >>>
>> >>>> 8. jan. 2025 kl. 22:59 skrev anon anon <an...@gmail.com>:
>> >>>>
>> >>>> https://github.com/sourcegraph/zoekt is owned by sourcegraph I will
>> >>> choose
>> >>>> livegrep or opengrok
>> >>>>
>> >>>> Le mer. 8 janv. 2025 à 22:16, Jan Høydahl <ja...@cominvent.com> a
>> >>> écrit :
>> >>>>
>> >>>>> I think a tailored code search engine is better for your job. Like
>> >>>>> livegrep, zoekt or opengrok.
>> >>>>>
>> >>>>> Jan Høydahl
>> >>>>>
>> >>>>>> 8. jan. 2025 kl. 20:41 skrev anon anon <anonimoussechoco@gmail.com
>> >:
>> >>>>>>
>> >>>>>> I already knew and tested grep.app. It is definitely a great soft!
>> >>>>>>
>> >>>>>> I need my own search because:
>> >>>>>> - I need regex on ALL search in a way similar to sourcegraph that
>> >>> already
>> >>>>>> does it
>> >>>>>> - I plan to edit the search query in a custom way to set codeql
>> rules
>> >>> in
>> >>>>> a
>> >>>>>> far future
>> >>>>>> - I need to choose a selected range of indexed repos
>> >>>>>> - sometimes I also need more repos than the ones that have already
>> >>> been
>> >>>>>> indexed.
>> >>>>>> - I like to use only open source in case of issue in the future.
>> Also
>> >>> to
>> >>>>>> avoid depenence to a tool/ to an infra
>> >>>>>
>> >>>
>> >>>
>>
>>

Re: I may fork nutch. Is it a good plan?

Posted by anon anon <an...@gmail.com>.
I am currently digging the zoekt indexer trough the lack of flexibility. I
will see.

Le lun. 13 janv. 2025 à 00:43, Jan Høydahl <ja...@cominvent.com> a écrit :

> Hi
>
> I think you are conflating Contributor policy with code license.
> The license for the source code is at
> https://github.com/sourcegraph/zoekt/blob/main/LICENSE and clearly gives
> you wide rights wrt use, modification and re-distribution. If you want to
> contribute code upstream you will need to obey by they CLA but that is a
> different matter.
>
> I am not familiar with zoekt community so you'll need to research how to
> ask questions. Looks like people ask questions in GitHub issues..
>
> Jan
>
> > 10. jan. 2025 kl. 07:13 skrev anon anon <an...@gmail.com>:
> >
> > Are you sure it is apache2-0 ? the cla seems weird ! read article 3:
> >
> https://docs.google.com/forms/d/e/1FAIpQLSfxy_9WJptKeTmTsrQ6C-5JeiVs4i1pUiahzgLZta1t6Nls-g/viewform
> >
> > Le jeu. 9 janv. 2025 à 14:15, anon anon <an...@gmail.com> a
> > écrit :
> >
> >> Jan : yes you were right! It seems that zoekt is still open source
> trought
> >> bought by sourcegraph.
> >>
> >> I spent hours to start to build it but might be a nice alternative. It
> had
> >> to change a single line to run on debian.
> >>
> >> I like modularity and configurability as well. If I could use nutch to
> >> reduce the time to spend to fork zoekt it could be better.
> >>
> >> Sorry for the off topic! Do you know any on-topic list or community
> please?
> >>
> >> Le jeu. 9 janv. 2025 à 10:02, Jan Høydahl <ja...@cominvent.com> a
> >> écrit :
> >>
> >>> Zoekt is open source available under the same license as Solr,
> Opensearch
> >>> and Nutch. I'm not sure why you believe you cannot use it?
> >>> Anyway, this is off-topic for the solr list, you should probably engage
> >>> with the community / mailing list of the product you intend to use :)
> >>>
> >>> Jan
> >>>
> >>>> 8. jan. 2025 kl. 22:59 skrev anon anon <an...@gmail.com>:
> >>>>
> >>>> https://github.com/sourcegraph/zoekt is owned by sourcegraph I will
> >>> choose
> >>>> livegrep or opengrok
> >>>>
> >>>> Le mer. 8 janv. 2025 à 22:16, Jan Høydahl <ja...@cominvent.com> a
> >>> écrit :
> >>>>
> >>>>> I think a tailored code search engine is better for your job. Like
> >>>>> livegrep, zoekt or opengrok.
> >>>>>
> >>>>> Jan Høydahl
> >>>>>
> >>>>>> 8. jan. 2025 kl. 20:41 skrev anon anon <anonimoussechoco@gmail.com
> >:
> >>>>>>
> >>>>>> I already knew and tested grep.app. It is definitely a great soft!
> >>>>>>
> >>>>>> I need my own search because:
> >>>>>> - I need regex on ALL search in a way similar to sourcegraph that
> >>> already
> >>>>>> does it
> >>>>>> - I plan to edit the search query in a custom way to set codeql
> rules
> >>> in
> >>>>> a
> >>>>>> far future
> >>>>>> - I need to choose a selected range of indexed repos
> >>>>>> - sometimes I also need more repos than the ones that have already
> >>> been
> >>>>>> indexed.
> >>>>>> - I like to use only open source in case of issue in the future.
> Also
> >>> to
> >>>>>> avoid depenence to a tool/ to an infra
> >>>>>
> >>>
> >>>
>
>

Re: I may fork nutch. Is it a good plan?

Posted by Jan Høydahl <ja...@cominvent.com>.
Hi

I think you are conflating Contributor policy with code license. 
The license for the source code is at https://github.com/sourcegraph/zoekt/blob/main/LICENSE and clearly gives you wide rights wrt use, modification and re-distribution. If you want to contribute code upstream you will need to obey by they CLA but that is a different matter.

I am not familiar with zoekt community so you'll need to research how to ask questions. Looks like people ask questions in GitHub issues..

Jan

> 10. jan. 2025 kl. 07:13 skrev anon anon <an...@gmail.com>:
> 
> Are you sure it is apache2-0 ? the cla seems weird ! read article 3:
> https://docs.google.com/forms/d/e/1FAIpQLSfxy_9WJptKeTmTsrQ6C-5JeiVs4i1pUiahzgLZta1t6Nls-g/viewform
> 
> Le jeu. 9 janv. 2025 à 14:15, anon anon <an...@gmail.com> a
> écrit :
> 
>> Jan : yes you were right! It seems that zoekt is still open source trought
>> bought by sourcegraph.
>> 
>> I spent hours to start to build it but might be a nice alternative. It had
>> to change a single line to run on debian.
>> 
>> I like modularity and configurability as well. If I could use nutch to
>> reduce the time to spend to fork zoekt it could be better.
>> 
>> Sorry for the off topic! Do you know any on-topic list or community please?
>> 
>> Le jeu. 9 janv. 2025 à 10:02, Jan Høydahl <ja...@cominvent.com> a
>> écrit :
>> 
>>> Zoekt is open source available under the same license as Solr, Opensearch
>>> and Nutch. I'm not sure why you believe you cannot use it?
>>> Anyway, this is off-topic for the solr list, you should probably engage
>>> with the community / mailing list of the product you intend to use :)
>>> 
>>> Jan
>>> 
>>>> 8. jan. 2025 kl. 22:59 skrev anon anon <an...@gmail.com>:
>>>> 
>>>> https://github.com/sourcegraph/zoekt is owned by sourcegraph I will
>>> choose
>>>> livegrep or opengrok
>>>> 
>>>> Le mer. 8 janv. 2025 à 22:16, Jan Høydahl <ja...@cominvent.com> a
>>> écrit :
>>>> 
>>>>> I think a tailored code search engine is better for your job. Like
>>>>> livegrep, zoekt or opengrok.
>>>>> 
>>>>> Jan Høydahl
>>>>> 
>>>>>> 8. jan. 2025 kl. 20:41 skrev anon anon <an...@gmail.com>:
>>>>>> 
>>>>>> I already knew and tested grep.app. It is definitely a great soft!
>>>>>> 
>>>>>> I need my own search because:
>>>>>> - I need regex on ALL search in a way similar to sourcegraph that
>>> already
>>>>>> does it
>>>>>> - I plan to edit the search query in a custom way to set codeql rules
>>> in
>>>>> a
>>>>>> far future
>>>>>> - I need to choose a selected range of indexed repos
>>>>>> - sometimes I also need more repos than the ones that have already
>>> been
>>>>>> indexed.
>>>>>> - I like to use only open source in case of issue in the future. Also
>>> to
>>>>>> avoid depenence to a tool/ to an infra
>>>>> 
>>> 
>>> 


Re: I may fork nutch. Is it a good plan?

Posted by anon anon <an...@gmail.com>.
 Are you sure it is apache2-0 ? the cla seems weird ! read article 3:
https://docs.google.com/forms/d/e/1FAIpQLSfxy_9WJptKeTmTsrQ6C-5JeiVs4i1pUiahzgLZta1t6Nls-g/viewform

Le jeu. 9 janv. 2025 à 14:15, anon anon <an...@gmail.com> a
écrit :

> Jan : yes you were right! It seems that zoekt is still open source trought
> bought by sourcegraph.
>
> I spent hours to start to build it but might be a nice alternative. It had
> to change a single line to run on debian.
>
> I like modularity and configurability as well. If I could use nutch to
> reduce the time to spend to fork zoekt it could be better.
>
> Sorry for the off topic! Do you know any on-topic list or community please?
>
> Le jeu. 9 janv. 2025 à 10:02, Jan Høydahl <ja...@cominvent.com> a
> écrit :
>
>> Zoekt is open source available under the same license as Solr, Opensearch
>> and Nutch. I'm not sure why you believe you cannot use it?
>> Anyway, this is off-topic for the solr list, you should probably engage
>> with the community / mailing list of the product you intend to use :)
>>
>> Jan
>>
>> > 8. jan. 2025 kl. 22:59 skrev anon anon <an...@gmail.com>:
>> >
>> > https://github.com/sourcegraph/zoekt is owned by sourcegraph I will
>> choose
>> > livegrep or opengrok
>> >
>> > Le mer. 8 janv. 2025 à 22:16, Jan Høydahl <ja...@cominvent.com> a
>> écrit :
>> >
>> >> I think a tailored code search engine is better for your job. Like
>> >> livegrep, zoekt or opengrok.
>> >>
>> >> Jan Høydahl
>> >>
>> >>> 8. jan. 2025 kl. 20:41 skrev anon anon <an...@gmail.com>:
>> >>>
>> >>> I already knew and tested grep.app. It is definitely a great soft!
>> >>>
>> >>> I need my own search because:
>> >>> - I need regex on ALL search in a way similar to sourcegraph that
>> already
>> >>> does it
>> >>> - I plan to edit the search query in a custom way to set codeql rules
>> in
>> >> a
>> >>> far future
>> >>> - I need to choose a selected range of indexed repos
>> >>> - sometimes I also need more repos than the ones that have already
>> been
>> >>> indexed.
>> >>> - I like to use only open source in case of issue in the future. Also
>> to
>> >>> avoid depenence to a tool/ to an infra
>> >>
>>
>>

Re: I may fork nutch. Is it a good plan?

Posted by anon anon <an...@gmail.com>.
Jan : yes you were right! It seems that zoekt is still open source trought
bought by sourcegraph.

I spent hours to start to build it but might be a nice alternative. It had
to change a single line to run on debian.

I like modularity and configurability as well. If I could use nutch to
reduce the time to spend to fork zoekt it could be better.

Sorry for the off topic! Do you know any on-topic list or community please?

Le jeu. 9 janv. 2025 à 10:02, Jan Høydahl <ja...@cominvent.com> a écrit :

> Zoekt is open source available under the same license as Solr, Opensearch
> and Nutch. I'm not sure why you believe you cannot use it?
> Anyway, this is off-topic for the solr list, you should probably engage
> with the community / mailing list of the product you intend to use :)
>
> Jan
>
> > 8. jan. 2025 kl. 22:59 skrev anon anon <an...@gmail.com>:
> >
> > https://github.com/sourcegraph/zoekt is owned by sourcegraph I will
> choose
> > livegrep or opengrok
> >
> > Le mer. 8 janv. 2025 à 22:16, Jan Høydahl <ja...@cominvent.com> a
> écrit :
> >
> >> I think a tailored code search engine is better for your job. Like
> >> livegrep, zoekt or opengrok.
> >>
> >> Jan Høydahl
> >>
> >>> 8. jan. 2025 kl. 20:41 skrev anon anon <an...@gmail.com>:
> >>>
> >>> I already knew and tested grep.app. It is definitely a great soft!
> >>>
> >>> I need my own search because:
> >>> - I need regex on ALL search in a way similar to sourcegraph that
> already
> >>> does it
> >>> - I plan to edit the search query in a custom way to set codeql rules
> in
> >> a
> >>> far future
> >>> - I need to choose a selected range of indexed repos
> >>> - sometimes I also need more repos than the ones that have already been
> >>> indexed.
> >>> - I like to use only open source in case of issue in the future. Also
> to
> >>> avoid depenence to a tool/ to an infra
> >>
>
>

Re: I may fork nutch. Is it a good plan?

Posted by Jan Høydahl <ja...@cominvent.com>.
Zoekt is open source available under the same license as Solr, Opensearch and Nutch. I'm not sure why you believe you cannot use it?
Anyway, this is off-topic for the solr list, you should probably engage with the community / mailing list of the product you intend to use :)

Jan

> 8. jan. 2025 kl. 22:59 skrev anon anon <an...@gmail.com>:
> 
> https://github.com/sourcegraph/zoekt is owned by sourcegraph I will choose
> livegrep or opengrok
> 
> Le mer. 8 janv. 2025 à 22:16, Jan Høydahl <ja...@cominvent.com> a écrit :
> 
>> I think a tailored code search engine is better for your job. Like
>> livegrep, zoekt or opengrok.
>> 
>> Jan Høydahl
>> 
>>> 8. jan. 2025 kl. 20:41 skrev anon anon <an...@gmail.com>:
>>> 
>>> I already knew and tested grep.app. It is definitely a great soft!
>>> 
>>> I need my own search because:
>>> - I need regex on ALL search in a way similar to sourcegraph that already
>>> does it
>>> - I plan to edit the search query in a custom way to set codeql rules in
>> a
>>> far future
>>> - I need to choose a selected range of indexed repos
>>> - sometimes I also need more repos than the ones that have already been
>>> indexed.
>>> - I like to use only open source in case of issue in the future. Also to
>>> avoid depenence to a tool/ to an infra
>> 


Re: I may fork nutch. Is it a good plan?

Posted by anon anon <an...@gmail.com>.
https://github.com/sourcegraph/zoekt is owned by sourcegraph I will choose
livegrep or opengrok

Le mer. 8 janv. 2025 à 22:16, Jan Høydahl <ja...@cominvent.com> a écrit :

> I think a tailored code search engine is better for your job. Like
> livegrep, zoekt or opengrok.
>
> Jan Høydahl
>
> > 8. jan. 2025 kl. 20:41 skrev anon anon <an...@gmail.com>:
> >
> > I already knew and tested grep.app. It is definitely a great soft!
> >
> > I need my own search because:
> > - I need regex on ALL search in a way similar to sourcegraph that already
> > does it
> > - I plan to edit the search query in a custom way to set codeql rules in
> a
> > far future
> > - I need to choose a selected range of indexed repos
> > - sometimes I also need more repos than the ones that have already been
> > indexed.
> > - I like to use only open source in case of issue in the future. Also to
> > avoid depenence to a tool/ to an infra
>

Re: I may fork nutch. Is it a good plan?

Posted by Jan Høydahl <ja...@cominvent.com>.
I think a tailored code search engine is better for your job. Like livegrep, zoekt or opengrok.

Jan Høydahl

> 8. jan. 2025 kl. 20:41 skrev anon anon <an...@gmail.com>:
> 
> I already knew and tested grep.app. It is definitely a great soft!
> 
> I need my own search because:
> - I need regex on ALL search in a way similar to sourcegraph that already
> does it
> - I plan to edit the search query in a custom way to set codeql rules in a
> far future
> - I need to choose a selected range of indexed repos
> - sometimes I also need more repos than the ones that have already been
> indexed.
> - I like to use only open source in case of issue in the future. Also to
> avoid depenence to a tool/ to an infra

Re: I may fork nutch. Is it a good plan?

Posted by anon anon <an...@gmail.com>.
Hello Gus!

I already knew and tested grep.app. It is definitely a great soft!

I need my own search because:
- I need regex on ALL search in a way similar to sourcegraph that already
does it
- I plan to edit the search query in a custom way to set codeql rules in a
far future
- I need to choose a selected range of indexed repos
- sometimes I also need more repos than the ones that have already been
indexed.
- I like to use only open source in case of issue in the future. Also to
avoid depenence to a tool/ to an infra

If I could contact your friend, it would be a great help! The world is
tiny! :)

Le mer. 8 janv. 2025 à 17:41, Gus Heck <gu...@gmail.com> a écrit :

> Perhaps you're looking for https://grep.app/ ? It does regex search vs
> github and was recently acquired by Vercel. It was written by a friend of
> mine.
>
> On Wed, Jan 8, 2025 at 9:44 AM anon anon <an...@gmail.com>
> wrote:
>
> > Markus: I probably misunderstood your remark.
> >
> > Could it be possible to use a git clone protocol plugin please?
> >
> > Le mer. 8 janv. 2025 à 15:41, anon anon <an...@gmail.com> a
> > écrit :
> >
> > > David:
> > >
> > > I also would like to ensure I clarified correctly.
> > >
> > > I absolutely need to index source code to my personal search engine to
> > run
> > > a regex in solr. I want to look for vulnerabilities with the regex.
> > >
> > > COuld you provide the steps for a such configuration of nutch and
> > > eventually solr please?
> > >
> > > Best regards.
> > >
> > > Le mer. 8 janv. 2025 à 15:25, anon anon <an...@gmail.com> a
> > > écrit :
> > >
> > >> Hello David,
> > >>
> > >> I need a git "clone" indexer to index an as huge as possible database
> of
> > >> repo to make cyber security research for my job.
> > >>
> > >> Hello Markus,
> > >>
> > >> I am open to any proposition.
> > >>
> > >> I did not found in the doc how to make a git clone only of a repo url
> > >> from the crawler indexer config regex. I also see in the source code
> > there
> > >> https://github.com/apache/nutch/tree/master/src/plugin that the
> > protocol
> > >> supported are present there. I doubt I could add my own custom
> protocol
> > in
> > >> config. I hope I am wrong. If you are sure I could glone a repo in
> nucth
> > >> config directly, could you tell me how please?
> > >>
> > >> If really you think I need to fork the repo, I can do it as well.
> > >>
> > >> Best regards.
> > >>
> > >> Le mar. 7 janv. 2025 à 16:01, Markus Jelsma <
> markus.jelsma@openindex.io
> > >
> > >> a écrit :
> > >>
> > >>> Hi,
> > >>>
> > >>> Nutch is, just as Solr, highly customizable using all sorts of
> plugins.
> > >>> Forking it is not recommended. If you happen to come across behaviour
> > in
> > >>> one of its tools that is not configurable, it can be made
> configurable.
> > >>>
> > >>> Regards,
> > >>> Markus
> > >>>
> > >>> Op di 7 jan 2025 om 16:52 schreef David Smiley <ds...@apache.org>:
> > >>>
> > >>> > Forking anything is a burden on you to maintain your fork.  You
> > didn't
> > >>> say
> > >>> > *why* you want to fork something instead of simply use something.
> > You
> > >>> > mentioned adding features but search engine platforms like Solr are
> > >>> > designed to be highly pluggable/extensible without forking.  It's a
> > >>> > platform not a product.
> > >>> >
> > >>> > On Sun, Jan 5, 2025 at 6:36 PM anon <an...@gmail.com>
> > >>> wrote:
> > >>> >
> > >>> > > Hello people!!
> > >>> > >
> > >>> > > I was going to fork sourcegraph because I was looking for a
> search
> > >>> > > engine specific to code source such as github and gitlab with the
> > >>> > > possibility to index decompiled file offline. then I read this
> > >>> copyright
> > >>> > >
> > >>> > >
> > >>> >
> > >>>
> >
> https://github.com/sourcegraph/sourcegraph-public-snapshot/blob/main/LICENSE.enterprise
> > >>> > > <
> > >>> > >
> > >>> >
> > >>>
> >
> https://github.com/sourcegraph/sourcegraph-public-snapshot/blob/main/LICENSE.enterprise
> > >>> > >
> > >>> > >
> > >>> > > it seems to be *more than* proprietary. Then I just found
> > >>> opensearch. It
> > >>> > > seems modular. I might fork it to:
> > >>> > > 1- index only source code from github/gitlab and from local to my
> > >>> > instance
> > >>> > > 2- use regex and codeql queries in the search client.
> > >>> > >
> > >>> > > Opensearch seems good but not modular enough.
> > >>> > >
> > >>> > >
> > >>> > > I think, solr the best choice for me. I will complete with a fork
> > on
> > >>> > nutch.
> > >>> > >
> > >>> > > I think a Nutch fork would absolutely complete what I am looking
> > for:
> > >>> > >
> > >>> > > - it is free software
> > >>> > >
> > >>> > > - it is modular on many protocol (not git yet), and solr
> compatible
> > >>> > >
> > >>> > > I suggest that I fork nutch to add a plugin there
> > >>> > > https://github.com/apache/nutch/tree/master/src/plugin under a
> new
> > >>> > > folder protocol-file and why not let people fork it.
> > >>> > >
> > >>> > > Is it a good idea?
> > >>> > >
> > >>> > > Best regards.
> > >>> > >
> > >>> >
> > >>>
> > >>
> >
>
>
> --
> http://www.needhamsoftware.com (work)
> https://a.co/d/b2sZLD9 (my fantasy fiction book)
>

Re: I may fork nutch. Is it a good plan?

Posted by Gus Heck <gu...@gmail.com>.
Perhaps you're looking for https://grep.app/ ? It does regex search vs
github and was recently acquired by Vercel. It was written by a friend of
mine.

On Wed, Jan 8, 2025 at 9:44 AM anon anon <an...@gmail.com> wrote:

> Markus: I probably misunderstood your remark.
>
> Could it be possible to use a git clone protocol plugin please?
>
> Le mer. 8 janv. 2025 à 15:41, anon anon <an...@gmail.com> a
> écrit :
>
> > David:
> >
> > I also would like to ensure I clarified correctly.
> >
> > I absolutely need to index source code to my personal search engine to
> run
> > a regex in solr. I want to look for vulnerabilities with the regex.
> >
> > COuld you provide the steps for a such configuration of nutch and
> > eventually solr please?
> >
> > Best regards.
> >
> > Le mer. 8 janv. 2025 à 15:25, anon anon <an...@gmail.com> a
> > écrit :
> >
> >> Hello David,
> >>
> >> I need a git "clone" indexer to index an as huge as possible database of
> >> repo to make cyber security research for my job.
> >>
> >> Hello Markus,
> >>
> >> I am open to any proposition.
> >>
> >> I did not found in the doc how to make a git clone only of a repo url
> >> from the crawler indexer config regex. I also see in the source code
> there
> >> https://github.com/apache/nutch/tree/master/src/plugin that the
> protocol
> >> supported are present there. I doubt I could add my own custom protocol
> in
> >> config. I hope I am wrong. If you are sure I could glone a repo in nucth
> >> config directly, could you tell me how please?
> >>
> >> If really you think I need to fork the repo, I can do it as well.
> >>
> >> Best regards.
> >>
> >> Le mar. 7 janv. 2025 à 16:01, Markus Jelsma <markus.jelsma@openindex.io
> >
> >> a écrit :
> >>
> >>> Hi,
> >>>
> >>> Nutch is, just as Solr, highly customizable using all sorts of plugins.
> >>> Forking it is not recommended. If you happen to come across behaviour
> in
> >>> one of its tools that is not configurable, it can be made configurable.
> >>>
> >>> Regards,
> >>> Markus
> >>>
> >>> Op di 7 jan 2025 om 16:52 schreef David Smiley <ds...@apache.org>:
> >>>
> >>> > Forking anything is a burden on you to maintain your fork.  You
> didn't
> >>> say
> >>> > *why* you want to fork something instead of simply use something.
> You
> >>> > mentioned adding features but search engine platforms like Solr are
> >>> > designed to be highly pluggable/extensible without forking.  It's a
> >>> > platform not a product.
> >>> >
> >>> > On Sun, Jan 5, 2025 at 6:36 PM anon <an...@gmail.com>
> >>> wrote:
> >>> >
> >>> > > Hello people!!
> >>> > >
> >>> > > I was going to fork sourcegraph because I was looking for a search
> >>> > > engine specific to code source such as github and gitlab with the
> >>> > > possibility to index decompiled file offline. then I read this
> >>> copyright
> >>> > >
> >>> > >
> >>> >
> >>>
> https://github.com/sourcegraph/sourcegraph-public-snapshot/blob/main/LICENSE.enterprise
> >>> > > <
> >>> > >
> >>> >
> >>>
> https://github.com/sourcegraph/sourcegraph-public-snapshot/blob/main/LICENSE.enterprise
> >>> > >
> >>> > >
> >>> > > it seems to be *more than* proprietary. Then I just found
> >>> opensearch. It
> >>> > > seems modular. I might fork it to:
> >>> > > 1- index only source code from github/gitlab and from local to my
> >>> > instance
> >>> > > 2- use regex and codeql queries in the search client.
> >>> > >
> >>> > > Opensearch seems good but not modular enough.
> >>> > >
> >>> > >
> >>> > > I think, solr the best choice for me. I will complete with a fork
> on
> >>> > nutch.
> >>> > >
> >>> > > I think a Nutch fork would absolutely complete what I am looking
> for:
> >>> > >
> >>> > > - it is free software
> >>> > >
> >>> > > - it is modular on many protocol (not git yet), and solr compatible
> >>> > >
> >>> > > I suggest that I fork nutch to add a plugin there
> >>> > > https://github.com/apache/nutch/tree/master/src/plugin under a new
> >>> > > folder protocol-file and why not let people fork it.
> >>> > >
> >>> > > Is it a good idea?
> >>> > >
> >>> > > Best regards.
> >>> > >
> >>> >
> >>>
> >>
>


-- 
http://www.needhamsoftware.com (work)
https://a.co/d/b2sZLD9 (my fantasy fiction book)

Re: I may fork nutch. Is it a good plan?

Posted by anon anon <an...@gmail.com>.
Markus: I probably misunderstood your remark.

Could it be possible to use a git clone protocol plugin please?

Le mer. 8 janv. 2025 à 15:41, anon anon <an...@gmail.com> a
écrit :

> David:
>
> I also would like to ensure I clarified correctly.
>
> I absolutely need to index source code to my personal search engine to run
> a regex in solr. I want to look for vulnerabilities with the regex.
>
> COuld you provide the steps for a such configuration of nutch and
> eventually solr please?
>
> Best regards.
>
> Le mer. 8 janv. 2025 à 15:25, anon anon <an...@gmail.com> a
> écrit :
>
>> Hello David,
>>
>> I need a git "clone" indexer to index an as huge as possible database of
>> repo to make cyber security research for my job.
>>
>> Hello Markus,
>>
>> I am open to any proposition.
>>
>> I did not found in the doc how to make a git clone only of a repo url
>> from the crawler indexer config regex. I also see in the source code there
>> https://github.com/apache/nutch/tree/master/src/plugin that the protocol
>> supported are present there. I doubt I could add my own custom protocol in
>> config. I hope I am wrong. If you are sure I could glone a repo in nucth
>> config directly, could you tell me how please?
>>
>> If really you think I need to fork the repo, I can do it as well.
>>
>> Best regards.
>>
>> Le mar. 7 janv. 2025 à 16:01, Markus Jelsma <ma...@openindex.io>
>> a écrit :
>>
>>> Hi,
>>>
>>> Nutch is, just as Solr, highly customizable using all sorts of plugins.
>>> Forking it is not recommended. If you happen to come across behaviour in
>>> one of its tools that is not configurable, it can be made configurable.
>>>
>>> Regards,
>>> Markus
>>>
>>> Op di 7 jan 2025 om 16:52 schreef David Smiley <ds...@apache.org>:
>>>
>>> > Forking anything is a burden on you to maintain your fork.  You didn't
>>> say
>>> > *why* you want to fork something instead of simply use something.  You
>>> > mentioned adding features but search engine platforms like Solr are
>>> > designed to be highly pluggable/extensible without forking.  It's a
>>> > platform not a product.
>>> >
>>> > On Sun, Jan 5, 2025 at 6:36 PM anon <an...@gmail.com>
>>> wrote:
>>> >
>>> > > Hello people!!
>>> > >
>>> > > I was going to fork sourcegraph because I was looking for a search
>>> > > engine specific to code source such as github and gitlab with the
>>> > > possibility to index decompiled file offline. then I read this
>>> copyright
>>> > >
>>> > >
>>> >
>>> https://github.com/sourcegraph/sourcegraph-public-snapshot/blob/main/LICENSE.enterprise
>>> > > <
>>> > >
>>> >
>>> https://github.com/sourcegraph/sourcegraph-public-snapshot/blob/main/LICENSE.enterprise
>>> > >
>>> > >
>>> > > it seems to be *more than* proprietary. Then I just found
>>> opensearch. It
>>> > > seems modular. I might fork it to:
>>> > > 1- index only source code from github/gitlab and from local to my
>>> > instance
>>> > > 2- use regex and codeql queries in the search client.
>>> > >
>>> > > Opensearch seems good but not modular enough.
>>> > >
>>> > >
>>> > > I think, solr the best choice for me. I will complete with a fork on
>>> > nutch.
>>> > >
>>> > > I think a Nutch fork would absolutely complete what I am looking for:
>>> > >
>>> > > - it is free software
>>> > >
>>> > > - it is modular on many protocol (not git yet), and solr compatible
>>> > >
>>> > > I suggest that I fork nutch to add a plugin there
>>> > > https://github.com/apache/nutch/tree/master/src/plugin under a new
>>> > > folder protocol-file and why not let people fork it.
>>> > >
>>> > > Is it a good idea?
>>> > >
>>> > > Best regards.
>>> > >
>>> >
>>>
>>

Re: I may fork nutch. Is it a good plan?

Posted by anon anon <an...@gmail.com>.
David:

I also would like to ensure I clarified correctly.

I absolutely need to index source code to my personal search engine to run
a regex in solr. I want to look for vulnerabilities with the regex.

COuld you provide the steps for a such configuration of nutch and
eventually solr please?

Best regards.

Le mer. 8 janv. 2025 à 15:25, anon anon <an...@gmail.com> a
écrit :

> Hello David,
>
> I need a git "clone" indexer to index an as huge as possible database of
> repo to make cyber security research for my job.
>
> Hello Markus,
>
> I am open to any proposition.
>
> I did not found in the doc how to make a git clone only of a repo url from
> the crawler indexer config regex. I also see in the source code there
> https://github.com/apache/nutch/tree/master/src/plugin that the protocol
> supported are present there. I doubt I could add my own custom protocol in
> config. I hope I am wrong. If you are sure I could glone a repo in nucth
> config directly, could you tell me how please?
>
> If really you think I need to fork the repo, I can do it as well.
>
> Best regards.
>
> Le mar. 7 janv. 2025 à 16:01, Markus Jelsma <ma...@openindex.io>
> a écrit :
>
>> Hi,
>>
>> Nutch is, just as Solr, highly customizable using all sorts of plugins.
>> Forking it is not recommended. If you happen to come across behaviour in
>> one of its tools that is not configurable, it can be made configurable.
>>
>> Regards,
>> Markus
>>
>> Op di 7 jan 2025 om 16:52 schreef David Smiley <ds...@apache.org>:
>>
>> > Forking anything is a burden on you to maintain your fork.  You didn't
>> say
>> > *why* you want to fork something instead of simply use something.  You
>> > mentioned adding features but search engine platforms like Solr are
>> > designed to be highly pluggable/extensible without forking.  It's a
>> > platform not a product.
>> >
>> > On Sun, Jan 5, 2025 at 6:36 PM anon <an...@gmail.com> wrote:
>> >
>> > > Hello people!!
>> > >
>> > > I was going to fork sourcegraph because I was looking for a search
>> > > engine specific to code source such as github and gitlab with the
>> > > possibility to index decompiled file offline. then I read this
>> copyright
>> > >
>> > >
>> >
>> https://github.com/sourcegraph/sourcegraph-public-snapshot/blob/main/LICENSE.enterprise
>> > > <
>> > >
>> >
>> https://github.com/sourcegraph/sourcegraph-public-snapshot/blob/main/LICENSE.enterprise
>> > >
>> > >
>> > > it seems to be *more than* proprietary. Then I just found opensearch.
>> It
>> > > seems modular. I might fork it to:
>> > > 1- index only source code from github/gitlab and from local to my
>> > instance
>> > > 2- use regex and codeql queries in the search client.
>> > >
>> > > Opensearch seems good but not modular enough.
>> > >
>> > >
>> > > I think, solr the best choice for me. I will complete with a fork on
>> > nutch.
>> > >
>> > > I think a Nutch fork would absolutely complete what I am looking for:
>> > >
>> > > - it is free software
>> > >
>> > > - it is modular on many protocol (not git yet), and solr compatible
>> > >
>> > > I suggest that I fork nutch to add a plugin there
>> > > https://github.com/apache/nutch/tree/master/src/plugin under a new
>> > > folder protocol-file and why not let people fork it.
>> > >
>> > > Is it a good idea?
>> > >
>> > > Best regards.
>> > >
>> >
>>
>

Re: I may fork nutch. Is it a good plan?

Posted by anon anon <an...@gmail.com>.
Hello David,

I need a git "clone" indexer to index an as huge as possible database of
repo to make cyber security research for my job.

Hello Markus,

I am open to any proposition.

I did not found in the doc how to make a git clone only of a repo url from
the crawler indexer config regex. I also see in the source code there
https://github.com/apache/nutch/tree/master/src/plugin that the protocol
supported are present there. I doubt I could add my own custom protocol in
config. I hope I am wrong. If you are sure I could glone a repo in nucth
config directly, could you tell me how please?

If really you think I need to fork the repo, I can do it as well.

Best regards.

Le mar. 7 janv. 2025 à 16:01, Markus Jelsma <ma...@openindex.io> a
écrit :

> Hi,
>
> Nutch is, just as Solr, highly customizable using all sorts of plugins.
> Forking it is not recommended. If you happen to come across behaviour in
> one of its tools that is not configurable, it can be made configurable.
>
> Regards,
> Markus
>
> Op di 7 jan 2025 om 16:52 schreef David Smiley <ds...@apache.org>:
>
> > Forking anything is a burden on you to maintain your fork.  You didn't
> say
> > *why* you want to fork something instead of simply use something.  You
> > mentioned adding features but search engine platforms like Solr are
> > designed to be highly pluggable/extensible without forking.  It's a
> > platform not a product.
> >
> > On Sun, Jan 5, 2025 at 6:36 PM anon <an...@gmail.com> wrote:
> >
> > > Hello people!!
> > >
> > > I was going to fork sourcegraph because I was looking for a search
> > > engine specific to code source such as github and gitlab with the
> > > possibility to index decompiled file offline. then I read this
> copyright
> > >
> > >
> >
> https://github.com/sourcegraph/sourcegraph-public-snapshot/blob/main/LICENSE.enterprise
> > > <
> > >
> >
> https://github.com/sourcegraph/sourcegraph-public-snapshot/blob/main/LICENSE.enterprise
> > >
> > >
> > > it seems to be *more than* proprietary. Then I just found opensearch.
> It
> > > seems modular. I might fork it to:
> > > 1- index only source code from github/gitlab and from local to my
> > instance
> > > 2- use regex and codeql queries in the search client.
> > >
> > > Opensearch seems good but not modular enough.
> > >
> > >
> > > I think, solr the best choice for me. I will complete with a fork on
> > nutch.
> > >
> > > I think a Nutch fork would absolutely complete what I am looking for:
> > >
> > > - it is free software
> > >
> > > - it is modular on many protocol (not git yet), and solr compatible
> > >
> > > I suggest that I fork nutch to add a plugin there
> > > https://github.com/apache/nutch/tree/master/src/plugin under a new
> > > folder protocol-file and why not let people fork it.
> > >
> > > Is it a good idea?
> > >
> > > Best regards.
> > >
> >
>

Re: I may fork nutch. Is it a good plan?

Posted by Markus Jelsma <ma...@openindex.io>.
Hi,

Nutch is, just as Solr, highly customizable using all sorts of plugins.
Forking it is not recommended. If you happen to come across behaviour in
one of its tools that is not configurable, it can be made configurable.

Regards,
Markus

Op di 7 jan 2025 om 16:52 schreef David Smiley <ds...@apache.org>:

> Forking anything is a burden on you to maintain your fork.  You didn't say
> *why* you want to fork something instead of simply use something.  You
> mentioned adding features but search engine platforms like Solr are
> designed to be highly pluggable/extensible without forking.  It's a
> platform not a product.
>
> On Sun, Jan 5, 2025 at 6:36 PM anon <an...@gmail.com> wrote:
>
> > Hello people!!
> >
> > I was going to fork sourcegraph because I was looking for a search
> > engine specific to code source such as github and gitlab with the
> > possibility to index decompiled file offline. then I read this copyright
> >
> >
> https://github.com/sourcegraph/sourcegraph-public-snapshot/blob/main/LICENSE.enterprise
> > <
> >
> https://github.com/sourcegraph/sourcegraph-public-snapshot/blob/main/LICENSE.enterprise
> >
> >
> > it seems to be *more than* proprietary. Then I just found opensearch. It
> > seems modular. I might fork it to:
> > 1- index only source code from github/gitlab and from local to my
> instance
> > 2- use regex and codeql queries in the search client.
> >
> > Opensearch seems good but not modular enough.
> >
> >
> > I think, solr the best choice for me. I will complete with a fork on
> nutch.
> >
> > I think a Nutch fork would absolutely complete what I am looking for:
> >
> > - it is free software
> >
> > - it is modular on many protocol (not git yet), and solr compatible
> >
> > I suggest that I fork nutch to add a plugin there
> > https://github.com/apache/nutch/tree/master/src/plugin under a new
> > folder protocol-file and why not let people fork it.
> >
> > Is it a good idea?
> >
> > Best regards.
> >
>

Re: I may fork nutch. Is it a good plan?

Posted by David Smiley <ds...@apache.org>.
Forking anything is a burden on you to maintain your fork.  You didn't say
*why* you want to fork something instead of simply use something.  You
mentioned adding features but search engine platforms like Solr are
designed to be highly pluggable/extensible without forking.  It's a
platform not a product.

On Sun, Jan 5, 2025 at 6:36 PM anon <an...@gmail.com> wrote:

> Hello people!!
>
> I was going to fork sourcegraph because I was looking for a search
> engine specific to code source such as github and gitlab with the
> possibility to index decompiled file offline. then I read this copyright
>
> https://github.com/sourcegraph/sourcegraph-public-snapshot/blob/main/LICENSE.enterprise
> <
> https://github.com/sourcegraph/sourcegraph-public-snapshot/blob/main/LICENSE.enterprise>
>
> it seems to be *more than* proprietary. Then I just found opensearch. It
> seems modular. I might fork it to:
> 1- index only source code from github/gitlab and from local to my instance
> 2- use regex and codeql queries in the search client.
>
> Opensearch seems good but not modular enough.
>
>
> I think, solr the best choice for me. I will complete with a fork on nutch.
>
> I think a Nutch fork would absolutely complete what I am looking for:
>
> - it is free software
>
> - it is modular on many protocol (not git yet), and solr compatible
>
> I suggest that I fork nutch to add a plugin there
> https://github.com/apache/nutch/tree/master/src/plugin under a new
> folder protocol-file and why not let people fork it.
>
> Is it a good idea?
>
> Best regards.
>