Query regarding to multi tenant composite ID document routing

2017-10-31 Thread Ketan Thanki
Hi, Need the help regarding to below mention query. I have 2 collections with each has 4 shard and 4 replica and i want to implemented Composite document routing for my unique field 'Id' as mentions below. e.g : projectId:158380 modelId:3606 where tenants bits use as projectId/2!modelId/2 pr

Re: Solr streaming questions

2017-10-31 Thread Joel Bernstein
It is not possible to use score with the /export handler. The /export handler currently only supports sorting by fields. You can sort by score using the default /select handler. Joel Bernstein http://joelsolr.blogspot.com/ On Tue, Oct 31, 2017 at 1:50 PM, Webster Homer wrote: > I have a potent

SOLR-11504: Provide a config to restrict number of indexing threads

2017-10-31 Thread Nawab Zada Asad Iqbal
Hi, I hit this issue https://issues.apache.org/jira/browse/SOLR-11504 while migrating to solr6 and locally working around it in Lucene code. I am thinking to fix it properly and hopefully patch back to Solr. Since, Lucene code does not want to keep any such config, I am thinking to use a counting

Re: Incomplete Index

2017-10-31 Thread Rick Leir
Dawg, I have a similar setup, and this is what works for me. I have a field which contains a timestamp. The timestamp is set to be identical for all documents added/updated in a run. Whe the run is complete and some/many documents have been overwritten then I can delete all un-updated documents

Re: Graph Traversal

2017-10-31 Thread Kojo
Everything working fine, these functional programming is amazing. Thank you! 2017-10-31 12:31 GMT-02:00 Kojo : > Thank you, I am just starting with Streaming Expressions. I will try this > one later. > > I will open another thread, because I can´t do some simple queries using > Streaming Expressi

RE: Stateless queries to secured SOLR server.

2017-10-31 Thread Phil Scadden
Thanks Shawn. I have done it with SolrJ. Apart from needing the NoopResponseParser to handle the wt=, it was pretty painless. -Original Message- From: Shawn Heisey [mailto:apa...@elyograg.org] Sent: Wednesday, 1 November 2017 2:43 a.m. To: solr-user@lucene.apache.org Subject: Re: Stateles

Re: Solr response with original value

2017-10-31 Thread Venkateswarlu Bommineni
Thanks for the reply Shawn. But I am little confused on faceting on one field and return the result of another field. could you please give sample query. Thanks a lot in advance!!! On Tue, Oct 31, 2017 at 8:23 PM, Shawn Heisey wrote: > On 10/31/2017 5:15 AM, Venkateswarlu Bommineni wrote: > > P

Re: mvn test failing

2017-10-31 Thread Daniel Collins
I just ran the tests on master, and get the following failures, this may be what Tarique means: TestFoldingMultitermExtrasQuery.beforeTests:36->SolrTestCaseJ4.initCore:552->SolrTestCaseJ4.initCore:678->SolrTestCaseJ4.createCore:688 » Runtime TestFoldingMultitermExtrasQuery.org.apache.solr.analys

Solr streaming questions

2017-10-31 Thread Webster Homer
I have a potential use case for solr searching via streaming expressions. I am currently using solr 6.2.0, but we will soon be upgrading to the 7.1.0 version. I started testing out searching using streaming expressions. 1. If I use an alias instead of a collection name it fails. I see that there i

Re: max docs, deleted docs optimization

2017-10-31 Thread Erick Erickson
1> 2 lakh at most. If the standard background merging is going on it may be less than that. 2> Some, but whether you notice or not is an open question. In an index with only 10 lakh docs, it's unlikely even having 50% deleted documents is going to make much of a difference. 3> Yes, the deleted do

Re: Solr response with original value

2017-10-31 Thread Shawn Heisey
On 10/31/2017 5:15 AM, Venkateswarlu Bommineni wrote: > Please suggest how to achieve below scenario. > > I have a field '*productSuggestion*' , below is the configuration. > > stored="true" multiValued="false" /> > > > > > > > > > > > > > when i use above field in facets i am getting on

Re: mvn test failing

2017-10-31 Thread Daniel Collins
Another important question is which branch did you download? I assume master as its the default, but remember that is a development branch, so it is entirely possible to have some test issues on that. On 31 October 2017 at 13:44, Shawn Heisey wrote: > On 10/28/2017 11:48 PM, Tarique Anwer wrote

Re: Graph Traversal

2017-10-31 Thread Kojo
Thank you, I am just starting with Streaming Expressions. I will try this one later. I will open another thread, because I can´t do some simple queries using Streaming Expressions. 2017-10-30 12:11 GMT-02:00 Pratik Patel : > You use this in query time. Since Streaming Expressions can be pipel

