Re: Implementing NeuralNetworkModel RankNet in Solr LTR

2018-09-13 Thread Zheng Lin Edwin Yeo
Hi, Anyone tried this RankNet or other Neural Network Model examples like ListNet or LambdaRank for the feature selection and model training for Solr LTR? Regards, Edwin On Wed, 12 Sep 2018 at 10:44, Zheng Lin Edwin Yeo wrote: > Hi, > > I am working on to implementing Solr LTR in Solr 7.4.0 by

Re: Faceting with EnumFieldType in 7.1

2018-09-13 Thread Zheng Lin Edwin Yeo
Was the document re-indexed in Solr 7.1? Regards, Edwin On Wed, 12 Sep 2018 at 23:38, Peter Tyrrell wrote: > I updated an older Solr 4.10 core to Solr 7.1 recently. In so doing, I > took an old 'gradeLevel_enum' field of type EnumField and made it an > EnumFieldType, since the former has been d

Re: solrcloud configuration: solr failed to start with multiple zookeeper servers

2018-09-13 Thread Zheng Lin Edwin Yeo
Which version of Solr and ZooKeeper are you using? What is the command that you used to start Solr? Regards, Edwin On Thu, 13 Sep 2018 at 21:56, Gu, Steve (CDC/OD/OADS) (CTR) wrote: > Yes, my zookeeper ensemble have 3 servers and they are all up running. > > -Original Message- > From:

Re: Multi word search is not returning correct results in solr

2018-09-13 Thread Zheng Lin Edwin Yeo
Hi Jagadish, How are you passing in the query to do the search? Is it through SolrJ or HTTP or something else? Also, which version of Solr are you using? Regards, Edwin On Thu, 13 Sep 2018 at 22:09, Muddapati, Jagadish < jagadish.muddap...@nscorp.com> wrote: > Hi, > > The Solr results are not w

Re: Solr custom FieldType not returned within response

