Comments (4)
Can you tell us more about your use case? Currently, we have:
.gitignore
(of course) for keeping things out of the repo- excludes and ignores for keeping things out of queries
I'm not sure about the use case for a repo owner preventing others from searching the contents of the files in the repo, but I'd be open to hear more. Usually, it's up to the person doing the searching to prune things they don't want to see from their query.
from hound.
My particular use case is for an internal company repo.
There are cases where we have test data, or even some production data that is kept in a repo somewhere. And it's usually not anything that we ever want to search for. But often, it does end up getting caught in our queries and thus increases the noise to signal ratio. I don't want to exclude the whole repo because there is important code in there. But I do want to be able to exclude the test data.
from hound.
Hmm. Having something excluded from Hound's index that isn't excluded from the repo sounds a bit tricky (someone put that data there, so presumably they'd eventually want to search for it), but I see your problem. I'm sure we'd accept a PR for that.
Since we typically filter searches using the exclusion filters in the UI, I wonder if having those fields' contents saved in localstorage would be a good enough solution? That way, you'd filter your results once in the UI and then retain those filters in subsequent searches. That seems like a general improvement to the UI anyways, and it could solve your problem as well.
from hound.
@salemhilal Filtering in the UI is not easy to control permissions, so it is recommended to configure filtering files or directories in the configuration file. What should we do?
from hound.
Related Issues (20)
- Using unsupported Go version
- Bug: excluded files link broken with blob undefined
- make ui does not work with golang 1.18 HOT 1
- Ignore Case by Default HOT 2
- webpack build fails with node 17+
- Basic auth HOT 1
- Bug: Big-ish files not being indexed HOT 1
- Does hound search issues? HOT 2
- exclude keywords (for example: password) in config.json
- UI issue
- Add display-name option to customize/disambiguate output
- Support for GitLab Subgroups
- Docker image currently broken (ghcr.io/hound-search/hound:latest) HOT 7
- Hound gracefully shutting down at startup HOT 4
- fatal: not a git repository HOT 3
- Instructions for a self-hosted Gitea HOT 1
- Best way to index all the branches of a repo HOT 1
- How to index and search into a local folder Windows
- Improve documentation for how to use an ssh key with Docker
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hound.