Re: ERROR StreamingSolrServers 4.10.2

2014-11-24 Thread Joseph V J
Hi Team, Does this mean that the updates on the other server is not getting forwarded to leader? Or can this error be safely ignored? ~Regards Joe On Mon, Nov 24, 2014 at 12:24 PM, Joseph V J wrote: > Hi, > > I have a production Solr Cloud setup which has been migrated from 4.2 to > 4.10.2. U

Re: Backuping SolrCloud

2014-11-24 Thread Noble Paul
Hi, There is a ticket for the same . https://issues.apache.org/jira/browse/SOLR-5750 Would you mind contributing to the discussion there? On Mon, Nov 24, 2014 at 11:07 AM, ralph tice wrote: > I have a writeup of how to perform safe backups here: > https://gist.github.com/ralph-tice/887414a7f8

solrj getBeans from GroupCommand

2014-11-24 Thread Phil Bartholomew
I'm fairly new to Solr but think I have read the documentation well. Really enjoying the ease of using the likes of: ArrayList myRecords = queryResponse.getBeans(MyClass.class); However I have now come across the situation where I need to use groups. I cannot seem to find a way to getBeans() fro

Re: Using stored value of a field to build suggester index

2014-11-24 Thread Faisal Mansoor
Thanks Erick, This makes things clearer. Thanks, Faisal On Sun, Nov 23, 2014 at 2:17 PM, Erick Erickson wrote: > You can't build the suggester from the stored > values, it's constructed from indexed terms only. > > You probably want to create a copyField to > a less-analyzed (indexed) field and

Re: Help on Notification for SOLR

2014-11-24 Thread Ramzi Alqrainy
of course there is another approach which is using Solr Clients. So, you can use solr clients for specific language like PHP, JAVA, ... For Example : JAVA Solr Client : SolrJ is an API that makes it easy for Java applications to talk to Solr. SolrJ hides a lot of the details of connecting to Sol

Re: Help on Notification for SOLR

2014-11-24 Thread Alexandre Rafalovitch
There are commit notifications scripts in solrconfig.xml, there is JMX, there is whatever the admin UI uses for "freeze and show change" screen. And, as mentioned already, URP chains. Regards, Alex On 24/11/2014 3:36 pm, "EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions)" wrote: >

RE: Help on Notification for SOLR

2014-11-24 Thread Gonzalo Rodriguez
Hi, You might want to take a look at the UpdateRequestProcessor and UpdateRequestProcessorChain classes: https://wiki.apache.org/solr/UpdateRequestProcessor and http://lucene.apache.org/solr/4_10_2/solr-core/org/apache/solr/update/processor/UpdateRequestProcessorChain.html You can hook a chain

Re: Documents to query

2014-11-24 Thread Mikhail Khludnev
Doesn't it sound like faceting? On Mon, Nov 24, 2014 at 9:44 PM, Robust Links wrote: > @ Alexandre.. the business case is the following. I am using lucene/solr to > compose vectors. I want to apply different functions (addition, > multipication, tensor products,etc) to these vectors. The end res

Help on Notification for SOLR

2014-11-24 Thread EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions)
Hello, I am working on implementing a notification system when there is any change in the solr index (Addition or removal of documents from Index). Can someone guide me on the starting point. I see some articles using DIH? Is there any way using without DIH. Thanks Ravi

Re: Documents to query

2014-11-24 Thread Robust Links
i "term" is the title of the document indexed. So its not an unbounded query term. On Mon, Nov 24, 2014 at 2:02 PM, Alexandre Rafalovitch wrote: > Is this the "Paris - France + Italy = Rome" thing? I think I've seen a > couple of discussions about that. > > When you say a "term" are you actually

Re: Indexing with SolrJ fails on windows

2014-11-24 Thread Alexandre Rafalovitch
Try running the client with -Dline.separator='\n' to force the line separator. https://docs.oracle.com/javase/tutorial/essential/environment/sysprop.html However, if it that does work, it's probably a bug. Regards, Alex. Personal: http://www.outerthoughts.com/ and @arafalov Solr resources and

