Add a searchable comment field as document properta #687
-
I have many cases where I would like to add a comment to a document to later be able to search for parts of it. Would this be possible to add? |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 17 replies
-
I also find this extension very useful. I had also already tried to do the development myself. However, I have no experience with Django and Angular. I still have a few problems in the implementation. But I'm definitely trying to complete the implementation for me as an exercise. I have provided a one to many relation for the comments, so that multiple comments can be added to a document. If you can wait a bit more, I hope to submit the extension as a pull request. |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot for the feedback. I’m not desperate on that feature therefore I for sure am happy to wait until you completed the implementation.
In case you need a beta-tester, don’t hesitate to contact me 😉
Von: tim-vogel ***@***.***>
Gesendet: Dienstag, 12. April 2022 21:33
An: paperless-ngx/paperless-ngx ***@***.***>
Cc: christofkac ***@***.***>; Author ***@***.***>
Betreff: Re: [paperless-ngx/paperless-ngx] Add a searchable comment field as document properta (Discussion #687)
I also find this extension very useful. I had also already tried to do the development myself. However, I have no experience with Django and Angular. I still have a few problems in the implementation. But I'm definitely trying to complete the implementation for me as an exercise.
I have provided a one to many relation for the comments, so that multiple comments can be added to a document.
If you can wait a bit more, I hope to submit the extension as a pull request.
—
Reply to this email directly, view it on GitHub <#687 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIDBAVVJY6QJTJIVV4BSX7LVEXFVRANCNFSM5TCYAJ4A> .
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I think this has been discussed before in #141 |
Beta Was this translation helpful? Give feedback.
-
What would happen if you simply add your comment on the part of the OCR text. You could add whatever you want. The text, like all other text will be used during searches. To extend that feature, instead of adding more and more fields for possible other use cases, maybe the current OCR text field together with some syntax (org-mode style, markdown, etc.) could be used to add whatever info one might want to add in addition and the syntax helps to differentiate better during search. E.g.
In the search field I could use: Place: office to indicate to look in a customized special field instead of all text It would not clutter the GUI and people could come up with whatever system serve their needs. |
Beta Was this translation helpful? Give feedback.
-
I'd love this feature! |
Beta Was this translation helpful? Give feedback.
-
I have implemented all functions. These are now tested by good friends. After that I update peperless to 1.71 and put the code online. Interested people can do a beta test then. If you already have customization requests based on the screenshot, please post them here. |
Beta Was this translation helpful? Give feedback.
-
@tim-vogel: I don't want to hijack this thread. Just, as you are knee-deep into the internals. What do you think, how complex would it be to implement the saving of different versions of a file, very similar like the comments you added here. In fact, an archived version could be equivalent to a comment resp. added to a comment (when adding a comment, click on "archive current version". |
Beta Was this translation helpful? Give feedback.
-
Hello, I have published a paperless version with comment function on my Github account. This version is still based on paperless 1.5, but I will adapt it to the current code state of paperless in the next days and publish it again on my Github account for testing. By default the comment function is disabled. To enable it, the environment variable It was not possible for me to implement the full test search. This feature is still pending. Here the support of an experienced paperless developer is necessary. Feature list:
|
Beta Was this translation helpful? Give feedback.
-
+1 for this, would be very helpful to have a notes field, searchable or not, it would still be great to have. |
Beta Was this translation helpful? Give feedback.
-
Hi @tim-vogel , this looks really good! I would suggest you rebase your code not on 1.7.1, but on current |
Beta Was this translation helpful? Give feedback.
-
I have just submitted the pull request for the comment function. (#1375) |
Beta Was this translation helpful? Give feedback.
I have just submitted the pull request for the comment function. (#1375)