Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-01 Thread John Bickerstaff
Yes, I get that, thanks. On Jun 1, 2016 6:38 PM, "Joe Lawson" wrote: > 2.0 is compiled with Solr 5 and Java 7. It uses the namespace > solr.SynonymExpandingExtendedDismaxQParserPlugin > > 5.0.4 is compiled with Solr 6 and Java 8 and is the first release that

Re: Add a new field dynamically to each of the result docs and sort on it

2016-06-01 Thread Mark Robinson
Thanks Charlie! I will check this and try it out. Best, Mark. On Wed, Jun 1, 2016 at 7:00 AM, Charlie Hull wrote: > On 01/06/2016 11:56, Mark Robinson wrote: > >> Just to complete my prev use case, in case no direct way is possible in >> SOLR to sort on a field in a

Re: Sorting documents in one core based on a field in another core

2016-06-01 Thread Mark Robinson
Thanks Mikhail! I will check and get back. Best, Mark On Tue, May 31, 2016 at 4:58 PM, Mikhail Khludnev < mkhlud...@griddynamics.com> wrote: > Hello Mark, > > Is it sounds like what's described at > > http://blog-archive.griddynamics.com/2015/08/scoring-join-party-in-solr-53.html > ? > > On

Re: Add a new field dynamically to each of the result docs and sort on it

2016-06-01 Thread Mark Robinson
Thanks for the reply Hoss! Let me do a quick explanation to the sort by tagValue. (Actually I quickly added this part in a different mail when I found I missed it in this mail..) That is where the dynamic input parameter comes in. The input will specify for which local outlet (outlet id passed)

Re: After Solr 5.5, mm parameter doesn't work properly

2016-06-01 Thread Greg Pendlebury
I would describe that subtly differently, and I think it is where the difference lies: "Then from 4.x it did not care about q.op if mm was set explicitly" >> I agree. q.op was not actually used in the query, but rather as a way of inferred the default mm value. eDismax still ignored whatever q.op

Re: Solr /export and dates (Solr 5.5.1)

2016-06-01 Thread Ronald Wood
Thanks! I'm glad to find out I'm not going crazy. I'll keep a lookout for that enhancement. Ronald S. Wood Immediate customer support: Call 1-866-762-7741 (x2) or emailsupp...@smarsh.com On Jun 1, 2016, at 21:45, Joel Bernstein

Re: Solr /export and dates (Solr 5.5.1)

2016-06-01 Thread Joel Bernstein
The documentation is wrong for sure. We need a new example query. I was just discussing the date issue with Erick Erickson the other day. I believe he is working on adding dates to the export handler but I didn't see a jira ticket for this yet. We'll also need to add dates to the /export handler

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-01 Thread Joe Lawson
2.0 is compiled with Solr 5 and Java 7. It uses the namespace solr.SynonymExpandingExtendedDismaxQParserPlugin 5.0.4 is compiled with Solr 6 and Java 8 and is the first release that made it to maven central. It uses the namespace

Solr /export and dates (Solr 5.5.1)

2016-06-01 Thread Ronald Wood
I have spent a bit of time with the export handler in 5.5.1 (since we are unable to upgrade directly from 4 to 6). The speed looks impressive at first glance compared to paging with cursors. However, I am deeply confused that it does not seem to be possible to either sort on or get date values

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-01 Thread John Bickerstaff
Just to be clear, I got version 2.0 of the jar from github... should I be look for something in a maven repository? A bit confused at this point given all the version numbers... I want the latest and greatest unless there's any special considerations.. Thanks for the assistance! On Jun 1, 2016

Re: Using solr with increasing complicated access control

2016-06-01 Thread Lisheng Zhang
Erick, very sorry that i misspelled your name earlier! later i read more and found that lucene seemed to implement approach 2/ (search a few times and combine results), i guess when joining becomes complicated the performance may suffer? later i will try to study more, thanks for helps, Lisheng

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-01 Thread MaryJo Sminkey
Yup that was the issue for us as well. It doesn't seem to be throwing the class error now, although I have not been able to successfully get back results that seem to be using it, it's showing up as the deftype in my params but the QParser in my debug is the normal edismax one. I will have to play

StandardTokenizer behaviour with apostrophe and colon