Re: matching shingles issue

2014-11-24 Thread Michael Sokolov
maybe try description_shingle:(Highest quality) On 11/24/14 1:46 PM, vit wrote: I have Solr 4.2.1 I am using the following analyser:

Re: Documents to query

2014-11-24 Thread Alexandre Rafalovitch
Is this the "Paris - France + Italy = Rome" thing? I think I've seen a couple of discussions about that. When you say a "term" are you actually looking for one keyword? Because that's very different from a query that can be infinitely complex. Regards, Alex. Personal: http://www.outerthoughts.

Re: Indexing with SolrJ fails on windows

2014-11-24 Thread brian4
The problem seems to occur at the apache redirect - I found if I bypass apache by using my VM IP address directly as the Solr URL, then the error does not occur even from windows. >From some searching it seems like Apache does not allow carriage returns in its request headers - so my guess is Solr

Indexing with SolrJ fails on windows

2014-11-24 Thread brian4
I am using solrj to index to Solr through a Java application - I've tried this both with Solr 4.8.1 and Solr 4.10.2, indexing to Solr 4.10.0. I've found I cannot index too large content (a field with 400 words) or more than 1 document at once to Solr instances from windows. The exact same indexin

Re: Documents to query

2014-11-24 Thread Robust Links
@ Alexandre.. the business case is the following. I am using lucene/solr to compose vectors. I want to apply different functions (addition, multipication, tensor products,etc) to these vectors. The end result of that is a new vector. I would like to then go back from that vector back to term that m

matching shingles issue

2014-11-24 Thread vit
I have Solr 4.2.1 I am using the following analyser: for Query

Re: Documents to query

2014-11-24 Thread Walter Underwood
This feature is called “more like this”. I think it only works for a single document, but it probably could be extended. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ On Nov 24, 2014, at 10:26 AM, Alexandre Rafalovitch wrote: > Very unlikely. What's the business

Re: Documents to query

2014-11-24 Thread Alexandre Rafalovitch
Very unlikely. What's the business case? Regards, Alex. Personal: http://www.outerthoughts.com/ and @arafalov Solr resources and newsletter: http://www.solr-start.com/ and @solrstart Solr popularizers community: https://www.linkedin.com/groups?gid=6713853 On 24 November 2014 at 13:23, Robust

Documents to query

2014-11-24 Thread Robust Links
Hi Is there a way (in Lucene / SOLR) to go from a vector of documents (IDs, and optionally their scores) to a query? i.e. the reverse process of query -> document? thank you Peyman

Re: how solr4.0 and zookeeper run on weblogic

2014-11-24 Thread Ramzi Alqrainy
I hope this post helps you http://lucene.472066.n3.nabble.com/how-solr4-0-and-zookeeper-run-on-weblogic-td4013882.html -- View this message in context: http://lucene.472066.n3.nabble.com/how-solr4-0-and-zookeeper-run-on-weblogic-tp4170625p4170679.html Sent from the Solr - User mailing list arc

Re: use {!surround} with more conditions

2014-11-24 Thread Ahmet Arslan
Hi, Not sure about SomeField:* but others should work. You can move clauses that do not require surround to filter queries. e.g. fq=-SomeField:Text3* Ahmet On Monday, November 24, 2014 4:33 PM, Bet Hel wrote: Can't make surround work with other conditions... for example: {!surround}SomeFiel

Re: CoreContainer : create new cores reusing/sharing solrconfig.xml and schema.xml

2014-11-24 Thread Erick Erickson
4.10 does NOT require java 8, it requires Java 1.7. In fact, 5.x is on Java 1.7 too. Trunk, (the future Solr/Lucene 6.0) is on Java 8 though (just recently moved). But if you wan to go to Java 8 anyway and need an excuse pretend I didn't write this ;). Best, Erick On Mon, Nov 24, 2014 at 7:58 A

