# Repository indexer: exclude an organization and repositories

**URL:** <https://forum.gitea.com/t/repository-indexer-exclude-an-organization-and-repositories/7523>\
**Category:** Install/Maintain/Configure\
**Created:** [July 5, 2023, 8:47am UTC](https://forum.gitea.com/t/repository-indexer-exclude-an-organization-and-repositories/7523 "2023-07-05T08:47:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mlebon](https://avatars.discourse-cdn.com/v4/letter/m/3ab097/32.png) [@mlebon](https://forum.gitea.com/u/mlebon)\
**Post date:** [July 5, 2023, 8:47am UTC](https://forum.gitea.com/t/repository-indexer-exclude-an-organization-and-repositories/7523/1 "2023-07-05T08:47:41Z")

</div>

Hello everyone,

I want to enable code cross-search through by repositories.  
In my case, I have one repository per module or library; I want to be able to search for this piece of code and see the impact on the whole.

I found this functionality which seems to correspond to my need  
https://docs.gitea.com/administration/repo-indexer  
https://docs.gitea.com/next/administration/config-cheat-sheet#indexer-indexer

But I did not see how to limit the search field to certain repositories :

- whether by whitelist
- whether by blacklist
- by organization

REPO\_INDEXER\_REPO\_TYPES: sources, forks, mirrors, templates  
Allows Include based on repository type.

ISSUE\_INDEXER\_TYPE: bleve: Issue indexer type, currently supported: bleve, db, elasticsearch or meilisearch.  
REPO\_INDEXER\_TYPE: bleve: Code search engine type, could be bleve or elasticsearch.

Other questions, I’m not sure I can afford elasticsearch’s excessive disk usage (6 times the size of directories)  
so my choice would rather be “bleve” by default.  
Can you give me links to its installation / set-up documentation, because my research I come across vapor explosions