2016-06-01 Thread Vincenzo D'Amore
Hi all, StandardTokenizer don't split the text with an apostrophe (punctuation mark ' ) and with a colon (punctuation mark : ). Just to be clear looking at documentation all punctation marks are delimiters, with an exception for periods (dots), so I suppose that a pair of Italian word like

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-01 Thread Joe Lawson
Nothing up until 5.0.4 was distributed on maven central. 5.0 -> 5.0.4 was just a bunch of clean up to get it ready for maven (including the namespace change). Being that nearly all docs and articles talking about the plugin reference the old 2.0 one could reasonably get confused as to what config

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-01 Thread Shawn Heisey
On 6/1/2016 1:10 PM, John Bickerstaff wrote: > @Joe: > > Is it possible that the jar's package name does not match the entry in the > sample solrconfig.xml file? > > The solrconfig.xml example file in the test directory contains the > following package name: >

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-01 Thread Joe Lawson
I mean the 5.0 namespace is different from the 2.0 not 3.0. On Jun 1, 2016 5:43 PM, "Joe Lawson" wrote: 2.0 is different from 3.0 so check the test config that is associated with the 2.0 release. Ie

RE: [E] Re: Simple Question about SimplePostTool

2016-06-01 Thread Jamal, Sarfaraz
Thank you. Sas -Original Message- From: Erik Hatcher [mailto:erik.hatc...@gmail.com] Sent: Wednesday, June 1, 2016 4:34 PM To: solr-user@lucene.apache.org Subject: [E] Re: Simple Question about SimplePostTool Yes, you can add “literal” field values with bin/post: bin/post -c test

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-01 Thread Joe Lawson
2.0 is different from 3.0 so check the test config that is associated with the 2.0 release. Ie https://github.com/healthonnet/hon-lucene-synonyms/blob/8f736da053510911517fcb8a712b1d8ca5c920d2/src/test/resources/solr/collection1/conf/example_solrconfig.xml On Jun 1, 2016 3:10 PM, "John

Re: After Solr 5.5, mm parameter doesn't work properly

2016-06-01 Thread Jan Høydahl
Edismax used to default to mm=100% and not care about q.op at all Then from 4.x it did not care about q.op if mm was set explicitly, but if mm was not set, then q.op=OR —> mm=0%, q.op=AND —> mm=100% And from 5.5 it seems as q.op does something even if mm is set... -- Jan Høydahl, search

Re: Script to upgrade a Solr index from 4.x to 6.x

2016-06-01 Thread Jan Høydahl
It is a completely use on your own risk script :-) Freshly written, tested on some 4.8.0 indexes. PR’s welcome :-) -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 1. jun. 2016 kl. 14.36 skrev Brendan Humphreys : > > Hi Jan, > > Thanks for

Re: After Solr 5.5, mm parameter doesn't work properly

2016-06-01 Thread Greg Pendlebury
But isn't that the default value? In this case the OP is setting mm explicitly to 2. Will have to look at those code links more thoroughly at work this morning. Apologies if I am wrong. Ta, Greg On Wednesday, 1 June 2016, Jan Høydahl wrote: > > 1. jun. 2016 kl. 03.47

Re: Simple Question about SimplePostTool

2016-06-01 Thread Erik Hatcher
Yes, you can add “literal” field values with bin/post: bin/post -c test ~/Documents/Test.pdf -params "literal.foo=bar” See https://cwiki.apache.org/confluence/display/solr/Uploading+Data+with+Solr+Cell+using+Apache+Tika#UploadingDatawithSolrCellusingApacheTika-InputParameters for details

SolrCloud with SSL and Basic Authentication

2016-06-01 Thread Tempes, Piotr (Consultant)
I have ask same question on stackoverflow: http://stackoverflow.com/questions/37577074/solrcloud-with-ssl-and-basic-authentication Is it possible to configure SolrCloud with SSL and Basic Authentication? I have configured 3 nodes of Solr in SolrCloud with SSL using

RuntimeLib classes with Analyzers?

2016-06-01 Thread King Rhoton
This message on the solr-users mailing list from September, 2015 claims > That is a current limitation of the blob store API. It can only be > used to load plugins in solrconfig.xml. It does not support loading > schema plugins such as analyzers, tokenizers. But at

Re: Using solr with increasing complicated access control

2016-06-01 Thread Lisheng Zhang
Eric: thanks very much for your quick response (somehow msg was sent to spam initially, sorry about that) yes the rules has to be complicated beyond my control, we also tried to filter after search, but after data amount grows, it becomes slow .. Rightnow lucene has feature like document block

Solr off-heap FieldCache & HelioSearch

2016-06-01 Thread Phillip Peleshok
Hey everyone, I've been using Solr for some time now and running into GC issues as most others have. Now I've exhausted all the traditional GC settings recommended by various individuals (ie Shawn Heisey, etc) but neither proved sufficient. The one solution that I've seen that proved useful is

