[Geoserver-devel] https://github.com/geoserver/geoserver/pull/7577
Hi, https://github.com/geoserver/geoserver/pull/7577 turns out to be much more work than anticipated, unfortunately I've no run out of time due to upcoming holidays, so this PR will stall from my side for a couple of weeks. Anyone willing to spend some time on it is quite welcome 🤣 If not I will continue when I get back. Mark ___ Geoserver-devel mailing list Geoserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-devel
Re: [Geoserver-devel] https://github.com/geoserver/geoserver/pull/7577
Aaah yep, it's a big one for sure PMD upgrade to version 7. They rewrote the java scanner and it's not much better at finding violations. 441 files modified in the PR so far, quite a bit of modules not yet reached by the build, and this is the current output: Error: 0,053 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-pmd-plugin:3.22.0:check (default) on project gs-web-core: You have 43 PMD violations. For more details see: /home/runner/work/geoserver/geoserver/src/web/core/target/pmd.xml -> [Help 1] Error: 0,053 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-pmd-plugin:3.22.0:check (default) on project gs-restconfig: You have 4 PMD violations. For more details see: /home/runner/work/geoserver/geoserver/src/restconfig/target/pmd.xml -> [Help 1] Error: 0,053 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-pmd-plugin:3.22.0:check (default) on project gs-sample-data-access-test: You have 2 PMD violations. For more details see: /home/runner/work/geoserver/geoserver/src/extension/app-schema/sample-data-access-test/target/pmd.xml -> [Help 1] Error: 0,053 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-pmd-plugin:3.22.0:check (default) on project gs-excel: You have 1 PMD violation. For more details see: /home/runner/work/geoserver/geoserver/src/extension/excel/target/pmd.xml -> [Help 1] Error: 0,053 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-pmd-plugin:3.22.0:check (default) on project gs-dxf-core: You have 1 PMD violation. For more details see: /home/runner/work/geoserver/geoserver/src/extension/dxf/core/target/pmd.xml -> [Help 1] Error: 0,054 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-pmd-plugin:3.22.0:check (default) on project gs-sec-jdbc: You have 4 PMD violations. For more details see: /home/runner/work/geoserver/geoserver/src/security/jdbc/target/pmd.xml -> [Help 1] Error: 0,054 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-pmd-plugin:3.22.0:check (default) on project gs-csw-simple-store: You have 1 PMD violation. For more details see: /home/runner/work/geoserver/geoserver/src/extension/csw/simple-store/target/pmd.xml -> [Help 1] Error: 0,054 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-pmd-plugin:3.22.0:check (default) on project gs-wms: You have 95 PMD violations. For more details see: /home/runner/work/geoserver/geoserver/src/wms/target/pmd.xml -> [Help 1] Error: 0,054 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-pmd-plugin:3.22.0:check (default) on project gs-wcs2_0-eo-core: You have 2 PMD violations. For more details see: /home/runner/work/geoserver/geoserver/src/extension/wcs2_0-eo/core/target/pmd.xml -> [Help 1] Error: 0,054 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-pmd-plugin:3.22.0:check (default) on project gs-wps-core: You have 24 PMD violations. For more details see: /home/runner/work/geoserver/geoserver/src/extension/wps/wps-core/target/pmd.xml -> [Help 1] 200+ violations just here LOL. Yes, it needs to be a group effort, no doubt. Regards, Andrea Aime == GeoServer Professional Services from the experts! Visit http://bit.ly/gs-services-us for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions Group phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 https://www.geosolutionsgroup.com/ http://twitter.com/geosolutions_it --- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail On Fri, Apr 26, 2024 at 3:50 PM Mark Prins wrote: > Hi, > https://github.com/geoserver/geoserver/pull/7577 turns out to be much > more work than anticipated, unfortunately I've no run out of time due to > upcoming holidays, so this PR will stall from my side for a couple of > weeks. > Anyone willing to spend some time on it is quite welcome 🤣 > If not I will continue when I get back. > > Mark > > > ___ > Geoserver-devel mailing list > Geoserver-devel@lists.sourceforge.net > https://lists.sourcefor
[Geoserver-devel] Proposal for adding exact term search to search text-boxes
Hello, GeoServer Community. I am writing to propose a modification to the GeoServer web interface that I believe would enhance the user experience and improve usability. The goal is to extend the search functionality within GeoServer pages by introducing a specific feature that could help to better search for elements with the textual search box. Background: Currently, the search functionality lacks the capability to find specific words. Its full-text fashion simply returns any word that contains the search term. For example, if a user searches for layers named "gis", he may get results like gis_store and registered because the search term appears within both words. Proposal Overview: My proposal consists in expanding the syntax that the search box recognizes, adding the possibility to have an exact term search just quoting the word. Follows a visual example in the screenshots below. The full-text search has returned two layers as the results of the query arch. As you can see, in the returned layers not only the actual arch layer is present, but also the archive one, since the latter contains the searched word in its name. Here is an example showing the new functionality, where the search has been made for an exact term, quoting the word: "arch". As a result, only the arch layer is displayed. Impact and Benefits: These changes would not affect the default search functionality, that would be still made on all the text attributes of the searched element (layer, workspace, style, etc.). Additionally, users can combine full-text search with exact term search to create more complex queries, such as: “history” “gis” arch (all elements containing in their text fields the word history or all elements containing in their text fields the word gis or all elements containing in their text fields a word that contains arch). Implementation Plan: The changes needed to implement this functionality should be limited to the `GeoServerDataProvider` classes. Additionally, a tooltip explaining the new syntax next to the search box would be beneficial for users. I am eager to hear your thoughts and feedback on this proposal. Please feel free to share any concerns, suggestions, or alternative approaches that you believe should be considered. Best regards, Alessandro Ricchiuti == Professional Support for GeoNode, GeoServer and MapStore from the experts! Visit http://bit.ly/gs-services for more information. == Alessandro Ricchiuti Software Engineer GeoSolutions Group phone: +39 0584 962313 fax: +39 0584 1660272 https://www.geosolutionsgroup.com https://twitter.com/geosolutions_it --- This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail. ___ Geoserver-devel mailing list Geoserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-devel
Re: [Geoserver-devel] Proposal for adding exact term search to search text-boxes
That looks fun, +1 I considered if it could be more easily discoverable if a space separator was used; but the result was less clear. -- Jody Garnett On Fri, Apr 26, 2024 at 8:26 AM Alessandro Ricchiuti < alessandro.ricchi...@geosolutionsgroup.com> wrote: > Hello, GeoServer Community. > > I am writing to propose a modification to the GeoServer web interface that > I believe would enhance the user experience and improve usability. > > The goal is to extend the search functionality within GeoServer pages by > introducing a specific feature that could help to better search for > elements with the textual search box. > > Background: > > Currently, the search functionality lacks the capability to find specific > words. Its full-text fashion simply returns any word that contains the > search term. For example, if a user searches for layers named "gis", he may > get results like gis_store and registered because the search term appears > within both words. > > > Proposal Overview: > > My proposal consists in expanding the syntax that the search box > recognizes, adding the possibility to have an exact term search just > quoting the word. > > > Follows a visual example in the screenshots below. > > > The full-text search has returned two layers as the results of the query > arch. > > As you can see, in the returned layers not only the actual arch layer is > present, but also the archive one, since the latter contains the searched > word in its name. > > > Here is an example showing the new functionality, where the search has > been made for an exact term, quoting the word: "arch". > > As a result, only the arch layer is displayed. > > > Impact and Benefits: > > These changes would not affect the default search functionality, that > would be still made on all the text attributes of the searched element > (layer, workspace, style, etc.). > > Additionally, users can combine full-text search with exact term search to > create more complex queries, such as: “history” “gis” arch (all elements > containing in their text fields the word history or all elements > containing in their text fields the word gis or all elements containing > in their text fields a word that contains arch). > > > Implementation Plan: > > The changes needed to implement this functionality should be limited to > the `GeoServerDataProvider` classes. Additionally, a tooltip explaining the > new syntax next to the search box would be beneficial for users. > > > I am eager to hear your thoughts and feedback on this proposal. > > Please feel free to share any concerns, suggestions, or alternative > approaches that you believe should be considered. > > > Best regards, > Alessandro Ricchiuti > == > Professional Support for GeoNode, GeoServer and MapStore from the experts! > Visit http://bit.ly/gs-services for more information. > == > > Alessandro Ricchiuti > Software Engineer > > GeoSolutions Group > phone: +39 0584 962313 > fax: +39 0584 1660272 > > https://www.geosolutionsgroup.com > https://twitter.com/geosolutions_it > > --- > This email is intended only for the person or entity to which it is > addressed and may contain information that is privileged, confidential or > otherwise protected from disclosure. We remind that - as provided by > European Regulation 2016/679 “GDPR” - copying, dissemination or use of this > e-mail or the information herein by anyone other than the intended > recipient is prohibited. If you have received this email by mistake, please > notify us immediately by telephone or e-mail. > ___ > Geoserver-devel mailing list > Geoserver-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-devel > ___ Geoserver-devel mailing list Geoserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-devel