Re: Backuping SolrCloud

2014-11-24 Thread ralph tice
I have a writeup of how to perform safe backups here: https://gist.github.com/ralph-tice/887414a7f8082a0cb828 There are some tickets around this work to further the ease of backups, especially https://issues.apache.org/jira/browse/SOLR-5750 On Mon, Nov 24, 2014 at 9:45 AM, Vivek Pathak wrote: >

Re: Backuping SolrCloud

2014-11-24 Thread Erick Erickson
There are some JIRAs out there for better backup/restore for SolrCloud situations, but nothing has been committed yet that I know of. Best, Erick On Mon, Nov 24, 2014 at 7:45 AM, Vivek Pathak wrote: > I was able to get very good backup procedure by having cron job perform > compact on each shar

AW: CoreContainer : create new cores reusing/sharing solrconfig.xml and schema.xml

2014-11-24 Thread Clemens Wyss DEV
Looks like 4.7.2 does not have this const. Another reason to switch to 4.10 (and java 8 ;) ) -Ursprüngliche Nachricht- Von: Alexandre Rafalovitch [mailto:arafa...@gmail.com] Gesendet: Montag, 24. November 2014 16:49 An: solr-user Betreff: Re: CoreContainer : create new cores reusing/shar

Re: CoreContainer : create new cores reusing/sharing solrconfig.xml and schema.xml

2014-11-24 Thread Alexandre Rafalovitch
I haven't done this myself, but it is defined as a constant in the CoreDescriptor: http://www.solr-start.com/javadoc/solr-lucene/org/apache/solr/core/CoreDescriptor.html#CORE_CONFIGSET You could also look at the tests and see whether it is used. Regards, Alex. Personal: http://www.outerthought

Re: Backuping SolrCloud

2014-11-24 Thread Vivek Pathak
I was able to get very good backup procedure by having cron job perform compact on each shard and then copy out the physical shard (the full lucene index directory to a backup server) Updates would need to be stopped during this period. And restore would be as simple as copying in the backed

AW: CoreContainer : create new cores reusing/sharing solrconfig.xml and schema.xml

2014-11-24 Thread Clemens Wyss DEV
Thanks fort he quick reply. But how do I hand in the configSet to use. I guess through the CoreDescriptor? -Ursprüngliche Nachricht- Von: Alexandre Rafalovitch [mailto:arafa...@gmail.com] Gesendet: Montag, 24. November 2014 16:27 An: solr-user Betreff: Re: CoreContainer : create new core

Re: CoreContainer : create new cores reusing/sharing solrconfig.xml and schema.xml

2014-11-24 Thread Alexandre Rafalovitch
Have you tried Configsets: https://cwiki.apache.org/confluence/display/solr/Config+Sets ? Regards, Alex. Personal: http://www.outerthoughts.com/ and @arafalov Solr resources and newsletter: http://www.solr-start.com/ and @solrstart Solr popularizers community: https://www.linkedin.com/groups?gi

CoreContainer : create new cores reusing/sharing solrconfig.xml and schema.xml

2014-11-24 Thread Clemens Wyss DEV
Given the following directory/file structure .../solrhome .../solrhome/solr.xml .../solrhome/config/ .../solrhome/config/schema.xml .../solrhome/config/solrconfig.xml .../solrhome/cores How can I programmatically (CoreContainer) create a new core below .../solrhome/cores that makes use of solrco

how solr4.0 and zookeeper run on weblogic

2014-11-24 Thread Sharma, Kunal
Hi , Is there a way to deploy Zookeeper on weblogic cluster. Thanks and Regards Kunal Sharma 07917836122

Backuping SolrCloud

2014-11-24 Thread elmerfudd
Hi, I'm looking for a built-in SolrCloud backup mechanism. I want to backup my Index (scheduled / manual backups) while Indexing and searching. What is the proper way to perform this backup-restore task? Thanks. -- View this message in context: http://lucene.472066.n3.nabble.com/Backuping-

