Search within a database is done by downloading the data and looking inside it ourself. It would be far more efficient to give that work to the SQL engine, by a query like: SELECT primary_key FROM tableName WHERE searchCondition, and then just jump to the row with that primary_key (or download the whole row if one must). That is not always possible. In particular, if the search option "Apply Field Format" is enabled, then we have to download the data and apply the format and then search ourselves. Same for "similarity search". But SQL has even wildcard expressions ("LIKE" predicate), so other searches can go the the database. This would be much faster: less network traffic, but also the database engine has indexes specially to make that operation faster!
You mean the search-function in the navigation-bar? Don't know if there is anybody who uses this function, becouse it is much to slow. Most people need only one textfiled and search in the whole database with "LIKE ...". This is much faster for the input and very much faster for the result. Could be a good idea to make this feature faster. I have set the Staus to "needinfo" Robert
(In reply to comment #1) > You mean the search-function in the navigation-bar? I mean: - "Find Record" in "Table Data" toolbar - "Find Record" in "Form Navigation" toolbar > (...) it is much to slow. That's exactly the point. > Most people need only one textfiled and search in > the whole database with "LIKE ...". I'm not sure what you mean with "one textfiled". Something like a CSV file as storage backend? > This is much faster for the input and very much > faster for the result. If you mean "search with "LIKE ..." is the fastest, after this enhancement is implemented, it would probably be the slowest (with most database backends). I'm curious how "search with LIKE" can be faster than e.g. "search with =" even now; I'd expect it to be slower or the difference so small as to not be noticeable.
Created attachment 63974 [details] surching and filtering of data in LO Try the form "Suchabfrage". There is one textfield and a button. The input textfield is read by a macro with "CurrentValue". The table with the result is created in the macro. I know, that "TABLE.FIELD LIKE ..." isn't so fast as "TABLE.FIELD = ...". But the result of this search trough over 8000 rows is much faster than a result is given through the internal search-function. You can try it in the form "Suchtabelle" with the button "search", which starts the search-function of the navigation-bar of a base-form.
How do we search in the internet? We put some words in a textfield and let the searching-machine do the rest. We do not know anything about fields of tabeles in the database. The search-dialog of LO is a very slow construction. Normal user do not use it, because the using is too difficult. A good seraching-tool must bring results in seconds, not in minutes. And a good searching-tool must run through forms and subforms - not only through one of them.
(In reply to comment #4) > How do we search in the internet? We put some words in a textfield and let the > searching-machine do the rest. We do not know anything about fields of tabeles > in the database. I know understand that when you said "Most people need only one textfiled and search in the whole database with 'LIKE ...'" you were talking about the search interface, and not about the data structure itself. The effect you seek is achieved in the existing "Record Search" dialog by selecting: - Where to search: "All Fields" - Position: "anywhere in the field" > The search-dialog of LO is a very slow construction. That's exactly the point of this enhancement "bug". The fact that you felt the need to manually code (in StarBasic) (a variant of) the procedure the "Record Search" should be doing automatically under the hood kinda proves my point. > And a good searching-tool must run through forms and subforms > - not only through one of them. That's an interesting idea, but somewhat orthogonal. IMHO it warrants its own "enhancment" bug report.
@Robert (In reply to comment #5) > I know understand that when you said > "Most people need only one textfiled and search in > the whole database with 'LIKE ...'" CAn you please give an answer?
@Jochen I don't know, what I should answer. The searching in forms ist very slow. Lionel described, why it's so slow. A little marco works much faster and searches trough all fields of a table. This is a problem since Base exists - in OOo, and also the first versions of LO. As I understand bug-description it should be set to status "New". So I don't need any info - it's a problem to search with the functions integrated in LO. Searching in subforms is not possible in this moment. Lionel has created a new bug-description for this: https://bugs.freedesktop.org/show_bug.cgi?id=51868
*** Bug 81541 has been marked as a duplicate of this bug. ***
Adding self to CC if not already on
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present on a currently supported version of LibreOffice (5.1.5 or 5.2.1 https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 4b. If the bug was not present in 3.3 - add "regression" to keyword Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug-20160920
(In reply to QA Administrators from comment #10) Of course the problem is still there. It isn't a problem that is going to go away by itself. I really dislike mass bug pings like this. I understand why it is done, where, say, lots of regular development changes occur in a given module, but Base isn't one of them (unfortunately for all of us). Anyway, reproducible in : Version: 5.4.2.2 Build ID: 22b09f6418e8c2d508a9eaf86b2399209b0990f4 Threads CPU : 4; OS : Mac OS X 10.13; UI Render : par défaut; Locale : fr-FR (fr_FR.UTF-8); Calc: group
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Bug still exists with Version: 6.1.3.1 on OpenSUSE 15, 64bit rpm Linux.
Dear Lionel Elie Mamane, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Dear Lionel Elie Mamane, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Bug still present in current production releases AFAIK.
I confirm the issue for version 6.4.7.2 and Version: 7.3.6.2 / LibreOffice Community Build ID: c28ca90fd6e1a19e189fc16c05f8f8924961e12e CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb) Locale: de-DE (de_DE.UTF-8); UI: de-DE Calc: threaded May be, it's related to [51868](https://bugs.documentfoundation.org/show_bug.cgi?id=51868), nevertheless it's very important to get fixed. Without an improvement, e.g speed up the searches, BASE is almost useless for normal users.