Re: Newb from the iron age on a mission:Solr deployment

2015-11-24 Thread Erick Erickson
OK, you want to get to a go/no-go decision fast. It's actually relatively cheap to do Here's the long form: https://lucidworks.com/blog/2012/07/23/sizing-hardware-in-the-abstract-why-we-dont-have-a-definitive-answer/ The short form is: Take your best stab at a schema. Take your best stab at a

Re: multiple table(how to index multiple table in solr)

2015-11-24 Thread Erick Erickson
See what happens if you simply index the cross product of all three tables. if user U1 reviews restaurant R1 with review rev1, index a single Solr document with all three. Presumably your database has a primary key for each table, so the uniqueKey for the Solr index is the concatenation of those t

Re: JSON facets and excluded queries

2015-11-24 Thread Mikhail Khludnev
Hello Max, pls try &facet.field={!key=price_all ex=fqCol}price&facet.field={!key=price_nogreen}price... Filter exclusions aren't claimed as a feature of json facets, feel free to raise an issue. On Tue, Nov 24, 2015 at 8:56 PM, Aigner, Max wrote: > I'm currently evaluating Solr 5.3.1 for perfor

Re: multiple table(how to index multiple table in solr)

2015-11-24 Thread Mugeesh Husain
Thanks you for replying me, one more question, if join is bad idea at the time of indexing,or i should denormalize data. How i can index/post Restuarnt,user,review table info to solr. we need a unique key at the posting data to solr. Actually i need a unique key for all table(data) for the pur

Newb from the iron age on a mission:Solr deployment

2015-11-24 Thread GW
I hope I am in the context of this mailing list, Thanks in advance. A little background I learned computers with 6800 machine assembly. With decades of RDBMS jumping into the Solr/Hadoop/Hbase is still a pilgrimage through hell. I think I didn't need to learn hadoop or hbase. So, I have a perso

Re: Querying nested datastructures

2015-11-24 Thread Mikhail Khludnev
Hello Istvan, - when flattern subdocs, you can concatenate its' fields which are necessary for retrieval, eg "K-06-45", it solves retrieval, but isn't really flexible. - term positions is not easier to implement, if you really prefer this way I'd suggest to look on http://siren.solutions/siren/ove

Re: Re:Re: Implementing security.json is breaking ADDREPLICA

2015-11-24 Thread Erick Erickson
bq: I don't suppose there is an ETA for 5.4? Actually, 5.4 is probably in the works within the next month. I'm not the one cutting the release, but there's some rumors that a label will be cut this week, then the "usual" process is a week or two (sometimes more if bugs are flushed out) before the

RE: Re:Re: Implementing security.json is breaking ADDREPLICA

2015-11-24 Thread Oakley, Craig (NIH/NLM/NCBI) [C]
Thanks for the reply, I don't suppose there is an ETA for 5.4? Thanks again -Original Message- From: Anshum Gupta [mailto:ans...@anshumgupta.net] Sent: Tuesday, November 24, 2015 12:31 PM To: solr-user@lucene.apache.org Subject: Re: Re:Re: Implementing security.json is breaking ADDREPL

Re: Sold 4.10.4 dropping index on shutdown

2015-11-24 Thread Erick Erickson
Oliver: It's really got to be some kind of oddity in your environment. It's, shall we say, highly unlikely that this is a fundamental problem in the code and you're the _only_ one it's affected. Best, Erick On Mon, Nov 23, 2015 at 3:21 AM, Upayavira wrote: > Can you confirm that the indexes *ar

Re: multiple table(how to index multiple table in solr)

2015-11-24 Thread Erick Erickson
Not quite an answer, but the question is wrong ;) Do not try to treat Solr like a RDBMS. Your problem statement reveals that you are. Then, no doubt, you'll want to join the "tables" you've indexed. Then you'll discover that this is usually a Bad Idea. Instead, try to flatten (denormalize) the da

JSON facets and excluded queries

2015-11-24 Thread Aigner, Max
I'm currently evaluating Solr 5.3.1 for performance improvements with faceting. However, I'm unable to get the 'exclude-tagged-filters' feature to work. A lot of the queries I'm doing are in the format ...?q=category:123&fq={!tag=fqCol}color:green&facet=true&facet.field{!key=price_all ex=fqCol}p

Re: [Edismax] * escaping

