Re: Is there a way to shape a query response from SOLR similar to the way the Script Update Processor can transform an update payload/document?

2022-12-08 Thread Chris Hostetter
: Thank you for this suggestion, it will help make some changes that I need to the response. If you are not comfortable with java, but you are comfortable with XSLT, the XSLT ResponseWriter is the easiest way to transform solr's response in any way you want "server side" w/o needing to compil

Re: Is there a way to shape a query response from SOLR similar to the way the Script Update Processor can transform an update payload/document?

2022-12-08 Thread Eric Pugh
y SOLR? > > Thanks. > From: Eric Pugh <mailto:ep...@opensourceconnections.com>> > Sent: Thursday, December 8, 2022 6:12 AM > To: users@solr.apache.org <mailto:users@solr.apache.org> > mailto:users@solr.apache.org>> > Subject: Re: Is there a way to shape a

Re: Is there a way to shape a query response from SOLR similar to the way the Script Update Processor can transform an update payload/document?

2022-12-08 Thread Matthew Castrigno
similar to the way the Script Update Processor can transform an update payload/document? I’ve long wished that Solr had a query pipeline similar to it’s update pipeline. It’s a common feature of other search engines, and it gives a natural home for things like this to occur. Today, I think your

Re: Is there a way to shape a query response from SOLR similar to the way the Script Update Processor can transform an update payload/document?

2022-12-08 Thread Matthew Castrigno
. From: Eric Pugh Sent: Thursday, December 8, 2022 6:12 AM To: users@solr.apache.org Subject: Re: Is there a way to shape a query response from SOLR similar to the way the Script Update Processor can transform an update payload/document? I’ve long wished that Solr had a query pipeline similar to

Re: Is there a way to shape a query response from SOLR similar to the way the Script Update Processor can transform an update payload/document?

2022-12-08 Thread Eric Pugh
> Thanks. >> >> From: Mikhail Khludnev >> Sent: Wednesday, December 7, 2022 3:12 PM >> To: users@solr.apache.org >> Subject: Re: Is there a way to shape a query response from SOLR similar to >> the way the Script Update Processor

Re: Is there a way to shape a query response from SOLR similar to the way the Script Update Processor can transform an update payload/document?

2022-12-08 Thread Thomas Corthals
ludnev > Sent: Wednesday, December 7, 2022 3:12 PM > To: users@solr.apache.org > Subject: Re: Is there a way to shape a query response from SOLR similar to > the way the Script Update Processor can transform an update > payload/document? > > Hello Matthew, Will wt=json https:

Re: Is there a way to shape a query response from SOLR similar to the way the Script Update Processor can transform an update payload/document?

2022-12-07 Thread Matthew Castrigno
arrangement of the repsonse. Thanks. From: Mikhail Khludnev Sent: Wednesday, December 7, 2022 3:12 PM To: users@solr.apache.org Subject: Re: Is there a way to shape a query response from SOLR similar to the way the Script Update Processor can transform an

Re: Is there a way to shape a query response from SOLR similar to the way the Script Update Processor can transform an update payload/document?

2022-12-07 Thread Mikhail Khludnev
Hello Matthew, Will wt=json https://solr.apache.org/guide/7_1/common-query-parameters.html#wt-parameter work for it? On Wed, Dec 7, 2022 at 8:19 PM Matthew Castrigno wrote: > I need to shape Json the response from SOLR, is there a way to do that? > > Thank you. > > --

Is there a way to shape a query response from SOLR similar to the way the Script Update Processor can transform an update payload/document?

2022-12-07 Thread Matthew Castrigno
I need to shape Json the response from SOLR, is there a way to do that? Thank you. -- "This message is intended for the use of the person or entity to which it is addressed and may contain information that is confidential or pri

Re: Script Update Processor

2022-10-14 Thread Dave
gh > Sent: Friday, October 14, 2022 5:57 AM > To: users@solr.apache.org > Subject: Re: Script Update Processor > > Would you mind creating a JIRA issue then? You can add the screenshot there. > I haven’t seen this issue, but maybe haven’t dug into it, so the more > reprodu

Re: Script Update Processor

2022-10-14 Thread Matthew Castrigno
This issue is easily reproduced in 9.0 using the example script and logging cmd.solrDoc in the processAdd function. From: Eric Pugh Sent: Friday, October 14, 2022 5:57 AM To: users@solr.apache.org Subject: Re: Script Update Processor Would you mind creating a

Re: Script Update Processor

2022-10-14 Thread Eric Pugh
Would you mind creating a JIRA issue then? You can add the screenshot there. I haven’t seen this issue, but maybe haven’t dug into it, so the more reproducible it is, the easier it is for me to look into it ;-). I’d love to hear that the problem is reproducible on Solr 9, as that is where I

Re: Script Update Processor

2022-10-13 Thread dmitri maziuk
On 2022-10-13 4:44 PM, Eric Pugh wrote: Humm.. This doesn’t sound intentional at all… Do you have a reproducible test case you can share? I see them all the time on Logging page, I can attach a screenshot but it'll likely get striped of by the list software. Happens with Chrome, Edge,

Re: Script Update Processor

2022-10-13 Thread Eric Pugh
Humm.. This doesn’t sound intentional at all… Do you have a reproducible test case you can share? > On Oct 13, 2022, at 2:31 PM, dmitri maziuk wrote: > > On 2022-10-13 12:35 PM, Matthew Castrigno wrote: >> Actually, it is the raw payload but has inserted ​ at what appears to >> be aft

Re: Script Update Processor

2022-10-13 Thread dmitri maziuk
On 2022-10-13 12:35 PM, Matthew Castrigno wrote: Actually, it is the raw payload but has inserted ​ at what appears to be after every "," Strange I suppose I can strip those without harm. If you look at logging page in Solr admin interface, it'll have them (at least in our 6.5.0 and 8.7.0) af

Re: Script Update Processor

2022-10-13 Thread Matthew Castrigno
ipt Update Processor Hello community, Let me thank you in advance for any insights you can share. I am attempting to use the Script Update Processor as described here: https:  //urldefense. com/v3/__https: //solr. apache.  org/guide/solr/latest/configuration-guide/script-update-processor.  html*javas

Script Update Processor

2022-10-13 Thread Matthew Castrigno
Hello community, Let me thank you in advance for any insights you can share. I am attempting to use the Script Update Processor as described here: https://solr.apache.org/guide/solr/latest/configuration-guide/script-update-processor.html#javascript This works fine however I am attempting to use

Re: Utilizing the Script Update Processor

2022-10-06 Thread Matthew Castrigno
@solr.apache.org Subject: Utilizing the Script Update Processor The documentation here: https: //urldefense. com/v3/__https: //solr. apache.  org/guide/solr/latest/configuration-guide/script-update-processor.  html*javascript__;Iw!!FkC3_z_N!KY0TOj-2WvN9km2k5LhKIXpkUraLdVNqfDqZZQnFa

Utilizing the Script Update Processor

2022-10-06 Thread Matthew Castrigno
The documentation here: https://solr.apache.org/guide/solr/latest/configuration-guide/script-update-processor.html#javascript Provides an example using the Script Update processor. When accessing the script, the example includes reference to it in the parameters. https://solr.apache.org/guide