2018-09-13 Thread Zheng Lin Edwin Yeo
Hi Dominik, Which Solr version are you using? Also, how did you declare your FieldType in your schema.xml, and what was your query that works and didn't worked? Regards, Edwin On Thu, 13 Sep 2018 at 17:32, Dominik Safaric wrote: > Hi, > > I've implemented a custom Solr FieldType (namely Binar

Re: Streaming Expressions - gatherNodes

2018-09-13 Thread Kojo
Joel, The result of the expressions are right. The problem was that I was expecting wrong return values. I was not using the "scatter" parameter, and by default the gatterNodes emits only the leaf nodes. So while I increased the input to the function, it was resolving the nodes at the level zero o

Re: Rectangle with rotation in Solr

2018-09-13 Thread David Smiley
Polygon is the only way. On Wed, Aug 29, 2018 at 7:46 AM Zahra Aminolroaya wrote: > I have locations with 4-tuple (longitude,latitude) which are like > rectangles > and I want to index them. Solr BBoxField with minX, maxX, maxY and minY, > only considers rectangles which does not have rotations.

Re: Streaming Expressions - gatherNodes

2018-09-13 Thread Kojo
I can do that. I tell you when I open the Jira. Em qui, 13 de set de 2018 às 14:05, Joel Bernstein escreveu: > I'll have to take a look and see if I can reproduce this exact behavior. > Let's create a jira ticket so we can track the discussion. > > > Joel Bernstein > http://joelsolr.blogspot.c

Re: Streaming Expressions - gatherNodes

2018-09-13 Thread Joel Bernstein
I'll have to take a look and see if I can reproduce this exact behavior. Let's create a jira ticket so we can track the discussion. Joel Bernstein http://joelsolr.blogspot.com/ On Thu, Sep 13, 2018 at 1:03 PM Kojo wrote: > Same query feeding 25000 tuples to gatherNodes: > > gatherNodes(graph_

Re: Streaming Expressions - gatherNodes

2018-09-13 Thread Kojo
Same query feeding 25000 tuples to gatherNodes: gatherNodes(graph_auxilios, search(graph_auxilios, zkHost="localhost:9983",qt="/select", rows=25000, q=*:*, fl="numero_processo", sort="numero_processo asc"), walk="numero_processo->projeto_pai", gather="numero_processo", ) About 350 nodes r

Re: Streaming Expressions - gatherNodes

2018-09-13 Thread Joel Bernstein
I see that the hits=0 in this log request. Are there log requests that show results found for one of these queries? Joel Bernstein http://joelsolr.blogspot.com/ On Thu, Sep 13, 2018 at 10:15 AM Kojo wrote: > I have just run this expression: > > > gatherNodes(graph_auxilios, > search(graph_a

Re: start solr cloud at boot time

2018-09-13 Thread Shawn Heisey
On 9/13/2018 9:25 AM, Chuming Chen wrote: Is there any bash script that can start a solr cloud at boot time?  Use the service installer script.  This will install an init script and set it up so it starts at boot. https://lucene.apache.org/solr/guide/7_4/taking-solr-to-production.html#run-th

RE: how to access solr in solrcloud

2018-09-13 Thread Gu, Steve (CDC/CDC OD/OADS) (CTR)
That makes sense. CloudSolrClient accepts a list of zookeepers. It works beautifully. Thanks Steve -Original Message- From: Walter Underwood Sent: Thursday, September 13, 2018 10:55 AM To: solr-user@lucene.apache.org Subject: Re: how to access solr in solrcloud Use direct connection

Re: any way to post json document to a MoreLikeThisHandler?

2018-09-13 Thread Matt Work Coarr
Thank you Alex! I'll take a look at DumpRequestHandler and see if I can pull pieces from there and from MLT. I was also looking at DirectUpdateHandler2 to try and tease apart the logic for parsing an incoming json (or xml or whatever incoming format is). Do you think that's worthwhile? My though

start solr cloud at boot time

2018-09-13 Thread Chuming Chen
Hi All, Is there any bash script that can start a solr cloud at boot time? Thanks, Chuming

Re: how to access solr in solrcloud

2018-09-13 Thread Walter Underwood
Use direct connections to Zookeeper. Using a load balancer or proxy is not recommended. Zookeeper needs direct TCP connections. It is not an HTTP server. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Sep 13, 2018, at 5:23 AM, Gu, Steve (CDC/OD/OAD

Re: Streaming Expressions - gatherNodes

2018-09-13 Thread Kojo
I have just run this expression: gatherNodes(graph_auxilios, search(graph_auxilios, zkHost="localhost:9983",qt="/select", rows=3, q=*:*, fl="numero_processo", sort="numero_processo asc"), walk="numero_processo->projeto_pai", gather="numero_processo", ) This is the response: { "resu

Multi word search is not returning correct results in solr

2018-09-13 Thread Muddapati, Jagadish
Hi, The Solr results are not working for multi word search. When I use the double quotes around the words it's not giving the correct results and getting random results. Please suggest me resolution for this. String contentText = URLEncoder.encode(String.format("title:\"%s\" OR body:\"%s\" OR

RE: solrcloud configuration: solr failed to start with multiple zookeeper servers

2018-09-13 Thread Gu, Steve (CDC/OD/OADS) (CTR)
Yes, my zookeeper ensemble have 3 servers and they are all up running. -Original Message- From: Pure Host - Wolfgang Freudenberger Sent: Thursday, September 13, 2018 8:57 AM To: solr-user@lucene.apache.org Subject: Re: solrcloud configuration: solr failed to start with multiple zookeepe

Re: Streaming Expressions - gatherNodes

2018-09-13 Thread Joel Bernstein
That's odd behavior. What do the logs look like? This will produce a series of queries against the projects collection. Are you seeing those in the logs? Any errors? Joel Bernstein http://joelsolr.blogspot.com/ On Thu, Sep 13, 2018 at 9:25 AM Kojo wrote: > Hi, > > If I try to feed gatherNodes

Streaming Expressions - gatherNodes

2018-09-13 Thread Kojo
Hi, If I try to feed gatherNodes with more than 25000 tuples, it gives me empty result-set. gatherNodes(projects, search(projects, zkHost="localhost:9983",qt="/select", rows=3, q=*:*, fl="id", sort="id asc"), walk="id->parent_id", gather="id", ) Response: { "result-set": { "docs": [ {

Re: Explode kind of function in Solr

2018-09-13 Thread Joel Bernstein
Solr Streaming Expressions allow you to do this with the cartesianProduct function: http://lucene.apache.org/solr/guide/7_4/stream-decorator-reference.html#cartesianproduct The structure of the expression is: cartesianProduct(search(...)) Joel Bernstein http://joelsolr.blogspot.com/ On Thu,

Re: 20180913 - Clarification about Limitation

2018-09-13 Thread Shawn Heisey
On 9/13/2018 2:07 AM, Rekha wrote: Hi Solr Team, I am new to SOLR. I need following clarification from you. How many documents can be stored in one core? Is there any limit for number of fields per document? How many Core’s can be created in o

Re: solrcloud configuration: solr failed to start with multiple zookeeper servers

2018-09-13 Thread Pure Host - Wolfgang Freudenberger
did you configure the zookeeper as a quorum? Am 13.09.2018 um 14:47 schrieb Gu, Steve (CDC/OD/OADS) (CTR): Hi, I am prototyping solrcloud and I have three zookeeper servers (localhost:2181,localhost:2182,localhost:2183). I set the zkHost in solr.in.cmd file as: set ZK_HOST="localhost:2181,l

RE: Idle Timeout while DIH indexing and implicit sharding in 7.4

2018-09-13 Thread Vadim Ivanov
Hi, I've put some more tests on the issue and managed to find out more details. Time out occurs when while long indexing some documents in the beginning is going to one shard and then for a long time (more than 120 sec) no data at all is going to that shard. Connection to that core, opened in the b

solrcloud configuration: solr failed to start with multiple zookeeper servers

2018-09-13 Thread Gu, Steve (CDC/OD/OADS) (CTR)
Hi, I am prototyping solrcloud and I have three zookeeper servers (localhost:2181,localhost:2182,localhost:2183). I set the zkHost in solr.in.cmd file as: set ZK_HOST="localhost:2181,localhost:2182,localhost:2183" After zk servers have started, I got the following error when I tried to start

Re: how to access solr in solrcloud

2018-09-13 Thread Shawn Heisey
On 9/13/2018 6:23 AM, Gu, Steve (CDC/OD/OADS) (CTR) wrote: Hi, Florian We need to pass zookeeper url to CloudSolrClient. Since there are multiple zk servers, is it the common practice to set a proxy server in front of zookeeper? ZooKeeper should not be behind a load balancer.  Your client sh

RE: how to access solr in solrcloud

2018-09-13 Thread Gu, Steve (CDC/OD/OADS) (CTR)
Hi, Florian We need to pass zookeeper url to CloudSolrClient. Since there are multiple zk servers, is it the common practice to set a proxy server in front of zookeeper? Thanks for your advice. Steve -Original Message- From: Florian Gleixner Sent: Wednesday, September 12, 2018 6:27 P

Re: Explode kind of function in Solr

2018-09-13 Thread Andrea Gazzarini
Hi, as far as I know, this is not possible. Solr is document-oriented, meaning with that its datamodel works using a "document" level of granularity. If you index A, you get A. I see a couple of chances (maybe someone else could add other options): * index exactly what you need: in your case

Explode kind of function in Solr

2018-09-13 Thread Rushikesh Garadade
Hello All, Is there any functionality in solr that can convert (explode) results from 1 document to many docuement. *Example: * Lets say I have doc: { id:1, phone: [11,22,33] } when I query to solr with id=1 I want result as below: [{ id:1, phone:11 }, { id:1, phone:22 }, { d:1

Re: 20180913 - Clarification about Limitation

2018-09-13 Thread Andrea Gazzarini
Hi Rekna, I think nobody can seriously answer to your questions. The only "serious" answer to your questions, which doesn't help you, is "it depends"; specifically, it depends on what is / are your goal / goals, context and so on. Is not possible, at least in my opinion, to provide such answe

Re: 20180913 - Clarification about Limitation

2018-09-13 Thread Rahul Singh
Depends on whether you are using Solr or solrcloud. Solrcloud distributes data into shards so it increases overall capacity. Rahul Singh Chief Executive Officer m 202.905.2818 Anant Corporation 1010 Wisconsin Ave NW, Suite 250 Washington, D.C. 20007 We build and manage digital business technolo

Re: parent/child rows in solr

2018-09-13 Thread Rahul Singh
What’s your SLA? It seems that you have two problems - finding correlated information that’s in a hierarchy and potentially displaying it. I feel your desire to conflate the two is forcing you down a specific path. Often times in complex scenarios I’ve found that an index like Solr is better fo

Solr custom FieldType not returned within response

2018-09-13 Thread Dominik Safaric
Hi, I've implemented a custom Solr FieldType (namely BinaryDocValuesField) which is successfully being stored within the indices. However, if I query for docs containing the value for the defined field, its value is not returned within the response. On the contrary, I am able to query using the fi

Re: switch query parser and solr cloud

2018-09-13 Thread Dwane Hall
Afternoon all, Just to add some closure to this topic in case anybody else stumbles across a similar problem I've managed to resolve my issue by removing the switch query parser from the _appends_ component of the parameter set. so the parameter set changes from this "set":{ "firstParams"

Re: Error while creating a new solr core

2018-09-13 Thread shalvak mittal
"When used in combination with the RSA JSSE and RSA JCE providers, this crypto module provides a FIPS-compliant (FIPS 140-2) implementation. " This is written in the oracle website so I suppose JsafeJCE provides a FIPS-compliant JSSE. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-Use

20180913 - Clarification about Limitation

2018-09-13 Thread Rekha
Hi Solr Team, I am new to SOLR. I need following clarification from you. How many documents can be stored in one core? Is there any limit for number of fields per document? How many Core’s can be created in on SOLR?Is th