day, August 31, 2016 12:42 AM
To: solr-user@lucene.apache.org
Subject: Re: Modifying fl in QParser
We are dealing with same thing, we have overridden QueryComponent (type of
SearchComponent) and added a field to retrieve there. That same field we are
setting in SolrParams from query request. Accord
And it's not necessary to override QueryComponent to set params. I think I'd
add a first-params SearchComponent, so you're decoupling and plugging in extra
behavior rather than overriding kinda the heart of Solr.
Erik
> On Aug 30, 2016, at 21:42, Rohit Kanchan wrote:
>
> We are deal
We are dealing with same thing, we have overridden QueryComponent (type of
SearchComponent) and added a field to retrieve there. That same field we
are setting in SolrParams from query request. According to your business
you need to figure out how you can override QueryComponent. I hope this
helps
Personally, I don’t think a QParser(Plugin) is the right place to modify other
parameters, only to create a Query object. A QParser could be invoked from an
fq, not just a q, and will get invoked on multiple nodes in SolrCloud, for
example - this is why I think it’s not a good idea to do anyth
in a couple of hours for something like this might be a bit
premature.
On 31 Aug 2016 4:22 AM, "Beale, Jim (US-KOP)" wrote:
> Anyone??
>
> From: Beale, Jim (US-KOP) [mailto:jim.be...@hibu.com]
> Sent: Tuesday, August 09, 2016 1:23 PM
> To: solr-user@lucene.apache.or
Anyone??
From: Beale, Jim (US-KOP) [mailto:jim.be...@hibu.com]
Sent: Tuesday, August 09, 2016 1:23 PM
To: solr-user@lucene.apache.org
Subject: Modifying fl in QParser
Hi,
Is it possible to modify the SolrParam, fl, to append selected dynamic fields,
while rewriting a query in QParser.parse
Hi,
Is it possible to modify the SolrParam, fl, to append selected dynamic fields,
while rewriting a query in QParser.parse()?
Thanks in advance!
Jim Beale
Senior Lead Developer
2201 Renaissance Boulevard, King of Prussia, PA, 19406
Mobile: 610-220-3067
[cid:image001.png@01CD6E5F.BE5E6C20]
T