JSON Query API "fields" does not work

2022-01-07 Thread Andrew Hankinson
Hello, I am using the JSON Query API, and the 'fields' key does not work as expected. Using the following query with the `post` tool: $> echo '{"query":"*:*", "fields": ["id"]}' | ./post -url http://localhost:8983/solr/mycore/select -type application/json -out yes -d I get the full document ba

Could I do a range query for an array type column?

2022-01-07 Thread WU, Zhiqing
Hello, May I ask if I could do a range query for an array type column? For number type column, the following range query works in Solr: product_id:[ 1 TO 100] For string type column, the following range query works as well: product_name: [ * TO "Television"] If a column, say “category” has been

Already listening port is assigned to dsolr.stop port

2022-01-07 Thread Reej Nayagam
Hi All, We have configured solr8 cloud with ports 3983 and 9983 in server 1 and server 2. So we have 2 solr servers 3 zookeepers running. We have an existing solr4 version with ports 6983 and 8983 running in the same server and different zk ports also. Now the issue is we didn’t do any config ch

Re: JSON Query API "fields" does not work

2022-01-07 Thread Mikhail Khludnev
Hello, Andrew. Could you try to pass a string value for "fields" property? That's what I see in TestJsonRequest. On Fri, Jan 7, 2022 at 1:03 PM Andrew Hankinson wrote: > Hello, > > I am using the JSON Query API, and the 'fields' key does not work as > expected. > > Using the following query wit

Fwd: Already listening port is assigned to dsolr.stop port

2022-01-07 Thread Reej Nayagam
Adding few more info Solr8 is https and solr4 is http. Please advise on how to proceed. Thanks Reej -- Forwarded message - From: Reej Nayagam Date: Fri, 7 Jan 2022 at 7:55 PM Subject: Already listening port is assigned to dsolr.stop port To: Solr Hi All, We have configured

Re: JSON Query API "fields" does not work

2022-01-07 Thread Andrew Hankinson
No, passing `fields` as a string value does not work. I think it's expecting an array, as best I can tell: https://gitbox.apache.org/repos/asf?p=solr.git;a=blob;f=solr/core/src/java/org/apache/solr/request/json/RequestUtil.java;h=87ba244290d81ee865af9bb464b442f6da787ae8;hb=HEAD#l209 -Andrew >

Re: JSON Query API "fields" does not work

2022-01-07 Thread Andrew Hankinson
Sorry, I should have also included my `post` tool command for clarity: $> echo '{"query":"*:*", "fields": "id,type"}' | ./post -url http://localhost:8983/solr/mycore/select -type application/json -out yes -d This returns all the fields, not just the `id` and `type` fields. I'm on 8.11.1 > On

Range query on TextField

2022-01-07 Thread WU, Zhiqing
Hello, I am learning Solr. In "The Standard Query Parser", I find: Range queries are not limited to date fields or even numerical fields, but also use with non-date fields (e.g. title:{Aida TO Carmen}) I tried a range query in a Solr database (8.3) staffName_txt:[ "Gross Bob" TO "Lindmar Deborah"]

Re: Range query on TextField

2022-01-07 Thread Srijan
My guess is inconsistent "character case" (uppercase/lowercase) in your indexed data vs your search query. For example, I would expect something like staffName_txt:[ "Gross Bob" TO "lindmar Deborah"] to return "Mr Kenyon John" as M indeed does lie between G and l. On Fri, Jan 7, 2022 at 11:10 A

Re: Range query on TextField

2022-01-07 Thread WU, Zhiqing
Many thanks for your reply. I have changed my query to staffName_txt:["GROSS BOB" TO "LINDMAR DEBORAH"] staffName_txt:["gross bob" TO "lindmar deborah"] staffName_txt:["Gross Bob" TO "lindmar Deborah"] Their "numFound" are identical (177). Apart from "Mr Kenyon John", my search result contains " Sa

Re: Range query on TextField

2022-01-07 Thread Andy C
The behavior of the range query would depend on how the fieldType used by the staffName_txt is configured. I believe you will find that TextField is not the fieldType, but the base class your fieldType is implemented on. To use an example from one of the provided example schemas, the "_text" fiel

Unsubscribe, please

2022-01-07 Thread Alisa Z .
Dear Solr Mailing List, How can I unsubscribe from it? Thank you! --Alisa

Re: Unsubscribe, please

2022-01-07 Thread Anshum Gupta
I just sent a request to unsubscribe you. I'm assuming this is the email address you used to subscribe. On Fri, Jan 7, 2022 at 10:13 AM Alisa Z. wrote: > > Dear Solr Mailing List, > How can I unsubscribe from it? > Thank you! > --Alisa -- Anshum Gupta

Re: Unsubscribe, please

2022-01-07 Thread Andrius G
Please unsubscribe me too, thank you! On Fri, Jan 7, 2022 at 8:37 PM Anshum Gupta wrote: > I just sent a request to unsubscribe you. I'm assuming this is the email > address you used to subscribe. > > On Fri, Jan 7, 2022 at 10:13 AM Alisa Z. wrote: > > > > > Dear Solr Mailing List, > > How can

Re: Unsubscribe, please

2022-01-07 Thread Christian Havel
Please unsubscribe me, too. Thank you Am Fr., 7. Jan. 2022 um 20:37 Uhr schrieb Anshum Gupta < ans...@anshumgupta.net>: > I just sent a request to unsubscribe you. I'm assuming this is the email > address you used to subscribe. > > On Fri, Jan 7, 2022 at 10:13 AM Alisa Z. wrote: > > > > > Dear S

Re: Non equi-joins with streaming expressions

2022-01-07 Thread Damiano Albani
OK, if I can find some time, I'll have a try. In the long run, it would be better (for me) to have the functionality by default in Solr than to maintain my own piece of code 😀 On Fri, Jan 7, 2022 at 1:42 AM Dennis Gove wrote: > Hi Damiano, > > Yup, that's what I meant. I'd be happy to collaborat

Re: Unsubscribe, please

2022-01-07 Thread Moazzam Khan
Can you unsubscribe me too. I tried to do it but for some reason I keep getting these emails anyway. Regards, Moazzam On Fri, Jan 7, 2022 at 1:37 PM Anshum Gupta wrote: > I just sent a request to unsubscribe you. I'm assuming this is the email > address you used to subscribe. > > On Fri, Jan 7,

Re: Unsubscribe, please

2022-01-07 Thread Anshum Gupta
To unsubscribe, please send an email to *users-unsubscr...@solr.apache.org * from the address you originally subscribed from. In case you have any issues, feel free to let us know but I don't think there should be a problem. On Fri, Jan 7, 2022 at 12:08 PM Christian Havel wrote: > Please unsub