Re: Doing calculation for fields indexed in StandardTokenizer

2018-02-18 Thread Zheng Lin Edwin Yeo
Hi, This is the Aggregation Functions in Solr Facet Functions, which I understand that it only works in numeric field. But if the field is already indexed in string/text, is it possible for the field to be mapped to integer/float without re-indexing? Regards, Edwin On 18 February 2018 at

Re: solr cloud unique key query request is sent to all shards!

2018-02-18 Thread Tomas Fernandez Lobbe
In real-time get, the parameter name is “id”, regardless of the name of the unique key. The request should be in your case: http://:8080/api/collections/col1/get?id=69749398 See: https://lucene.apache.org/solr/guide/7_2/realtime-get.html Sent from my iPhone > On Feb 18, 2018, at 9:28 PM,

Re: solr cloud unique key query request is sent to all shards!

2018-02-18 Thread Ganesh Sethuraman
I tried this real time get on my collection using the both V1 and V2 URL for real time get, but did not work!!! http://:8080/api/collections/col1/get?myid:69749398 it returned... { "doc":null} same issue with V1 URL as well, http:// :8080/solr/col1/get?myid:69749398 however if i do

Re: solr cloud unique key query request is sent to all shards!

2018-02-18 Thread Tomas Fernandez Lobbe
I think real-time get should be directed to the correct shard. Try: [COLLECTION]/get?id=[YOUR_ID] Sent from my iPhone > On Feb 18, 2018, at 3:17 PM, Ganesh Sethuraman > wrote: > > Hi > > I am using Solr 7.2.1. I have 8 shards in two nodes (two different m/c) >

Re: Solr streaming expression - options for Full Outer Join

2018-02-18 Thread Joel Bernstein
I forgot to mention, in order to do a join you would merge the streams together that you wanted to join. Then reduce by the join key. This is basic structure: reduce(merge(search(), search())) Joel Bernstein http://joelsolr.blogspot.com/ On Sun, Feb 18, 2018 at 10:45 PM, Joel Bernstein

Re: Solr streaming expression - options for Full Outer Join

2018-02-18 Thread Joel Bernstein
If you aren't getting the join functionality you want with the current join implementations you could try the reduce function using the group operation. Here is the sample syntax: reduce(search(collection1, q=*:*, fl="id,a_s,a_i,a_f", sort="a_s asc, a_f asc"), by="a_s",

RE: Index size increases disproportionately to size of added field when indexed=false

2018-02-18 Thread Howe, David
Hi Erick & Alessandro, I have solved my problem by re-ordering the data in the SQL query. I don't know why it works but it does. I can consistently re-produce the problem without changing anything else except the database table. As our Solr build is scripted and we always build a new Solr

Re: coord in SolR 7

2018-02-18 Thread Ahmet Arslan
Hi Andreas, Can weak AND (WAND) be used in your use case? https://issues.apache.org/jira/browse/LUCENE-8135 Ahmet On Monday, February 12, 2018, 1:44:38 PM GMT+3, Moll, Dr. Andreas wrote: Hi, I try to upgrade our SolR installation from SolR 5 to 7. We use a customized

RE: Getting the error - The field '*********' does not support spatial filtering

2018-02-18 Thread Howe, David
Hi Aakanksha, We use the following for geo queries which works for us: /solr/core/select?defType=edismax=on=0=0=json=true=on=*=%7B!geofilt%7D=-6.08165,145.8612430=10=geoLocation=geodist()%20asc=10=*,score,distance:geodist() This gives us the results closest to the provided point in order of

Re: Solr streaming expression - options for Full Outer Join

2018-02-18 Thread GaneshSe
Any help solr streaming expression option is greatly appreciated. Please help -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

solr cloud unique key query request is sent to all shards!

2018-02-18 Thread Ganesh Sethuraman
Hi I am using Solr 7.2.1. I have 8 shards in two nodes (two different m/c) using Solr Cloud. The data was indexed with a unique key (default composite id) using the CSV update handler (batch indexing). Note that I do NOT have while indexing. Then when I try to query the collection col1 based

Re: nullpointer exception - while adding pdf document

2018-02-18 Thread Erick Erickson
That error is not from the PDF parsing, it's from using the _default (schemaless) schema. As the startup message says, schemaless mode is not recommended for production because it's impossible to guess right every time. So I'd start with a schema that does not do this, see the reference guide

Getting the error - The field '*********' does not support spatial filtering

2018-02-18 Thread Aakanksha Gupta
Hi all, I'm a newbie to Solr. I'm trying to use it for GeoSpatial Search and I'm facing an issue while using it. I've tried using the new 'location' field type() as well as the deprecated solr.LatLonType fieldtype, but I always get the error: org.apache.solr.common.SolrException: The field

Custom Solr Sorting + Query

2018-02-18 Thread ~$alpha`
I want to write a custom Solr query and sorting and when I am calling http://127.0.0.1:8983/solr/techproducts/select?q={!myparsername}12=uid desc, some of the section as marked is not getting called. Issue: Documentation of solr customization is pretty poor Help: Can you please tell why my code

Re: Solr running on Tomcat

2018-02-18 Thread Shawn Heisey
On 2/17/2018 9:27 PM, GVK Prasad wrote: My assumption was hosting on Jetty may not work for production and higher performance systems needs and we have to go for Servers like Tomcat. If it is not supported with latest version not sure how it will help us. Thanks for clarification. It is