[ 
https://issues.apache.org/jira/browse/SOLR-13759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17005625#comment-17005625
 ] 

Gus Heck commented on SOLR-13759:
---------------------------------

After fiddling with Query visitor I admit it would be nicer if it had some 
better views into non-textual queries. In the attached example I was able to 
grab the dates from individual terms matching a particular field with only 
minimal hand parsing of strings. Something along these lines will at least make 
us robust against complex fq's containing other fields or multiple instances of 
the field we are interested in. 

> Optimize Queries when query filtering by TRA router.field
> ---------------------------------------------------------
>
>                 Key: SOLR-13759
>                 URL: https://issues.apache.org/jira/browse/SOLR-13759
>             Project: Solr
>          Issue Type: Sub-task
>            Reporter: mosh
>            Assignee: Gus Heck
>            Priority: Minor
>         Attachments: QueryVisitorExample.java, SOLR-13759.patch, 
> SOLR-13759.patch, image-2019-12-09-22-45-51-721.png
>
>
> We are currently testing TRA using Solr 7.7, having >300 shards in the alias, 
> with much growth in the coming months.
> The "hot" data(in our case, more recent) will be stored on stronger 
> nodes(SSD, more RAM, etc).
> A proposal of optimizing queries will be by filtering query by date range, by 
> that we will be able to querying the specific TRA collections taking 
> advantage of the TRA mechanism of partitioning data based on date.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to