ns=DOCS to inconsistent index options=DOCS_AND_FREQS_AND_POSITIONS
Any help wtih this is appreciated!
[cid:54980098-f2fb-49bc-96f8-d307187504f8]
Matthew Castrigno
IHT Developer II
St. Luke’s Health System
• 20
Hello,
I am new to SOLR and I am trying to configure it to accept existing API
definition.
I need to create a requestHandler that will perform index operations based on
the value in a specific field as opposed to using a parameter in the request.
Ie. A payload that may look like this:
{
solr.apache.org
________
From: Matthew Castrigno
Sent: Friday, September 30, 2022 12:16 PM
To: users@solr.apache.org
Subject: Is this possible? Transform JSON to conform to existing
UpdateRequestHandler
Hello, I am new to SOLR and I am trying to configure it to accept existing API
definition. I
Hello,
I am new to SOLR and I am trying to configure it to accept existing API
definition.
I need to create a requestHandler that will perform index operations based on
the value in a specific field as opposed to using a parameter in the request.
Ie. A payload that may look like this:
{"id"
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/sol
org.eclipse.jetty.server.handler.InetAccessHandler.handle(InetAccessHandler.java:177)
at
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
... 20 more
From: Matthew Castrigno
Sent: Thursday, October 6, 2022 1:33 PM
To: users
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 i
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.
____
From: Matthew Castrigno
Sent: Thursday, October 13, 2022 11:13 AM
To: users@solr.apache.org
Subject: Scr
The implicit handlers
/update
and
/update/json/docs
treat the same payload differently
/update requires the payload in [ ] where as /update/json/docs does not.
{field_1:data, field_2:data} throws the error "unknown command 'field_1'..."
but the same payload to /update/json/docs works fine.
I
Thank you dmitri, I will try this when I get SOLR running properly again.
From: dmitri maziuk
Sent: Thursday, October 13, 2022 3:02 PM
To: users@solr.apache.org
Subject: Re: Array formatted payload
On 2022-10-13 3: 02 PM, Matthew Castrigno wrote: > The impli
I am running SOLR on my windows machine and it gets in this state where every
update has this response. Even when I roll back to previously working branches,
I still get this error. Sometimes restarting works, sometimes it just "fixes
itself". Not sure why it would suddenly not be able to get d
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 JI
to behave any differently?
Thank you,
Matthew Castrigno
From: Jan Høydahl
Sent: Thursday, October 13, 2022 4:46 PM
To: users@solr.apache.org
Subject: Re: HTTP ERROR 500 java.lang.NoClassDefFoundError:
Lorg/apache/lucene/index/Term
Please provide more information
using
http://nameRemoved:8983/solr/sls/select?indent=true&q.op=OR&q=*%3A*
I get the response:
{
"responseHeader":{
"status":400,
"QTime":0,
"params":{
"q":"*:*",
"indent":"true",
"q.op":"OR"}},
"error":{
"metadata":[
"error-class","org.apache.solr.common
Hello Community, Thank you for taking the time to read my message.
I am attempting to index (update) a document with a nested object. In reading
the documentation is seems to state that the fields of the nested object do not
need to be and should not be added to schema.xml. I am getting error t
Images I tried to add to original post.
[url=https://postimg.cc/944b6QWZ][img]https://i.postimg.cc/25GtB1Mc/update.png[/img][/url]
[url=https://postimg.cc/WdYSYkPs][img]https://i.postimg.cc/SKk5s6TY/schema.png[/img][/url]
From: Matthew Castrigno
Sent: Monday
Hello Community, Thank you for taking the time to read my message.
I am attempting to index (update) a document with a nested object.
In reading the documentation is seems to state that the fields of the nested
object do not need to be and should not be added
to schema.xml. I am getting error
Thomas
Op ma 24 okt. 2022 om 23:48 schreef Matthew Castrigno :
> Hello Community, Thank you for taking the time to read my message.
>
> I am attempting to index (update) a document with a nested object.
>
> In reading the documentation is seems to state that the fields of the
> nest
with
unfortunately. They make heavy use of deeply nested json object. Thank you
again for your assistance, it is most appreciated!
From: Thomas Corthals
Sent: Thursday, October 27, 2022 1:34 AM
To: Matthew Castrigno
Cc: users@solr.apache.org
Subject: Re: I
t;Value": "Right" },
{ "Name": "Image Source", "Type": "Image", "Value": "" },
{
"Name": "Image Content",
"Type": "Rich Text",
ary", "Type": "Multi-Line Text", "Value": "" }
],
"Modules": {
"Fields": [
{ "Name": "Content", "Type": "Rich Text", "Value": "" },
or our families in pediatrics, the pediatric ICU and the newborn
ICU,” said Sherry Iverson, director of patient and family services at St.
Luke’s Children’s.\\n“Being at the bedside of their children of all ages
is top priority for parents and remembering to take care of themselves is
easily for
that field indexed and returned. And the other fields are ignored.
{
"item" : "value"
}
A couple of questions then.
1. Why are the other fields ignored?
2. Can I put the f parameter in the schema.xml or solrconfig.xml somehow as
I cannot put them in the actual requests.
Hello Community,
I am getting this error message in the response when I attempt to access req in
a script.
"msg":"Unable to invoke function processAdd in script: test-script.js:
TypeError: Can not extend/implement [class
org.apache.solr.request.SolrQueryRequestBase] because of
java.securit
I even tried using the line from the example verbatim and it throws the same
error (except with a real argument.
some_param = req.getParams().get("commit")
Is this a bug? It should be easy for anyone to reproduce.
____
From: Matthew Castrigno
Sent
ide/solr/latest/configuration-guide/script-update-processor.html*enababling-the-scriptingupdateprocessor-and-scripting-engines__;Iw!!FkC3_z_N!KLdbXu-V6Hxi86oBpkEyPYhpZuPBNTPHAkLArKr-VZR7hJ0wbbSIJLqi--gyflxe_Puas4l9BQZ_YA$
Kevin Risden
On Thu, Nov 17, 2022 at 2:31 PM Matthew Castrigno wrote:
SOLR_SECURITY_MANAGER_ENABLED=false
worked, thank you Kevin.
From: Matthew Castrigno
Sent: Thursday, November 17, 2022 2:46 PM
To: users@solr.apache.org
Subject: Re: Security error attempting to access req in updateProcessorScript
Thank you Kevin for your
I am attempting to write a script for the ScriptingUpdateProcessor. In the JSON
below I want to pull out the objects in the "Fields" array and create fields
for them based on the values provided in the object.
However, if I attempt to iterate over the fields in the solrDoc like this:
doc = cmd.so
performance indexing
due to the reasons above.
Is it the intention that the addField() method only accessible in the
processAdd() function?
From: Matthew Castrigno
Sent: Thursday, November 17, 2022 4:40 PM
To: users@solr.apache.org
Subject: accessing an array of
I need to filter out some characters in a payload so that SOLR will recognize
the payload as a JSON document.
The solr.MappingCharFilterFactory functionality is what I need but I need to
run over the entire payload and not just the fields.
I cannot change the payload prior to submitting to SOLR
ald staff provides the lunch boxes four days a week, typically including
sandwiches, fruit and chips, as well as snack bags. The total cost of the
lunches so far has been about $24,000.\\n“Without these wonderful care
packages, many parents would go all day without food,” Iverson said. “This
partnership
a
charFilter and not just the fields?
Hello, It's still not clear. Which update request params (or curl) you use?
What if you put content as a tiny string, and then complicate it step by step?
On Mon, Nov 28, 2022 at 7: 27 PM Matthew Castrigno wrote:
>
ZjQcmQRYFpfptBa
/urldefense.com/v3/__http://observer.wunderwood.org/__;!!FkC3_z_N!K2Droj3x11Rpw7SE8FWYfCL5RP-Csp8j-9RRLv1EYypmATl8cteTtGrFKpxLPrxknF9jN0quzRPZK7sh$
(my blog)
> On Nov 28, 2022, at 12:57 PM, Matthew Castrigno wrote:
>
> Hello Mikhail,
>
> I have to work with the payload as is, I cannot modif
quot;Single-Line
Text","Value":"2021"},{"Name":"AuthorName","Type":"Single-Line
Text","Value":"Anna
Fritz"},{"Name":"BlogCategory","Type":"Single-Line
Text","V
uot;"},{"Name":"TileSummary","Type":"Rich
Text","Value":""},{"Name":"Meta
Description","Type":"Multi-Line
Text","Value":""},{"Name":"Health
Topics","Type":"Mul
Hello,
Using SOLR 9.0 and the ScriptUpdatProcesor, it appears SOLR is erroneously
adding " , " in the middle of a string field.
The script just logs the fields. If you compare the curl request with what is
logged you see the addition of many instances of , in the content field.
Later in t
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
3_z_N!NQB65JQR777QCb_Aypbo3QDqBejimEzP-Ea_ISX30_8FS9Y6EsMRy1lGOaOHoi5d2OjvKWWmtw$
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.
>
> --
VnjdycyOr_6M2lDQO_ZNqac_gfTK0-qTKq0RxxYhASKnPPsn1mN4xIIsn6OtvkxjF5XZWnel5F2D3ZQ$
>
> IIRC, there's no way to guarantee the order of the fields in the response.
> It's probably the order in which they were indexed. But I wouldn't let my
> code depend on that assumption.
>
> Thomas
>
> Op
;s probably the order in which they were indexed. But I wouldn't let my
> code depend on that assumption.
>
> Thomas
>
> Op wo 7 dec. 2022 om 23:31 schreef Matthew Castrigno :
>
>> Hi Mikhail,
>>
>> Yes I was reading this section but it was not clear to me h
I am having trouble using the fq parameter to filter for a value that is in a
muilt-valued field.
This works:
"myField":["apple"]
fq=myField:"apple"
document is returned
This does not work:
"myField":["apple, pear"]
fq=myField:"apple"
document is NOT returned
What do I need to do get fq to
want apple AND pear, use:
+myField:apple +myField:pear
wunder
Walter Underwood
wun...@wunderwood.org
https://urldefense.com/v3/__http://observer.wunderwood.org/__;!!FkC3_z_N!LRDNStCCNvSo41v6qHKPwTuNZI6crIfaKdZYFvi5GOnrHPe-Mydnv-DIN9QR0Ljh37Du8EPZPnVx0u66$
(my blog)
> On Dec 9, 2022, at
Thanks Dave. That seems to work.
From: Dave
Sent: Friday, December 9, 2022 11:19 AM
To: Matthew Castrigno
Cc: users@solr.apache.org ; a...@petdance.com
Subject: Re: Using the fq parameter to filter for a value that is multivalued
field.
Try adding each value
Is there an established method to do spatial search by zipcode where zipcode is
provided as a parameter?
Thank you.
--
"This message is intended for the use of the person or entity to which it is
addressed and may contain infor
more information about it?
From: dmitri maziuk
Sent: Tuesday, December 13, 2022 12:27 PM
To: users@solr.apache.org
Subject: Re: spatial search by zipcode
On 2022-12-13 12: 31 PM, Matthew Castrigno wrote: > Is there an established
method to do spatial search
> https://urldefense.com/v3/__https://solr.apache.org/guide/solr/latest/query-guide/spatial-search.html__;!!FkC3_z_N!OWjWi46LjoV7yrASnPQPV4l8VKNjbtPJLv8PZyxFqtjhv6fkpNLf-8XJpiKU2_obKepeo0vHi6uy7w$
>
> Regards,
> Markus
>
> Op di 13 dec. 2022 om 20:34 schreef Matthew Castrigno :
>
&g
4n8My-UDoJSQDCP6sa5C6O6r1B-4q_ax$
(my blog)
> On Dec 14, 2022, at 9:37 AM, dmitri maziuk wrote:
>
> On 2022-12-14 10:45 AM, Matthew Castrigno wrote:
>> Hi Gus,
>> Thank you for your reply. I am trying to emulate an existing API that is why
>> I am trying to work with the Zi
I need to be able to delete a document based on the value of a specific field.
I am already using the update script processor. There does not seem to be a
method for
SolrInputDocument to do this. How can I delete a document in the Script Update
Processor if I know the document id?
Thank you fo
The documentation show how to get a parameter but I cannot see where I can find
out how to set a parameter in my update script processor.
https://solr.apache.org/guide/solr/latest/configuration-guide/script-update-processor.html#javascript
Does anyone know where I can find this information?
Thank
, 2023 5:48 PM
To: users@solr.apache.org
Subject: Re: Setting a parameter from a update script processor script
On 1/5/23 17: 09, Matthew Castrigno wrote: > The documentation show how to get
a parameter but I cannot see where I can find out how to set a parameter in my
update script proces
There is a setParams but it has no argument, so it is unclear what it is using
to set the parameters.
https://solr.apache.org/docs/9_1_0/core/org/apache/solr/request/SolrQueryRequest.html#setParams(org.apache.solr.common.params.SolrParams)
From: Matthew Castrigno
Hello,
I am getting the error described here:
https://github.com/sepinf-inc/IPED/issues/1007
Has a fix for this been incorporated into 9.0?
Any other information on what causes this error?
Thank you,
[cid:4e3a7e07-fdca-4746-be49-4a956b41553b]
Matthew Castrigno
IHT Developer II
St. Luke’s
about 50 fields indexed each.
Thank you for your insights, they are appreciated.
[cid:38f99cd3-e372-41c1-8669-022d778a9338]
Matthew Castrigno
IHT Developer II
St. Luke’s Health System
• 208-859-4276
• castr...@slhs.org<mailto:x...@slhs.
]
Matthew Castrigno
IHT Developer II
St. Luke’s Health System
• 208-859-4276
• castr...@slhs.org<mailto:x...@slhs.org>
--
"This message is intended for the use of the person or entity to which it is
addressed and
e healthcheckFile, I can't find any information
about what I can put in there other than enabling/disabling the ping endpoint.
Where is there more information on this fiile? Search the doc for
healthcheckFile returns No results found for query "healthcheckFile"
Thank you for y
[cid:5e3a8e58-bb1f-4bae-be71-c6d8e3ec7d84]
Matthew Castrigno
IHT Developer II
St. Luke’s Health System
• 208-859-4276
• castr...@slhs.org<mailto:x...@slhs.org>
--
"This message is intended for the use of th
directory and
restarted the service.
Thank you for your insights.
[cid:f3d25570-5ac3-400c-aa2b-65941d61d1fa]
Matthew Castrigno
IHT Developer II
St. Luke’s Health System
• 208-859-4276
• castr...@slhs.org<mailto:x...@slhs.org>
From: Shawn Heisey
Subject: Re: Fresh install resulting in error
On 1/27/2023 2: 08 PM, Matthew Castrigno wrote: > We do use one jar not listed
in the default configuration. > What do steps do you recommend to resolve these
potential causes? > We have attempted the install multiple times.
1,
"health",
0,
"partner",
0,
"provider",
0,
"services",
2,
"st",
0
]
Thank you Jeremy.
Can use a dynamic field for the source field in a copyField directive?
Does the order in which these statements appear relavant?
Thank you!
[cid:32a6a450-c63f-4531-9b8e-d5545113bc0b]
Matthew Castrigno
IHT Developer II
St. Luke’s Health System
• 208-859-4276
Hello,
Is there a source for a general english synonym file?
One for medical terms?
Thank you,
[cid:112c8584-f545-4233-8ab5-2d09ede23c3b]
Matthew Castrigno
IHT Developer II
St. Luke’s Health System
• 208-859-4276
• castr...@slhs.org<mailto:x...@slhs.
[cid:bc5784b8-2faa-4306-ab7e-12ffb4c43a4f]
Matthew Castrigno
IHT Developer II
St. Luke’s Health System
• 208-859-4276
• castr...@slhs.org<mailto:x...@slhs.org>
From: Walter Underwood
Sent: Wednesday, February 22, 2023 11:44 AM
To: users@solr.apac
x27;delete': {'query': 'doc_id:"1E089335-892C-41F6-B767-632EB5361775"'}}
Thank you for your insights and thoughts. They are appreciated.
[cid:0b804469-5b53-4a65-97d0-20fa6d6f3b28]
Matthew Castrigno
IHT Developer II
St. Luke’s Health System
• 208-859-
Thank you all for your input.
{“delete”: "1E089335-892C-41F6-B767-632EB5361775”}
Works for me.
[cid:37cdc023-08da-4433-b882-8577129d03c6]
Matthew Castrigno
IHT Developer II
St. Luke’s Health System
• 208-859-4276
• castr...@slhs.org<mailto:x...@
64 matches
Mail list logo