Missing value with Date Range

2014-11-24 Thread nabil Kouici
Hi All, I'm trying to get missing count with Date Range adding facet.missing=true as parameter but this not work (which work with facet). Do you have idea how to get missing count with date range or numeric range. Regards,Nabil.

use {!surround} with more conditions

2014-11-24 Thread Bet Hel
Can't make surround work with other conditions... for example: {!surround}SomeField:30w(Text1*,Text2*) -SomeField:Text3* SomeField:* -{!surround}SomeField:30w(Text1*,Text2*) Is that doable?

Re: Indexing problems with BBoxField

2014-11-24 Thread david.w.smi...@gmail.com
Thomas, Thank you for communicating on the list about your experience and raising the JIRA issue. I meant to respond last night but lost the chance. (and Jack, thanks for helping Thomas out). I’ll follow-up to SOLR-6784. SOLR-6781 now has a bug-fix patch. I’ll apply it later today. ~ David Smi

Re: Indexing problems with BBoxField

2014-11-24 Thread remus
OK, David Smiley now already created an issue for this: https://issues.apache.org/jira/browse/SOLR-6781 So it really is a bug. Furthermore, I also had a lot of problems trying to search on the field after finally getting it indexed. I summarized those here: https://issues.apache.org/jira/browse/

RE: Lucene ancient greek normalization

2014-11-24 Thread Allison, Timothy B.
If you are using Solr, you can configure your analysis chain to use the ICUFoldingFilterFactory (https://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.ICUFoldingFilterFactory) and then view the results in the solr admin window. If you are in pure Lucene (circa version 4.8, some mods

Highlight returning multiValued field as a single string

2014-11-24 Thread xan
I've a multiValued field. Querying on it returns a multivalued result set. But, doing a highlight query returns a single string. I also have hl.preserveMulti=true option. the schema of the field is as follows:

Re: Duplicate facets when the handler configuration specifies facet fields

2014-11-24 Thread Burke, Brian
Good to hear you can reproduce it and thank you for entering that issue into JIRA. FWIW, here is the full list of parameters from echoParams=all from my test: "params":{ "mlt.minwl":"2", "mm":"5", "facet":"true", "mlt.boost":"true", "mlt.fl":"title,summary,bod

Re: Too much data after closed for HttpChannelOverHttp

2014-11-24 Thread Hakim Benoudjit
It seems to be working now. - I have increased some values in jetty.xml: *65536 32768 * *32768 * - And have left chunk size = 3000. - But I'm not adding all the documents at the same time; instead items are sent one by one to be indexed (it's either that or the jetty configuration altered which

Re: Error occurred when getting solr-core

2014-11-24 Thread Danesh Kuruppu
Hi all, Found the RC for this error. I missed some dependency library for sore-core. Thanks Danesh On Mon, Nov 24, 2014 at 1:43 PM, Danesh Kuruppu wrote: > Hi all, > > Cores are not loaded to the CoreContainer. my solr.xml configuration is > > >> >> 127.0.0.1 >> ${jetty.port:8983}

Reminder: FOSDEM 2015 - Open Source Search Dev Room

2014-11-24 Thread Uwe Schindler
Hi, We host a Dev-Room about "Open Source Search" on this year's FOSDEM 2015 (https://fosdem.org/2015/), taking place on January 31th and February 1st, 2015, in Brussels, Belgium. There is still one more week to submit your talks, so hurry up and submit your talk early! Here is the full CFP as

Re: Error occurred when getting solr-core

2014-11-24 Thread Danesh Kuruppu
Hi all, Cores are not loaded to the CoreContainer. my solr.xml configuration is > > 127.0.0.1 > ${jetty.port:8983} > ${hostContext:solr} > ${zkClientTimeout:3} > ${shareSchema:false} > ${genericCoreNodeNames:true} > > >class="HttpShardHandlerFactory"> >