Re: AEM SOLR integaration

2017-09-21 Thread Nicole Bilić
Hi, Maybe this could help you out http://www.aemsolrsearch.com/ Regards, Nicole On Sep 22, 2017 05:41, "Gunalan V" wrote: > Hello, > > I'm looking for suggestion in building the SOLR infrastructure so Kindly > let me know if anyone has integerated AEM (Adobe Experience Manager) with > SOLR? >

Re: CloudSolrServer set http request timeout

2017-09-21 Thread Vincenzo D'Amore
Thanks for the suggestion, it's working like a charm. Ciao, Vincenzo > On 21 Sep 2017, at 19:51, Jason Gerlowski wrote: > > Hi Vincenzo, > > Have you tried setting the read/socket timeout on your client? > CloudSolrServer uses a LBHttpSolrServer under the hood, which you can > get with the g

Re: How to build solr

2017-09-21 Thread srini sampath
PS: I have Installed both Ant and Ivy in my system. But there is no ${user.home}\.ant\lib folder On Fri, Sep 22, 2017 at 11:41 AM, srini sampath wrote: > Thanks Aman, > Erick, I followed the link and I am getting the following error, > > Buildfile: ${user.home}\git\lucene-solr\build.xml > > comp

Re: How to build solr

2017-09-21 Thread srini sampath
Thanks Aman, Erick, I followed the link and I am getting the following error, Buildfile: ${user.home}\git\lucene-solr\build.xml compile: -check-git-state: -git-cleanroot: -copy-git-state: git-autoclean: resolve: ivy-availability-check: BUILD FAILED ${user.home}\git\lucene-solr\build.xml:30

Re: Error Opening new IndexSearcher - LockObtainFailedException

2017-09-21 Thread Shashank Pedamallu
Hi Luiz, Unfortunately, I’m on version Solr-6.4.2 and the patch does not apply straight away. Thanks, Shashank On 9/21/17, 8:35 PM, "Luiz Armesto" wrote: Hi Shashank, There is an open issue about this exception [1]. Can you take a look and test the patch to see if it works in

Re: DocValues error when upgrading to 6.6.1 from 6.5

2017-09-21 Thread Erick Erickson
This error is not about DocValuesAsStored, but about multiValued=true|false. It indicates that multiValued is set to "false" for the current index but "true" in the new schema. At least that's my guess Best, Erick On Thu, Sep 21, 2017 at 11:56 AM, Xie, Sean wrote: > Hi, > > When I upgrade th

AEM SOLR integaration

2017-09-21 Thread Gunalan V
Hello, I'm looking for suggestion in building the SOLR infrastructure so Kindly let me know if anyone has integerated AEM (Adobe Experience Manager) with SOLR? Thanks, GVK

Re: Error Opening new IndexSearcher - LockObtainFailedException

2017-09-21 Thread Luiz Armesto
Hi Shashank, There is an open issue about this exception [1]. Can you take a look and test the patch to see if it works in your case? [1] https://issues.apache.org/jira/browse/SOLR-11297 On Sep 21, 2017 10:19 PM, "Shashank Pedamallu" wrote: Hi, I’m seeing the following exception in Solr that

Error Opening new IndexSearcher - LockObtainFailedException

2017-09-21 Thread Shashank Pedamallu
Hi, I’m seeing the following exception in Solr that gets automatically resolved eventually. 2017-09-22 00:18:17.243 ERROR (qtp1702660825-17) [ x:spedamallu1-core-1] o.a.s.c.CoreContainer Error creating core [spedamallu1-core-1]: Error opening new searcher org.apache.solr.common.SolrException:

Re: [bulk]: Re: Dates and DataImportHandler

2017-09-21 Thread Jamie Jackson
That's what I ended up doing too, for my MariaDB (MySQL derivative) DB: CONVERT_TZ('${dataimporter.last_index_time}','${user.timezone}','${ custom.dataimporter.datasource.tz}') user.timezone is Solr's time zone and custom.dataimporter.datasource.tz is a property I set on startup. The other optio

Re: Replicates not recovering after rolling restart

2017-09-21 Thread Bill Oconnor
1. We are moving from 4.X to 6.6. 2. Changed the schema - adding the version etc nothing major. 3. Full re-index of documents into the cluster - so this is not a migration. 4. Changed the the JVM parameter from 12GB to 16GB and did a restart. 5. Replicates go into recovery which fai

