[
https://issues.apache.org/jira/browse/SOLR-784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shalin Shekhar Mangar updated SOLR-784:
---------------------------------------
Attachment: SOLR-784.patch
Patch with the changes.
>From the comment in solrconfig.xml
{code:xml}
<!--
QuerySenderListener can also load a list of queries from a given file
The file must contain one query per line in the URL parameter format.
The parameter values must be URL encoded with UTF-8.
For example:
q=solr&start=0&rows=10
q=solr&start=0&rows=10&facet=true&facet.field=cat
Specify the following to load queries from a file named
newSearcher-queries.txt
<str name="queriesFile">newSearcher-queries.txt</str>
-->
{code}
> Support loading queries from external files in QuerySenderListener
> ------------------------------------------------------------------
>
> Key: SOLR-784
> URL: https://issues.apache.org/jira/browse/SOLR-784
> Project: Solr
> Issue Type: Improvement
> Components: search
> Affects Versions: 1.4
> Reporter: Shalin Shekhar Mangar
> Priority: Minor
> Fix For: 1.4
>
> Attachments: SOLR-784.patch
>
>
> QuerySenderListener currently uses the NamedList format for loading queries.
> It is very cumbersome to write queries in such a verbose format.
> QuerySenderListener should support loading queries in the URL format (as
> parameters) from an external file (one per line) to make it easier to write
> and manage warming queries.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.