Re: Guidance on new functionality for query string generation

2024-09-03 Thread Geoffrey Slinker
I have created a new git hub repo: https://github.com/gslinker/query-generator I will share that repo link with the larger Solr community (beyond dev) and see if that will lead to some one using the code and they provide feedback from their use cases and experiences. Maybe that will ev

Re: Guidance on new functionality for query string generation

2024-08-26 Thread Geoffrey Slinker
Jason, Thank you. I will be away from computers for a week. I will check back in after that and see what paths forward may have come forward. Geoff > On Aug 26, 2024, at 6:06 AM, Jason Gerlowski wrote: > > No concrete feedback for the refactor (i.e. move to SolrJ) you've got > underway. >

Re: Guidance on new functionality for query string generation

2024-08-26 Thread Jason Gerlowski
No concrete feedback for the refactor (i.e. move to SolrJ) you've got underway. But I just wanted to add a note of encouragement and a +1 to the general idea. If it's done right a query-builder would be a huge boost for Solr's users IMO! Good luck w/ the refactor Geoffrey and thanks for bringing

Re: Guidance on new functionality for query string generation

2024-08-18 Thread Geoffrey Slinker
I will refactor my idea to be found under SolrJ. Also, I will refactor trying to better fit the domain terminology. After I get the refactoring finished I will post a new message. If there are those that have time to look at the branch that is in my fork of Apache Solr, especially at the classe

Re: Guidance on new functionality for query string generation

2024-08-17 Thread David Smiley
Perhaps Solr could adopt Elastic's Java QueryBuilder API, more or less?: https://artifacts.elastic.co/javadoc/co/elastic/clients/elasticsearch-java/8.15.0/co/elastic/clients/elasticsearch/_types/query_dsl/package-summary.html Is this what you referred to? It needs an example (like what you shared

Re: Guidance on new functionality for query string generation

2024-08-16 Thread Geoffrey Slinker
David, Thank you for your insights and thank you for your work on Apache Solr. You are correct, this is for end users. Many typically build up their Solr query using StringBuilder or String concatenation, then instantiate a SolrJ SolrQuery object and pass in the query string. I would like to g

Re: Guidance on new functionality for query string generation

2024-08-16 Thread David Smiley
Hello Geoffrey, Thanks for your message and offer. I think the overall idea is nice but if we got more serious, we'd want to bike-shed on a number of details. Like naming ("grouper" is dubious to me) and explore further simplifications. Like why "addTerm(new QueryTerm("cd", "back in black")" wh