DocValues error when upgrading to 6.6.1 from 6.5

2017-09-21 Thread Xie, Sean
Hi, When I upgrade the existing SOLR from 6.5.1 to 6.6.1, I’m getting: cannot change DocValues type from SORTED to SORTED_SET for field “…..” During the upgrades, there is no change on schema and schema version (we are using schema version 1.5 so seDocValuesAsStored defaults are not taking into

Re: CloudSolrServer set http request timeout

2017-09-21 Thread Vincenzo D'Amore
Thanks Jason, I'll give it a try immediately. Ciao, Vincenzo -- mobile: 3498513251 skype: free.dev > On 21 Sep 2017, at 19:51, Jason Gerlowski wrote: > > Hi Vincenzo, > > Have you tried setting the read/socket timeout on your client? > CloudSolrServer uses a LBHttpSolrServer under the hood,

Re:Strange Behavior When Extracting Features

2017-09-21 Thread Christine Poerschke (BLOOMBERG/ LONDON)
Hi Michael, Thanks for reporting this here and via SOLR-11386 ticket! I've just added a note to the https://issues.apache.org/jira/browse/SOLR-11386 ticket. Christine - Original Message - From: solr-user@lucene.apache.org To: solr-user@lucene.apache.org At: 09/20/17 20:07:24 Hi all,

Re: CloudSolrServer set http request timeout

2017-09-21 Thread Jason Gerlowski
Hi Vincenzo, Have you tried setting the read/socket timeout on your client? CloudSolrServer uses a LBHttpSolrServer under the hood, which you can get with the getLBServer method (https://lucene.apache.org/solr/4_1_0/solr-solrj/org/apache/solr/client/solrj/impl/CloudSolrServer.html#getLbServer()).

CloudSolrServer set http request timeout

2017-09-21 Thread Vincenzo D'Amore
Hi, I have a huge problem with few queries in SolrCloud 4.8.1 that hangs the client. Actually I'm unable to understand even if the cluster really receives the requests. How can I set a timeout when Solrj client wait too much ? Best regards, Vincenzo -- Vincenzo D'Amore email: v.dam...@gmail.c

Re: Replicates not recovering after rolling restart

2017-09-21 Thread Erick Erickson
Hmmm, I didn't ask what version you're upgrading _from_. 5 years ago would be Solr 4. Are you replacing Solr 5 or 4? I'm guessing 5, but want to check unlikely possibilities. Next question: I'm assuming all your nodes have been upgraded to Solr 6, right? Best, Erick On Wed, Sep 20, 2017 at 7:18

Re: How to build solr

2017-09-21 Thread Erick Erickson
And did you follow the link provided on that page? Best, Erick On Thu, Sep 21, 2017 at 3:07 AM, Aman Tandon wrote: > Hi Srini, > > Kindly refer to the READ.ME section of this link of GitHub, this should > work. > https://github.com/apache/lucene-solr/blob/master/README.md > > With regards, > Ama

Re: overwrite the parameter query in DIH

2017-09-21 Thread Erick Erickson
Quite frankly if you can't just configure this in DIH I'd do all the indexing from SolrJ. Long blog on the subject here: https://lucidworks.com/2012/02/14/indexing-with-solrj/ Best, Erick On Thu, Sep 21, 2017 at 8:17 AM, solr2020 wrote: > Hi All, > > We are retrieving mongodb data using Dataimp

Re: Rescoring from 0 - full

2017-09-21 Thread Erick Erickson
Sure, you can take full control of the scoring, just write a custom similarity. What's not at all clear is why you want to. RerankQParserPlugin will re-rank the to N documents by pushing them through a different query, can you make that work? Best, Erick On Thu, Sep 21, 2017 at 4:20 AM, Diego

overwrite the parameter query in DIH

2017-09-21 Thread solr2020
Hi All, We are retrieving mongodb data using Dataimport handler. We have a scenario where we have to overwrite the mongodb query configured in data-config file. We have to do this overwrite programmatically using solrj. For this we are using ModifiableSolrParams to set the parameters. Here is the

Re: Not able to import timestamp data into Solr

2017-09-21 Thread shankhamajumdar
Hi, I have gone through the below link and tried with different options. But still getting the same error. http://lucene.apache.org/solr/guide/6_6/working-with-dates.html Can you please check the below configuration and let me know what is wrong there? managed-schema data

Re: Seeing very low ingestion performance for a single non-cloud Solr core

2017-09-21 Thread Walter Underwood
5 seconds and 10 seconds is very short for auto commit. 20 Gb is probably too much heap. Sending the exact same message for every update will create a few very long posting lists. Not sure if that is slow, but it is not realistic. Finally, 26,000 per second is not that slow. That is over 1.5 mi

Re: Is there a way to delete multiple documents using wildcard?

2017-09-21 Thread Diego Ceccarelli (BLOOMBERG/ LONDON)
https://wiki.apache.org/solr/FAQ#How_can_I_delete_all_documents_from_my_index.3F have a look also at the last post here: https://gist.github.com/nz/673027 I think there's a way to disallow delete by *:* in the solrconfig.xml but I can't find it (I would take a look in the solrconfig just in case

Re: Is there a way to delete multiple documents using wildcard?

2017-09-21 Thread Emir Arnautović
Hi, Delete by query should work - posting to /update *:* should delete all doc. HTH, Emir > On 21 Sep 2017, at 05:25, balmydrizzle wrote: > > Doesn't work, either. wildcard query can't be used in delete. At least for > old Solr 3.x > > > > -- > Sent from: http://lucene.472066.n3.na

RE: [bulk]: Re: Dates and DataImportHandler

2017-09-21 Thread Mannott, Birgit
Forget it. I mixed up the timezone with the locale. I thought I could set the timezone for the DIH last index but that's not possible -Original Message- From: Mannott, Birgit [mailto:b.mann...@klopotek.de] Sent: Thursday, September 21, 2017 1:09 PM To: solr-user@lucene.apache.org Subject

Re: Rescoring from 0 - full

2017-09-21 Thread Diego Ceccarelli (BLOOMBERG/ LONDON)
Hi Dariusz, If you use *:* you'll rerank only the top N random documents, as Emir said, that will not produce interesting results probably. If you want to replace the original score, you can take a look at the learning to rank module [1], that would allow you to reassign a new score to the top

Replication Handler failing

2017-09-21 Thread Rubi Hali
Hi Team We are getting continous replication errors on our slaves . The stack trace of which is the following : Index fetch failed :org.apache.solr.common.SolrException: openNewSearcher called on closed core at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1516) at o

[bulk]: Re: Dates and DataImportHandler

2017-09-21 Thread Mannott, Birgit
As far as I understood, you can use the locale so that DIH saves the last index time for the given time zone and not for UTC. So if you set the locale according to the timezone of your DB you don't need to convert dates for comparison. But for me it's not working because every time I include s

Re: Is there a way to delete multiple documents using wildcard?

2017-09-21 Thread balmydrizzle
Doesn't work, either. wildcard query can't be used in delete. At least for old Solr 3.x -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: How to build solr

2017-09-21 Thread Aman Tandon
Hi Srini, Kindly refer to the READ.ME section of this link of GitHub, this should work. https://github.com/apache/lucene-solr/blob/master/README.md With regards, Aman Tandon On Sep 21, 2017 1:53 PM, "srini sampath" wrote: > Hi, > How to build and compile solr in my locale machine? it seems th

How to build solr

2017-09-21 Thread srini sampath
Hi, How to build and compile solr in my locale machine? it seems the https://wiki.apache.org/solr/HowToCompileSolr page became obsolete. Thanks in advance

Re: Seeing very low ingestion performance for a single non-cloud Solr core

2017-09-21 Thread Emir Arnautović
Hi, What are your commit configs? Maybe you are committing too frequently. Thanks, Emir > On 21 Sep 2017, at 06:19, saiks wrote: > > Hi, > > Environment: > - Solr is running in non-cloud mode on 6.4.2, Sun Java8, Linux > 4.4.0-31-generic x86_64 > - Ingesting into a single core > - SoftCommit

Re: Rescoring from 0 - full

2017-09-21 Thread Emir Arnautović
Hi Dariusz, You could use fq for filtering (can disable caching to avoid polluting filter cache) and q=*:*. That way you’ll get score=1 for all doc and can rerank. The issue with this approach is that you rerank top N and without score they wouldn’t be ordered so it is no-go. What you could do (

RE: Issue with scoreNodes stream expression

2017-09-21 Thread Aurélien MAZOYER
Hi, Thank you for your advice. It helps me to notice that the exception seems to be thrown when no data is gathered by the gatherNodes expression (not a very explicit error message 😊). I modified the expression and it works well now. Thank you, Aurélien -Message d'origine- De : Joel