Disadvantages of having Zookeeper instance and Solr instance in the same server

2018-05-29 Thread solr2020
Hi, What is the pros and cons of having Zookeeper instance and Solr instance in the same VM/Server in production environment? Thanks. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Find value in Parent doc fields OR Child doc fields

2018-05-29 Thread Asher Shih
unsubscribe On Tue, May 29, 2018 at 6:01 PM, kristaclaire14 wrote: > Hi, > > I want to query/find a value that may match on parent document fields or > child document fields. Is this possible using block join parent query > parser? How can I do this with solr nested documents? Here is the

Find value in Parent doc fields OR Child doc fields

2018-05-29 Thread kristaclaire14
Hi, I want to query/find a value that may match on parent document fields or child document fields. Is this possible using block join parent query parser? How can I do this with solr nested documents? Here is the example data: [{ "id":"1001" "path":"1.Project",

Re: Weird behavioural differences between pf in dismax and edismax

2018-05-29 Thread Sambhav Kothari
Wouldn't all of this depend entirely on the tokenizers used? I was talking about phrases in a multi-token sense. Regardless, I still think there should be similarity between dismax and edismax for the commonly parameters. (Either extend the edismax logic to dismax or vice versa) Regards, Sam On

Re: sending empty request parameters to solr

2018-05-29 Thread Shawn Heisey
On 5/29/2018 5:10 AM, Riyaz wrote: We had come across a requirement to allow empty parameter values to query string(q), start and rows as part of solr search query. In solr 3.4, have added defType to edismax and it's allowing empty params http:///solr//select?=xml=true==" -->working fine in

Re: Field list vs getting everything

2018-05-29 Thread root23
Yes i meant fl. So essentially if i ask in the fl list for 10 fields vs all the fields have no effect in terms of the amount of work solr has to do ? -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Solr Cloud 7.3.1 backups

2018-05-29 Thread Greg Roodt
Hi What is the best way to perform a backup of a Solr Cloud cluster? Is there a way to backup only the leader? From my tests with the collections admin BACKUP command, all nodes in the cluster need to have access to a shared filesystem. Surely that isn't necessary if you are backing up the leader

Re: Index protected zip

2018-05-29 Thread Cassandra Targett
Someone needs to update the Ref Guide. That can be a patch submitted on a JIRA issue, or a committer could forego a patch and make changes directly with commits. Otherwise, this wiki page is making a bad situation even worse. On Tue, May 29, 2018 at 12:06 PM Tim Allison wrote: > I’m happy to

Re: Field list vs getting everything

2018-05-29 Thread Alexandre Rafalovitch
'df' is Default Field parameter and does not affect the fields returned. You probably meant 'fl'. Just not listing field in 'fl' will not have much effect, apart from serialization time and network time. Which may help your real users if your middleware just passes the results to the browser.

Field list vs getting everything

2018-05-29 Thread root23
Hi all , We have in our solr schema around 110 fields and then around 200 dynamic fields. Untill now whenever we query solr we will just blindly get everything. Even if our calling application dont need all the fields to send back to the client. So i thought that may be if i ask only a subset of

Re: Index protected zip

2018-05-29 Thread Tim Allison
I’m happy to contribute to this message in any way I can. Let me know how I can help. On Tue, May 29, 2018 at 2:31 PM Cassandra Targett wrote: > It's not as simple as a banner. Information was added to the wiki that does > not exist in the Ref Guide. > > Before you say "go look at the Ref

Re: CURL command problem on Solr

2018-05-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Roee, On 5/29/18 11:02 AM, Roee Tarab wrote: > I am having some troubles with pushing a features file to solr > while building an LTR model. I'm trying to upload a JSON file on > windows cmd executable from an already installed CURL folder, with >

Re: Index protected zip

2018-05-29 Thread Cassandra Targett
It's not as simple as a banner. Information was added to the wiki that does not exist in the Ref Guide. Before you say "go look at the Ref Guide" you need to make sure it says what you want it to say, and the creation of this page just 3 days ago indicates to me that the Ref Guide is missing

Re: Index protected zip

2018-05-29 Thread Erick Erickson
On further reflection ,+1 to marking the Wiki page superseded by the reference guide. I'd be fine with putting a banner at the top of all the Wiki pages saying "check the Solr reference guide first" ;) On Tue, May 29, 2018 at 10:59 AM, Cassandra Targett wrote: > Couldn't the same information on

Re: Index protected zip

2018-05-29 Thread Cassandra Targett
Couldn't the same information on that page be put into the Solr Ref Guide? I mean, if that's what we recommend, it should be documented officially that it's what we recommend. I mean, is anyone surprised people keep stumbling over this? Shawn's wiki page doesn't point to the Ref Guide (instead

Re: Weird behavioural differences between pf in dismax and edismax

2018-05-29 Thread Elizabeth Haubert
That would make sense. Multi-term synonyms get into a weird case too. Should the single-term words that have multi-term synonyms expand out? Or should the multi-term synonyms that have single-term synonyms contract down and count as only a single clause for pf2 or pf3. On Tue, May 29, 2018 at

Re: Weird behavioural differences between pf in dismax and edismax

2018-05-29 Thread Alessandro Benedetti
I don't have any hard position on this, It's ok to not build a phrase boost if the input query is 1 term and it remains one term after the analysis for one of the pf fields. But if the term produces multiple tokens after query time analysis, I do believe that building a phrase boost should be the

Throttling on replication after ADDREPLICA

2018-05-29 Thread Leonard, Carl
My setup is a 3 shard index with 20GB per shard. I am migrating from a master/slave replication to TLOG replicas using Solr 7.1. In my use case I have to recreate my index from scratch each day. I have a heterogeneous setup with a high powered indexer and lesser searcher that answer queries.

solr-extracting features values

2018-05-29 Thread Roee Tarab
Hi, I have a 8 Question core, and a feature file as well. Im trying to extract feature values for each Q couple in order to use them for training an algorithm (in order to build a model). Can you help me to extract those feature values? Thanks!

Re: CURL command problem on Solr

2018-05-29 Thread chris
HTTP headers are case insensitive Original message From: simon Date: 5/29/18 12:17 PM (GMT-05:00) To: solr-user Subject: Re: CURL command problem on Solr Could it be that the header should be 'Content-Type' (which is what I see in the relevant RFC) rather than

Re: CURL command problem on Solr

2018-05-29 Thread simon
Could it be that the header should be 'Content-Type' (which is what I see in the relevant RFC) rather than 'Content-type' as shown in your email ? I don't know if headers are case-sensitive, but it's worth checking. -Simon On Tue, May 29, 2018 at 11:02 AM, Roee Tarab wrote: > Hi , > > I am

Re: Removed nodes still visible as gone in Solrcloud graph

2018-05-29 Thread Dominique Bejean
Hi, I reply to myself. The solution is to edit the state.json fie for all impacted collections. - Stop all Solr nodes - Download state.json file from ZK for collection "xx" # server/scripts/cloud-scripts/zkcli.sh -z "xxx.xxx.xxx.xxx:2181" -cmd getfile

CURL command problem on Solr

2018-05-29 Thread Roee Tarab
Hi , I am having some troubles with pushing a features file to solr while building an LTR model. I'm trying to upload a JSON file on windows cmd executable from an already installed CURL folder, with the command: curl -XPUT 'http://localhost:8983/solr/techproducts/schema/feature-store'

Looking for folks to test out Solr 5 and 6 bindings for upcoming YCSB 0.14.0 release

2018-05-29 Thread Sean Busbey
Hi Solr users! The YCSB project is currently testing out release candidates for our 0.14.0 release. This release updates our Solr 5 and 6 support to allow use with kerberized Solr. If anyone has a spare 30 or so minutes, we could use help testing out things so that the Solr clients can stay

Removed nodes still visible as gone in Solrcloud graph

2018-05-29 Thread Dominique Bejean
Hi, On a node, I accidentally changed the SOLR_HOST value from uppercase to lowercase and I restarted the node. After I fixed the error, I restarted again the node but the node name in lowercase is still visible as "gone". How to definitively remove a gone node from the Solrcloud graph ?

Re: Weird behavioural differences between pf in dismax and edismax

2018-05-29 Thread Elizabeth Haubert
I disagree that a phrase of 1-word is just a phrase. That is the core difference between the qf and pf clauses. Qf is collecting the terms; pf is boosting the combinations. For queries where the original query phrase has only a single term in it, then it might be a moot point, unless the

Re: Impact/Performance of maxDistErr

2018-05-29 Thread David Smiley
Hello Jens, With solr.RptWithGeometrySpatialField, you always get an accurate result thanks to the "WithGeometry" part. The "Rpt" part is a grid index, and most of the parameters pertain to that. maxDistErr controls the highest resolution grid. No shape will be indexed to higher resolutions

sending empty request parameters to solr

2018-05-29 Thread Riyaz
Hi, We had come across a requirement to allow empty parameter values to query string(q), start and rows as part of solr search query. In solr 3.4, have added defType to edismax and it's allowing empty params http:///solr//select?=xml=true==" -->working fine in solr 3.4 Configs:

RE: Solr 7.3, FunctionScoreQuery no longer displays debug output

2018-05-29 Thread Sadat Anwer
I have had the same issue, only I was comparing it to solr 6.6 and when I saw the rather brief debug OP. I initially thought it was beause the boost was now a FunctionQuery! I am glad others have the same issue. Its almost impossible to make any sense of the debug op now. Thanks, Sadat On

RE: Solr 7.3, FunctionScoreQuery no longer displays debug output

2018-05-29 Thread Markus Jelsma
Anyway, i've created a ticket for reference: https://issues.apache.org/jira/browse/SOLR-12414 Thanks, Markus -Original message- > From:Markus Jelsma > Sent: Friday 18th May 2018 0:24 > To: solr-user@lucene.apache.org > Subject: RE: Solr 7.3, FunctionScoreQuery no longer displays debug

Re: Weird behavioural differences between pf in dismax and edismax

2018-05-29 Thread Alessandro Benedetti
In my opinion, given the definition of dismax and edismax query parsers, they should behave the same for parameters in common. To be a little bit extreme I don't think we need the dismax query parser at all anymore ( in the the end edismax is only offering more than the dismax) Finally, I do

Understanding SOLR Joins

2018-05-29 Thread Nancy Goyal
Hi, I have implemented basic SOLR Joins between two collections. Currently in my project implementation, we are getting data from multiple tables and storing as single document in view and indexing that view. We got a suggestion to implement the same with Joins but not sure if the same

RE: Configuring aliases in ZooKeeper first

2018-05-29 Thread Gael Jourdan-Weil
Thanks for your feedback. I opened following issue:  https://issues.apache.org/jira/browse/SOLR-12413. De : Shalin Shekhar Mangar Envoyé : lundi 28 mai 2018 17:58 À : solr-user@lucene.apache.org Objet : Re: Configuring aliases in ZooKeeper first   Thanks for the report. This sounds like a bug.