Simple Question about SimplePostTool

2016-06-01 Thread Jamal, Sarfaraz
Hi Guys, I am a newbie at Solr, so I may have some very simple questions. I am also waiting for my book to arrive. Can the SimplePostTool be used to add additional fields when indexing a word/excel/text. So, for example, as I index a word document, I pass in a parameter saying team=avengers

Any Performance Study to show Effect Of Shards with Replica on QPS

2016-06-01 Thread Siddhartha Singh Sandhu
Hi, I wanted to know anyone had a link to graphical study showing the correlation between Shards and Replicas against QPS. I have this link but this show this link: http://www.slideshare.net/thelabdude/solr-performance which compare indexing performance between Shards and replicas. I know that

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-01 Thread John Bickerstaff
@Joe: Is it possible that the jar's package name does not match the entry in the sample solrconfig.xml file? The solrconfig.xml example file in the test directory contains the following package name: However, the jar file (when unzipped) has the following directory structure down to the same

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-01 Thread John Bickerstaff
I tried this - it didn't fail. I don't know if it really started in Denable.runtime.lib=true mode or not: service solr start -Denable.runtime.lib=true Of course, I'd still really rather be able to just drop jars into /var/solr/data/lib and have them work... Thanks all. On Wed, Jun 1, 2016 at

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-01 Thread John Bickerstaff
Thanks Jeff. I've installed "out of the box" with 5.4 and didn't make any modifications on Ubuntu - so I'm not sure why it wouldn't get picked up, but I'll keep chipping away at it... I appreciate the new one to try. That's a good test. On Wed, Jun 1, 2016 at 12:45 PM, Jeff Wartes

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-01 Thread Jeff Wartes
In the interests of the specific questions to me: I’m using 5.4, solrcloud. I’ve never used the blob store thing, didn’t even know it existed before this thread. I’m uncertain how not finding the class could be specific to hon, it really feels like a general solr config issue, but you could

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-01 Thread John Bickerstaff
So - the instructions on using the Blob Store API say to use the Denable.runtime.lib=true option when starting Solr. Thing is, I've installed per the "for production" instructions which gives me an entry in /etc/init.d called solr. Two questions. To test this can I still use the start.jar in

Re: DocTransformer [explain] not working in Solr 5

2016-06-01 Thread Chris Hostetter
: Subject: DocTransformer [explain] not working in Solr 5 : : Not able to get the DocTransformer [explain] to work in Solr 5. I'm sure : I'm doing something wrong. But I'm following the example in the Hmmm... i don't think you're doing anything wrong. Since Solr 5.5.1 this works as expected

Re: Last modified time is not updated on on SolrCloud 5.2.1 SSL

2016-06-01 Thread Erick Erickson
Issue an explicit commit to be sure. And as to whether the SSL makes a difference... I'm more going on the theory that you happened to look after the autocommit kicked in on the non-SSL case and before that on the SSL case. Admittedly a shot in the dark. Browser caching issues, have tripped me

Re: Add a new field dynamically to each of the result docs and sort on it

2016-06-01 Thread Chris Hostetter
: Let me try to detail. : We have our "product" core with a couple of million docs. : We have a couple of thousand outlets where the products get sold. : Each product can have a different *tagValue* in each outlet. : Our "product_tag" core (around 2M times 2000 records), captures tag info of :

Re: Re: Can Solr 5.5 recognize the index result generated by SolrIndexer of old version Nutch ?

2016-06-01 Thread Yago Riveiro
I did the process from 4.0 to 4.10 (I have disk docValues in my index) with a IndexUpgrader tool. Indeed, I don't know if from 1.4 to 4.10 this process works ... But googling a bit I found this http://stackoverflow.com/questions/25450865 /migrate-solr-1-4-index-files-to-4-7 Is like

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-01 Thread John Bickerstaff
Ahhh - gotcha. Well, not sure why it's not picked up - seems lots of other jars are... Maybe Joe will comment... On Wed, Jun 1, 2016 at 10:22 AM, MaryJo Sminkey wrote: > That refers to running Solr in cloud mode. We aren't there yet. > > MJ > > > > On Wed, Jun 1, 2016 at

Re: Last modified time is not updated on on SolrCloud 5.2.1 SSL

2016-06-01 Thread Ilan Schwarts
Since its working in non ssl, i dont think its commit issue, it is the same pc, i just update scheme on zoomeeper to https and un-comment the ssl settings on solr.in.cmd. On Jun 1, 2016 7:25 PM, "Ilan Schwarts" wrote: > If a document was added on both cores/nodes. Doesnt it

Re: Last modified time is not updated on on SolrCloud 5.2.1 SSL

2016-06-01 Thread Ilan Schwarts
If a document was added on both cores/nodes. Doesnt it mean the document was successfully added and commited? On Jun 1, 2016 7:23 PM, "Erick Erickson" wrote: > Did you issue a commit? > > Best, > Erick > > On Wed, Jun 1, 2016 at 8:15 AM, Ilan Schwarts

Re: Last modified time is not updated on on SolrCloud 5.2.1 SSL

2016-06-01 Thread Erick Erickson
Did you issue a commit? Best, Erick On Wed, Jun 1, 2016 at 8:15 AM, Ilan Schwarts wrote: > Hi all, > I have working enviroment SolrCloud 5.2.1, When i am using without SSL, > after adding a document, I can see on the core's information, Under > "statistics" the Last Modified

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-01 Thread MaryJo Sminkey
That refers to running Solr in cloud mode. We aren't there yet. MJ On Wed, Jun 1, 2016 at 12:20 PM, John Bickerstaff wrote: > Hi Mary Jo, > > I'll point you to Joe's earlier comment about needing to use the Blob Store > API... He put a link in his response. > > I'm

Re: Re: Can Solr 5.5 recognize the index result generated by SolrIndexer of old version Nutch ?

2016-06-01 Thread Erick Erickson
https://lucene.apache.org/core/4_1_0/core/org/apache/lucene/index/IndexUpgrader.html I'm not sure how far back this tool will work, i.e. I don't know if it'll successfully go from 1.4 -> 5.x. You may have to pull a Solr 3x version to upgrade from 1.4->3x, then a 4x version to upgrade 3x->4x and

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-01 Thread John Bickerstaff
Hi Mary Jo, I'll point you to Joe's earlier comment about needing to use the Blob Store API... He put a link in his response. I'm about to try that today... Given that Joe is a contributor to hon_lucene there's a good chance his experience is correct here - especially given the evidence

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-01 Thread MaryJo Sminkey
So we still can't get this to work, here's the latest update my server guy gave me: It seems to not matter where the file is located, it does not load. Yet, the the Solr Java class path shows the file has loaded. Only this path (./server/lib/hon-lucene-synonyms-2.0.0.jar) will work in that it

Re: Solr Cloud and Multi-word Synonyms :: synonym_edismax parser

2016-06-01 Thread John Bickerstaff
Thanks Shawn Yup - I created a /lib inside my $SOLR_HOME directory (which by default was /var/solr/data) I put the hon_lucene. jar file in there and rebooted - same errors about class not found. Tried again in what looked like the next most obvious spot server/solr-webapp/webapp/WEB-INF/lib

回复:Re: Can Solr 5.5 recognize the index result generated by SolrIndexer of old version Nutch ?

2016-06-01 Thread tjlp
Hi, Yago, Could you tell me the IndexUpgrade tool exactly? It is a tool released in the Solr binary or some command line? ThanksLiu Peng - 原始邮件 - 发件人:Yago Riveiro 收件人:solr-user , solr-user@lucene.apache.org, t...@sina.com 主题:Re: Can

Fwd: Last modified time is not updated on on SolrCloud 5.2.1 SSL

2016-06-01 Thread Ilan Schwarts
Hi all, I have working enviroment SolrCloud 5.2.1, When i am using without SSL, after adding a document, I can see on the core's information, Under "statistics" the Last Modified is working good, it writes "Less than a minuet". But when i set the solrcloud to SSL, after adding the document, it is

Last modified time is not updated on on SolrCloud 5.2.1 SSL

2016-06-01 Thread Ilan Schwarts
Hi all, I have working enviroment SolrCloud 5.2.1, When i am using without SSL, after adding a document, I can see on the core's information, Under "statistics" the Last Modified is working good, it writes "Less than a minuet". But when i set the solrcloud to SSL, after adding the document, it is

Re: Metadata and HTML ending up in searchable text

2016-06-01 Thread Simon Blandford
Thanks Timothy, Will give the DIH a try. I have submitted a bug report. Regards, Simon On 31/05/16 13:22, Allison, Timothy B. wrote: From the same page, extractFormat=text only applies when extractOnly is true, which just shows the output from tika without indexing the document. Y, sorry.

SolrCloud 5.2.1 nodes are out of sync - how to handle

2016-06-01 Thread Ilan Schwarts
Hi, We have in lab SolrCloud 5.2.1 2 Shards, each shard has 2 cores/nodes, replication factor is 1. meaning that one node is leader (like old master-slave). (upon collection creation numShards=1 rp=1) Now there is a problem in the lab, shard 1 has 2 cores, but the number of docs is different, and

Re: After Solr 5.5, mm parameter doesn't work properly

2016-06-01 Thread Jan Høydahl
> 1. jun. 2016 kl. 03.47 skrev Greg Pendlebury : > I don't think it is 8812. q.op was completely ignored by edismax prior to > 5.5, so it is not mm that changed. That is not the case. Prior to 5.5, mm would be automatically set to 100% if q.op==AND See

Re: Script to upgrade a Solr index from 4.x to 6.x

2016-06-01 Thread Brendan Humphreys
Hi Jan, Thanks for the script! I for one will definitely try it out. Can you comment on how battle-tested it is? Are there any limitations or drawbacks? Cheers, -Brendan On Wednesday, 1 June 2016, Jan Høydahl wrote: > Hi > > Need to upgrade from Solr 4.x directly to

Script to upgrade a Solr index from 4.x to 6.x

2016-06-01 Thread Jan Høydahl
Hi Need to upgrade from Solr 4.x directly to the new 6.0? Here is a script that does it automatically for all your cores: https://github.com/cominvent/solr-tools/blob/master/upgradeindex/upgradeindex.sh USAGE: Script to Upgrade old indices from 4.x and 5.x to 6.x format, so it can be used

Configure SolrCloud for Loadbalance for .net client

2016-06-01 Thread shivendra.tiwari
Hi, I have to configure SolrCloud for loadbalance on .net application please suggest what we have to needed and how to configure it. We are currently working on lower version of Solr with Master and Slave concept. Please suggest. Warm Regards! Shivendra Kumar Tiwari

Re: Add a new field dynamically to each of the result docs and sort on it

2016-06-01 Thread Charlie Hull
On 01/06/2016 11:56, Mark Robinson wrote: Just to complete my prev use case, in case no direct way is possible in SOLR to sort on a field in a different core, is there a way to embed the tagValue of a product dynamically into the results (the storeid will be passed at query time. So query the

Re: Add a new field dynamically to each of the result docs and sort on it

2016-06-01 Thread Mark Robinson
Just to complete my prev use case, in case no direct way is possible in SOLR to sort on a field in a different core, is there a way to embed the tagValue of a product dynamically into the results (the storeid will be passed at query time. So query the product_tags core for that product+storeid and

Re: Add a new field dynamically to each of the result docs and sort on it

2016-06-01 Thread Mark Robinson
Thanks much Eric and Hoss! Let me try to detail. We have our "product" core with a couple of million docs. We have a couple of thousand outlets where the products get sold. Each product can have a different *tagValue* in each outlet. Our "product_tag" core (around 2M times 2000 records), captures

Re: Solr 6 CDCR does not work

2016-06-01 Thread Adam Majid Sanjaya
disable autocommit on the target It worked! thanks 2016-05-30 15:40 GMT+07:00 Renaud Delbru : > Hi Adam, > > could you check the response of the monitoring commands [1], QUEUES, > ERRORS, OPS. This might help undeerstanding if documents are flowing or if > there are

How can we incrementally build the solr suggestions

2016-06-01 Thread Subrahmanyam MadhavaBotla
Hi Team, We are using Solr suggestions based on indexed terms. However, We see only two options for building solr suggestion.. commit... on start. . We understand that these will completely rebuild the suggestions every time these are called.. How can we incrementally build the solr

Re: Can Solr 5.5 recognize the index result generated by SolrIndexer of old version Nutch ?

2016-06-01 Thread Yago Riveiro
You need to upgrade your index to version 4.10 using the IndexUpgrade tool. -- Yago Riveiro On 1 Jun 2016 10:53 +0100, t...@sina.com, wrote: > Hi, > We plan to upgrade the solr server to 5.5.0. And we have a customized crawler > based on Nutch 1.2 and Solr 1.4.1. > > So, the question is: can

Can Solr 5.5 recognize the index result generated by SolrIndexer of old version Nutch ?

2016-06-01 Thread tjlp
Hi, We plan to upgrade the solr server to 5.5.0. And we have a customized crawler based on Nutch 1.2 and Solr 1.4.1. So, the question is: can Solr 5.5 recognize the index result generated by SolrIndexer of Nutch 1.2? Thanks