Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend Custom Data Search #540

Closed
eresturo opened this issue Jan 4, 2021 · 3 comments · Fixed by #693
Closed

Extend Custom Data Search #540

eresturo opened this issue Jan 4, 2021 · 3 comments · Fixed by #693

Comments

@eresturo
Copy link

eresturo commented Jan 4, 2021

Hi eikek,

Me again :)
could you add a option to search for docs which have a custom field filled?
For example, I have a custom field in which I enter where I keep the original, now I would like to see all the documents that I have kept (Or the other way around)

Thinking further, there are certainly applications of custom fields in which you want to make a range search? Or a larger/smaller comparison, etc.?

Cheers
Eresturo

@eikek
Copy link
Owner

eikek commented Jan 4, 2021

There will come some improvements; I have the same problem :-) Currently, for fields of type number and text you can search with a single * to find items that have any value. However, this doesn't work yet for date fields.

@eikek
Copy link
Owner

eikek commented Jan 4, 2021

Regarding range searches: I'm going for this when creating the query "language". This should then allow to have a much more flexible ways of searching in general.

eikek added a commit that referenced this issue Jan 8, 2021
This requires to pass the raw input through to the caller.

Issue: #540
eikek added a commit that referenced this issue Jan 8, 2021
This requires to pass the raw input through to the caller.

Issue: #540
@eikek eikek added this to the Docspell 0.21.0 milestone Feb 26, 2021
@eikek eikek mentioned this issue Mar 8, 2021
@mergify mergify bot closed this as completed in #693 Mar 8, 2021
@eikek
Copy link
Owner

eikek commented Mar 8, 2021

Next version allows to do some queries with custom fields, like range, greater-than, lower-than etc. Example: f:amount>10 f:amount<50 to look for items with a custom field with name amount and values between 10 and 50.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants