Comments (7)
Hi,
yes this issue is already known to me. I just haven't figured out how to deal with it properly.
Currently it works just like in Everything: items appear multiple times.
So here are the ways I can think of how this can be handled:
- leave it as it is, i.e. if you include a sub-directory of an already included directory you get duplicates
- don't allow the inclusion of sub-directories of already included directories (might cause problems when I add support to watch directories for changes)
- just don't show duplicates (maybe configurable with a config entry)
from fsearch.
I'm facing this too and I too vote for the 3rd option.
from fsearch.
The third one sounds the most reasonable to me.
It's a small problem anyway, so it might be more useful to spend time on other stuff but that's just my opinion.
from fsearch.
@aindriu80 the easiest solution is to simply remove one of the redundant included folders you have in the database configuration. You likely have both /
and /home/$user
included. So disabling/removing the /home/$user
entry will fix the issue.
Like I said in an earlier comment, preventing such duplicates isn't easy, because all solutions have downsides. For example allowing the user to include the same folders (or parent-child combos) and just hiding the duplicates will increase memory usage and will slow down either the scan process or the search performance.
Hence I'm actually quite happy with current approach, because it simplifies the code a lot.
from fsearch.
I freshly installed FSearch on Ubuntu 18.04, the only included directory is /
and I'm getting search results in duplicate. The annoying thing is that on another system I have the same FSearch preferences set and duplicates are gone. I did something there a few months ago, but I don't remember what.
I would appreciate any clues.
from fsearch.
I would understand that fsearch shows duplicates if there is a symlink pointing to the folder, but strangely, if I search by the original path it ALSO shows every folder/file.
So the following searches deliver the same (duplicate) results although I would only expect duplicates in the second case:
/mnt/data/documents/
/home/user/documents/ (symlink to the folder above)
from fsearch.
I'm having the same duplicate problem, searching for .vimrc and get 8 results.. 2 duplicates for every answer.
from fsearch.
Related Issues (20)
- [BUG] HOT 15
- Duplicate search result [BUG] HOT 2
- List of files, that have changed during the last 10 minutes HOT 2
- [BUG] Whenever I open a folder via FSearch I will have two new tabs in thunar HOT 1
- GNOME 44 runtime is no longer supported HOT 2
- Accessibility
- Add Search Profiles
- [BUG] Cannot install on ubuntu 24.04 HOT 5
- Dragging to change column width will also affect the scroll bar
- [BUG] Modifiers table of Search Syntax page of Wiki contains an error
- [Feature request] Please add support for "recently used files" in Xfce (thunar)
- [BUG] The icon of "Preferences" menu is shown as a broken image
- [BUG?] search string "iexplore*exe"
- [BUG] Segfault @ [0x00007ffff7d8cdc7 in g_menu_exporter_menu_free (menu=0x0) at ../glib/gio/gmenuexporter.c:121]
- [BUG] Copy-paste not working on KDE
- CANNOT UPDATE FSEARCH
- Typo in the wiki (`file:` vs. `folder:`)
- Can webm also be added to the video list?
- [BUG] incompatible function pointer types
- [BUG] HOT 1
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 fsearch.