You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Thorsten Scherler (JIRA)" <ji...@apache.org> on 2007/05/07 13:25:15 UTC
[jira] Updated: (SOLR-109) variable substitution in lucene query
params
[ https://issues.apache.org/jira/browse/SOLR-109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thorsten Scherler updated SOLR-109:
-----------------------------------
Attachment: SOLR-109.diff
Hi Hoss, I finally got back to my solr project and to this issue. :)
Hopefully I can contribute more from now on, since the project got funding for a couple of months.
Please find a complete rewrite of the prior incomplete patch. I tried to stay as close as your instructions as I understood them. The only part that I did not understood is the handlers part.
I did a grep for SolrQueryParser but could not find an example where I can call SolrQueryParser.setParams(SolrParams params) to prepare the substitution (setSubstitutionSolrParam(String queryText){}).
Can somebody push me into the right direction to finish the patch with a nice test?
TIA
> variable substitution in lucene query params
> --------------------------------------------
>
> Key: SOLR-109
> URL: https://issues.apache.org/jira/browse/SOLR-109
> Project: Solr
> Issue Type: New Feature
> Reporter: Thorsten Scherler
> Attachments: SOLR-109.diff, SOLR-109.diff
>
>
> Allowing variable substitution in the lucene query params seems pretty slick
> ... a more general solution might be to modify the SolrQueryParser
> directly to have a new "void setParamVariables(SolrParams p)" method.
> http://marc.theaimsgroup.com/?t=116712376400001&r=1&w=2
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.