2015-11-24 Thread Shawn Heisey
On 11/24/2015 9:31 AM, Alessandro Benedetti wrote: > I was wondering how can I escape the '*' character to explicitly look for > it instead of using it as a wildcard. > *rawquerystring*": "a\\*b", > "*querystring*": "a\\*b", > "*parsedquery*": "BoostedQuery(boost(+((area:a area:b) | > ((country

Re: Re:Re: Implementing security.json is breaking ADDREPLICA

2015-11-24 Thread Anshum Gupta
Yes, it certainly is a PKI issue. On Tue, Nov 24, 2015 at 7:59 AM, Oakley, Craig (NIH/NLM/NCBI) [C] < craig.oak...@nih.gov> wrote: > Thank you for the reply > > Trying those exact commands, I'm still getting the same issue > tar xvzf /net/sybdev11/export/home/sybase/Distr/Solr/solr-5.3.1.tgz > ta

RE: Re:Re: Implementing security.json is breaking ADDREPLICA

2015-11-24 Thread Oakley, Craig (NIH/NLM/NCBI) [C]
Thank you for the reply Trying those exact commands, I'm still getting the same issue tar xvzf /net/sybdev11/export/home/sybase/Distr/Solr/solr-5.3.1.tgz tar xvzf /net/sybdev11/export/home/sybase/Distr/Solr/zookeeper-3.4.6.tar.gz cd zookeeper-3.4.6/ bin/zkServer.sh start zoo_sample.cfg cd .. sol

[Edismax] * escaping

2015-11-24 Thread Alessandro Benedetti
Hi guys, I was wondering how can I escape the '*' character to explicitly look for it instead of using it as a wildcard. I was trying escaping : *Edismax* *q*= a\*b which resulted in : *rawquerystring*": "a\\*b", "*querystring*": "a\\*b", "*parsedquery*": "BoostedQuery(boost(+((area:a area:b)

Different Similarities for the same field

2015-11-24 Thread Markus, Sascha
Hi, I implemented a Similarity which is based on the DefaultSimilarity changing the calculation for the idf. To work with this CustomSimilarity and the DefaultSimilarity from our application I have one field with the default and a copyfield with my similarity. Concerning the extra space needed for

Re: Json Facet api on nested doc

2015-11-24 Thread xavi jmlucjav
Mikahil, Yonik thanks for having a look. This was my bad all the time...I forgot I was on 5.2.1 instead of 5.3.1 on this setup!! It seems some things were not there yet on 5.2.1, I just upgraded to 5.3.1 and my query works perfectly. Although I do agree with Mikhail the docs on this feature are a

Re: Solr Collections Migrate statement

2015-11-24 Thread philippa griggs
Thank you. Just wanted to double check. Philippa From: Shalin Shekhar Mangar Sent: 24 November 2015 13:48 To: solr-user@lucene.apache.org Subject: Re: Solr Collections Migrate statement Hi Philippa, This is the expected behavior. The old documents stay

Re: Solr Collections Migrate statement

2015-11-24 Thread Shalin Shekhar Mangar
Hi Philippa, This is the expected behavior. The old documents stay on the source collection so you can verify the result of the migrate and delete them yourself. On Tue, Nov 24, 2015 at 6:01 PM, philippa griggs wrote: > Hello, > > > I'm using Solr 5.2.1 and Zookeeper 3.4.6. > > > I have a quick

Re: Range Query on a language specific field

2015-11-24 Thread Jack Krupansky
Salary would normally be a numeric field, with no tokenization or filtering. For a range query on a non-numeric field the ordering will be lexical on individual terms, and typically Chinese text is tokenized into two-character terms. Sure, you can technically do a range query like that, but I'm no

Re: Querying nested datastructures

2015-11-24 Thread Jack Krupansky
The primary recommendation is that you flatten nested documents. That means one Solr document per cpc, not multivalued. As always, queries should drive your data model, so please specify what a typical query might be like, in plain English. -- Jack Krupansky On Tue, Nov 24, 2015 at 4:39 AM, Ist

Re: CloudSolrCloud - Commit returns but not all data is visible (occasionally)

2015-11-24 Thread adfel70
After several days running some use cases with 2 configurations, I can tell you that the "PERFORMANCE WARNING: Overlapping onDeckSearchers" continues only on the maxWarmingSearchers=2 and none on the maxWarmingSearchers=5 config. Unfortunately, the root problem still occurs! I have reduced the fil

Re: Solr 5.2 child documents

2015-11-24 Thread Novin
Thanks Mikhali. On 23/11/15 17:44, Mikhail Khludnev wrote: Novin, As it's stated here http://yonik.com/solr-nested-objects/ there is no requirements for schema. Perhaps http://blog.griddynamics.com/2013/09/solr-block-join-support.html might be useful too. I suppose LogUpdateProcessor messages

Solr Collections Migrate statement

2015-11-24 Thread philippa griggs
Hello, I'm using Solr 5.2.1 and Zookeeper 3.4.6. I have a quick question about the Solr Collection API and the migrate statement. I've got a test environment working with two shards and two collections. When I run the Migrate command the documents appear on the target collection no problem,

multiple table(how to index multiple table in solr)

2015-11-24 Thread Mugeesh Husain
Hello, I have a 3 table Restuarnt,User,Review Structure like this Restuarnt--: [rid,name,etc] User-- -- : [uid,name,etc] Review --: [id,rid,uid,name,etc] how i index these structure ? Actually i am confuse about unique key ,Is i have to indexed 3 different core for this or make a single en

Querying nested datastructures

2015-11-24 Thread István
Hi all, I would like to find documents in a key-value store (Riak) with Solr and I am running into a challenge. I have nested JSON documents with patent information. Patents have a one or many CPC ( http://www.cooperativepatentclassification.org/index.html) codes something like these: { // more

Range Query on a language specific field

2015-11-24 Thread Manohar Sripada
I have a requirement where I need to be able to query on a field (say "salary"). This field contains data in Chinese. Is it possible in Solr to do a range query on this field? Is there any language specific Analyzer that I could use on this field to achieve range search?