RE: LTR feature extraction performance issues

2017-10-31 Thread Brian Yee
Thank you Christine! I am still in the data gathering / model building phase and I have not yet re-ranked my results so that makes sense. It sounds like when I add re-ranking, the caching will start working. Thanks! --Brian -Original Message- From: Christine Poerschke (BLOOMBERG/ LONDON

Re: mvn test failing

2017-10-31 Thread Shawn Heisey
On 10/28/2017 11:48 PM, Tarique Anwer wrote: > I am new to Solr. > I am trying to build Solr from source code using Maven. > So I performed the following steps: > > 1. Download the source code zip from https://github.com/apache/lucene-solr > 2. unzip & run from top level dir: > $ ant get-maven-po

Re: Stateless queries to secured SOLR server.

2017-10-31 Thread Shawn Heisey
On 10/29/2017 6:13 PM, Phil Scadden wrote: > While SOLR is behind a firewall, I want to now move to a secured SOLR > environment. I had been hoping to keep SOLRJ out of the picture and just > using httpURLConnection. However, I also don't want to maintain session > state, preferring to send auth

Re: Failed to create collection SOLR 6.3 HDP 2.6.2

2017-10-31 Thread Shawn Heisey
On 10/30/2017 2:45 PM, Dan Caulfield wrote: > Thanks Shawn, > I tried your recommended solution and delete the maxis_clickstream > directory. I got the same error when trying to recreate the collection. > Can you think of anything else to try? I am pretty sure that this problem happens because t

RE: LTR feature extraction performance issues

2017-10-31 Thread Christine Poerschke (BLOOMBERG/ LONDON)
Hi Brian, I just tried to explore the scenario you describe with the techproducts example and am able to see what you see: # step 1: start solr with techproducts example and ltr enabled # step 2: upload one feature (originalScore) and one model using that feature # step 3: examine cache stats vi

Sum area polygon solr

2017-10-31 Thread Samur Araujo
Hi all, is it possible to sum the area of a polygon in solr? Suppose I do an polygon intersect and I want to retrieve the total area of the resulting polygon. Is it possible? Best, -- Head of Data Geophy www.geophy.com Nieuwe Plantage 54-55 2611XK Delft +31 (0)70 7640725 1 Fore Street EC2Y

Re: Solr response with original value

2017-10-31 Thread Venkateswarlu Bommineni
Thanks for the reply. Can u please tell me how to use copy field to return original values in the query. On 31 Oct 2017 5:29 pm, "Emir Arnautović" wrote: > Hi Venkat, > If you need this field for searching, then you need to use copyfield to > copy this to some other filed of type string that wi

Re: Solr response with original value

2017-10-31 Thread Emir Arnautović
Hi Venkat, If you need this field for searching, then you need to use copyfield to copy this to some other filed of type string that will be used for faceting: HTH, Emir -- Monitoring - Log Management - Alerting - Anomaly Detection Solr & Elasticsearch Consulting Support Training - http://sema

Re: Incomplete Index

2017-10-31 Thread Emir Arnautović
Hi, There is a possibility that you ended up with documents with the same ID and that you are overwriting docuements instead of writing new. In any case, I would suggest you change your approach in case you have enough disk space to keep two copies of indices: 1. use alias to read data from inde

max docs, deleted docs optimization

2017-10-31 Thread kshitij tyagi
Hi, I am using atomic update to update one of the fields, I want to know : 1. if total docs in core are 10 lakh and I partially update 2 lakhs docs then what will be the number of deleted docs? 2. Does higher number of deleted docs have affect on query time? means does query time increases if de

Automatic creation of indexes

2017-10-31 Thread Jokin Cuadrado
Hi, I'm using solr to store time series data, log events etc. Right now I use a solr cloud collection and cleaning it deleting documents via queries, but I would like to know what approaches are other people using. Is there a way to create a collection when receiving a post to a inexistent inded?

Solr response with original value

2017-10-31 Thread Venkateswarlu Bommineni
Hello Team, Please suggest how to achieve below scenario. I have a field '*productSuggestion*' , below is the configuration. when i use above field in facets i am getting only indexed values (lower case values ) , but i need original value. Example : Original String : Life is Beaut

Incomplete Index

2017-10-31 Thread o1webdawg
I have an index with about a million documents. It is the backend for a shopping cart system. Sometimes the inventory gets out of sync with solr and the storefront contains out of stock items. So I setup a scheduled task on the server to run at 12am every morning to delete the entire solr index.