Re: Is it possible to do term Search for the filtered result set

2015-05-25 Thread Danesh Kuruppu
Many Thanks Erick and Upayavira,

Solution works for me.


On Thu, May 21, 2015 at 9:10 PM, Upayavira u...@odoko.co.uk wrote:

 and then facet on the tags field.

 facet=onfacet.field=tags

 Upayavira

 On Thu, May 21, 2015, at 04:34 PM, Erick Erickson wrote:
  Have you tried
 
  fq=type:A
 
  Best,
  Erick
 
  On Thu, May 21, 2015 at 5:49 AM, Danesh Kuruppu dknkuru...@gmail.com
  wrote:
   Hi all,
  
   Is it possible to do term search for the filtered result set. we can do
   term search for all documents. Can we do the term search only for the
   specified filtered result set.
  
   Lets says we have,
  
   Doc1 -- type: A
tags: T1 T2
  
   Doc2 -- type: A
tags: T1 T3
  
   Doc3 -- type: B
tags: T1 T4 T5
  
   Can we do term search for tags only in type:A documents, So that it
 gives
   the results as
   T1 - 02
   T2 - 01
   T3 - 01
  
   Is this possible? If so can you please share documents on this.
   Thanks
   Danesh



Is it possible to do term Search for the filtered result set

2015-05-21 Thread Danesh Kuruppu
Hi all,

Is it possible to do term search for the filtered result set. we can do
term search for all documents. Can we do the term search only for the
specified filtered result set.

Lets says we have,

Doc1 -- type: A
 tags: T1 T2

Doc2 -- type: A
 tags: T1 T3

Doc3 -- type: B
 tags: T1 T4 T5

Can we do term search for tags only in type:A documents, So that it gives
the results as
T1 - 02
T2 - 01
T3 - 01

Is this possible? If so can you please share documents on this.
Thanks
Danesh


Re: Dependency Need to include for embedded solr.

2015-02-26 Thread Danesh Kuruppu
Thanks shawn,
I am doing some feasibility studies for moving directly to solr 5.0.0.

One more thing, It is related to standalone server.

How security handle in solr standalone server. lets say, I configured my
application to use remote solr standalone server.

1. How I would enable secure communication between my application and solr
server.
2. How solr server authenticate user.

Thanks
Danesh

On Fri, Feb 27, 2015 at 12:35 PM, Shawn Heisey apa...@elyograg.org wrote:

 On 2/26/2015 11:41 PM, Danesh Kuruppu wrote:
  My application is a standalone application. I though of embedding solr
  server, so I can pack it inside my application.
 
  In solr 5.0.0, solr is no longer distributed as a war file. how I can
  find the war file from the distribution.

 I am glad to see that people are actually reading documentation that is
 included with the release.

 With 5.0.0 (and probably the next few 5.x releases), Solr actually still
 is a war file.  You can find it in server/webapps in the binary
 download.  There are two reason we are telling everyone it's not a war
 file:  1) We now have very capable scripts to start and stop Solr with
 optimal java options, so there's no longer any need to rely on scripts
 packaged with a servlet container.  2) In a future 5.x release, Solr
 actually will become a standalone application, not a war ... preparing
 users in advance is a good idea.

  I need some advanced features like synonyms search, stop words, wild card
  search etc. It would be great, if you can provide some references to get
  idea which dependencies need to add to get those features.

 If you don't want to simply add every dependency included in the war,
 then you can use the tried and true method for finding the minimum set
 of jars:  Try to get it running.  If it fails, look at the log and see
 which class it was unable to find.  Add the relevant jar to the
 classpath and try again.

 Thanks,
 Shawn




Dependency Need to include for embedded solr.

2015-02-26 Thread Danesh Kuruppu
Hi all,

I need to include embed solr server into my maven project. I am going to
use latest solr 5.0.0.

Need to know which dependencies I need to include in my project. As I
understand, I need to have solr-core[1] and solr-solrj[2]. Do I need to
include lucene dependency in my project. If so, which dependencies we need
to include to enable all indexing capabilities.

1. http://mvnrepository.com/artifact/org.apache.solr/solr-core/5.0.0
2. http://mvnrepository.com/artifact/org.apache.solr/solr-solrj/5.0.0

Please help
Thanks
Danesh


Re: Dependency Need to include for embedded solr.

2015-02-26 Thread Danesh Kuruppu
Thanks Shawn,

My application is a standalone application. I though of embedding solr
server, so I can pack it inside my application.

In solr 5.0.0, solr is no longer distributed as a war file. how I can
find the war file from the distribution.

I need some advanced features like synonyms search, stop words, wild card
search etc. It would be great, if you can provide some references to get
idea which dependencies need to add to get those features.

Thanks
Danesh

On Fri, Feb 27, 2015 at 11:32 AM, Shawn Heisey apa...@elyograg.org wrote:

 On 2/26/2015 10:07 PM, Danesh Kuruppu wrote:
  I need to include embed solr server into my maven project. I am going to
  use latest solr 5.0.0.
 
  Need to know which dependencies I need to include in my project. As I
  understand, I need to have solr-core[1] and solr-solrj[2]. Do I need to
  include lucene dependency in my project. If so, which dependencies we
 need
  to include to enable all indexing capabilities.
 
  1. http://mvnrepository.com/artifact/org.apache.solr/solr-core/5.0.0
  2. http://mvnrepository.com/artifact/org.apache.solr/solr-solrj/5.0.0

 Using the embedded server may not be the best idea.  A lot of Solr
 functionality is not available in the embedded server.  You can't use
 SolrCloud, which is a relatively easy way to provide high availability.
  The legacy method for redundancy, master-slave replication, also does
 not work in the embedded server.  The admin UI is not available.

 If you choose to go ahead with the embedded server ... for complete
 safety, you should probably extract the war file and copy all the jars
 from WEB-INF/lib.  If you want to take a more minimalistic approach, I
 think these are the Lucene jars you will need for minimum functionality:

 lucene-analyzers-common-5.0.0.jar
 lucene-codecs-5.0.0.jar
 lucene-core-5.0.0.jar
 lucene-expressions-5.0.0.jar
 lucene-queries-5.0.0.jar
 lucene-queryparser-5.0.0.jar

 There are quite a few Lucene jars, and I'm not overly familiar with
 everything that Solr uses, so I might have left some out that would be
 required for very basic functionality.  For more advanced functionality,
 additional Lucene jars will definitely be required.

 There are also third-party jars that are required, such as slf4j jars
 for logging.  The codebase as a whole has dependencies on things like
 google guava, several apache commons jars, and other pieces ... I have
 no idea which of those can be left out when using the embedded server.
 I tried to find a definitive list of required jars, and was not able to
 locate one.

 Thanks,
 Shawn




Solr support for multi-tenant applications

2015-01-07 Thread Danesh Kuruppu
Hi all,

I need to use solr for multi-tenant application. What is the best way I
could achieve multi tenancy with solr?

One possibility is to have separate core for each tenant domain.

   1. Is it recommended to do it?
   2. Are there any issues with have a large number of Solr Cores?

Please suggest.

Thanks

Danesh


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

solr
   solrcloud
 str name=host127.0.0.1/str
 int name=hostPort${jetty.port:8983}/int
 str name=hostContext${hostContext:solr}/str
 int name=zkClientTimeout${zkClientTimeout:3}/int
 str name=shareSchema${shareSchema:false}/str
 bool name=genericCoreNodeNames${genericCoreNodeNames:true}/bool
   /solrcloud

   shardHandlerFactory name=shardHandlerFactory
 class=HttpShardHandlerFactory
 int name=socketTimeout${socketTimeout:12}/int
 int name=connTimeout${connTimeout:15000}/int
   /shardHandlerFactory
 /solr


Please help.
Thanks

On Mon, Nov 24, 2014 at 11:35 AM, Danesh Kuruppu dknkuru...@gmail.com
wrote:

 Hi all,

 I am using solr version 4.7.2

 I am getting following when communicating with solr server.

 org.apache.solr.common.SolrException: No such core: db
 at
 org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java:112)
 at
 org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:118)
 at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:116)
 at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:102)


 I am using EmbeddedSorlServer, It is initialized as follows

 CoreContainer coreContainer = new
 CoreContainer(solrHome.getPath());
 coreContainer.load();
 this.server = new EmbeddedSolrServer(coreContainer, db);


 in solr-home, there is a directory called db. in core.properties file, I
 define the name and dataDir.

 Couldn't find the cause for this error.

 Please help.

 Thanks
 Danesh



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 dknkuru...@gmail.com
wrote:

 Hi all,

 Cores are not loaded to the CoreContainer. my solr.xml configuration is

 solr
   solrcloud
 str name=host127.0.0.1/str
 int name=hostPort${jetty.port:8983}/int
 str name=hostContext${hostContext:solr}/str
 int name=zkClientTimeout${zkClientTimeout:3}/int
 str name=shareSchema${shareSchema:false}/str
 bool name=genericCoreNodeNames${genericCoreNodeNames:true}/bool
   /solrcloud

   shardHandlerFactory name=shardHandlerFactory
 class=HttpShardHandlerFactory
 int name=socketTimeout${socketTimeout:12}/int
 int name=connTimeout${connTimeout:15000}/int
   /shardHandlerFactory
 /solr


 Please help.
 Thanks

 On Mon, Nov 24, 2014 at 11:35 AM, Danesh Kuruppu dknkuru...@gmail.com
 wrote:

 Hi all,

 I am using solr version 4.7.2

 I am getting following when communicating with solr server.

 org.apache.solr.common.SolrException: No such core: db
 at
 org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java:112)
 at
 org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:118)
 at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:116)
 at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:102)


 I am using EmbeddedSorlServer, It is initialized as follows

 CoreContainer coreContainer = new
 CoreContainer(solrHome.getPath());
 coreContainer.load();
 this.server = new EmbeddedSolrServer(coreContainer, db);


 in solr-home, there is a directory called db. in core.properties file, I
 define the name and dataDir.

 Couldn't find the cause for this error.

 Please help.

 Thanks
 Danesh





Re: Error while initializing EmbeddedSolrServer

2014-11-23 Thread Danesh Kuruppu
Thanks Mikhail/Michael

I checked both lucene-core.jar and lucene-codecs.jar.
org.apache.lucene.codecs.Codec is there in both files.
Seems like problem is in osgi bundling. I need to consider the service
loader in osgi bundle which is not done.

Thanks for information.
Danesh


On Sun, Nov 23, 2014 at 5:46 PM, Michael Sokolov 
msoko...@safaribooksonline.com wrote:

 Those Spi classes rely on a configuration file that gets stored in the
 META-INF folder.  I'm not familiar with who OSGI works, but I'm pretty sure
 that failure is because the file 
 META-INF/services/org.apache.lucene.codecs.Codec
 (you'll see it in the lucene-core jar) can't be found

 -Mike


 On 11/22/2014 10:14 PM, Danesh Kuruppu wrote:

 Hi all,

 I am using solr version 4.7.2. I need to use EmbeddedSolrServer. I am
 getting following error while initializing the coreContainer

 Exception in thread Thread-15 java.lang.NoClassDefFoundError: Could not

 initialize class org.apache.lucene.codecs.Codec
  at
 org.apache.solr.core.SolrResourceLoader.reloadLuceneSPI(
 SolrResourceLoader.java:186)
  at
 org.apache.solr.core.SolrResourceLoader.init(
 SolrResourceLoader.java:122)
  at
 org.apache.solr.core.SolrResourceLoader.init(
 SolrResourceLoader.java:236)
  at org.apache.solr.core.CoreContainer.init(
 CoreContainer.java:136)

  In my case, I create a osgi bundle for solr. when I check the bundle,
 class
 is in the bundle.

 Set dependencies added ,

  dependency

  groupIdorg.apache.solr/groupId
  artifactIdsolr-solrj/artifactId
  version4.7.2/version
  /dependency
  dependency
  groupIdorg.apache.solr/groupId
  artifactIdsolr-core/artifactId
  version4.7.2/version
  /dependency

   dependency
  groupIdorg.apache.lucene/groupId
  artifactIdlucene-analyzers/artifactId
  version3.6.2/version
  /dependency
   dependency
  groupIdorg.apache.lucene/groupId
  artifactIdlucene-highlighter/artifactId
  version4.7.2/version
  /dependency
  dependency
  groupIdorg.apache.lucene/groupId
  artifactIdlucene-memory/artifactId
  version4.7.2/version
  /dependency
   dependency
  groupIdorg.apache.lucene/groupId
  artifactIdlucene-queries/artifactId
  version4.7.2/version
  /dependency
   dependency
  groupIdorg.apache.lucene/groupId
  artifactIdlucene-snowball/artifactId
  version3.0.3/version
  /dependency
   dependency
  groupIdorg.apache.lucene/groupId
  artifactIdlucene-misc/artifactId
  version4.7.2/version
  /dependency
   dependency
  groupIdorg.apache.lucene/groupId
  artifactIdlucene-spellchecker/artifactId
  version3.6.2/version
  /dependency
   dependency
  groupIdorg.apache.lucene/groupId
  artifactIdlucene-core/artifactId
  version4.7.2/version
  /dependency
  dependency
  groupIdorg.apache.lucene/groupId
  artifactIdlucene-codecs/artifactId
  version4.7.2/version
  /dependency

  Code:

  CoreContainer coreContainer = new CoreContainer(solrHome.
 getPath());

  coreContainer.load();
  this.server = new EmbeddedSolrServer(coreContainer, );

  Could not find the wrong.
 Please help me.

 Thanks
 Danesh





Error occurred when getting solr-core

2014-11-23 Thread Danesh Kuruppu
Hi all,

I am using solr version 4.7.2

I am getting following when communicating with solr server.

org.apache.solr.common.SolrException: No such core: db
 at
 org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java:112)
 at
 org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:118)
 at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:116)
 at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:102)


I am using EmbeddedSorlServer, It is initialized as follows

CoreContainer coreContainer = new CoreContainer(solrHome.getPath());
 coreContainer.load();
 this.server = new EmbeddedSolrServer(coreContainer, db);


in solr-home, there is a directory called db. in core.properties file, I
define the name and dataDir.

Couldn't find the cause for this error.

Please help.

Thanks
Danesh


Error while initializing EmbeddedSolrServer

2014-11-22 Thread Danesh Kuruppu
Hi all,

I am using solr version 4.7.2. I need to use EmbeddedSolrServer. I am
getting following error while initializing the coreContainer

Exception in thread Thread-15 java.lang.NoClassDefFoundError: Could not
 initialize class org.apache.lucene.codecs.Codec
 at
 org.apache.solr.core.SolrResourceLoader.reloadLuceneSPI(SolrResourceLoader.java:186)
 at
 org.apache.solr.core.SolrResourceLoader.init(SolrResourceLoader.java:122)
 at
 org.apache.solr.core.SolrResourceLoader.init(SolrResourceLoader.java:236)
 at org.apache.solr.core.CoreContainer.init(CoreContainer.java:136)


In my case, I create a osgi bundle for solr. when I check the bundle, class
is in the bundle.

Set dependencies added ,

dependency
 groupIdorg.apache.solr/groupId
 artifactIdsolr-solrj/artifactId
 version4.7.2/version
 /dependency
 dependency
 groupIdorg.apache.solr/groupId
 artifactIdsolr-core/artifactId
 version4.7.2/version
 /dependency

  dependency
 groupIdorg.apache.lucene/groupId
 artifactIdlucene-analyzers/artifactId
 version3.6.2/version
 /dependency
  dependency
 groupIdorg.apache.lucene/groupId
 artifactIdlucene-highlighter/artifactId
 version4.7.2/version
 /dependency
 dependency
 groupIdorg.apache.lucene/groupId
 artifactIdlucene-memory/artifactId
 version4.7.2/version
 /dependency
  dependency
 groupIdorg.apache.lucene/groupId
 artifactIdlucene-queries/artifactId
 version4.7.2/version
 /dependency
  dependency
 groupIdorg.apache.lucene/groupId
 artifactIdlucene-snowball/artifactId
 version3.0.3/version
 /dependency
  dependency
 groupIdorg.apache.lucene/groupId
 artifactIdlucene-misc/artifactId
 version4.7.2/version
 /dependency
  dependency
 groupIdorg.apache.lucene/groupId
 artifactIdlucene-spellchecker/artifactId
 version3.6.2/version
 /dependency
  dependency
 groupIdorg.apache.lucene/groupId
 artifactIdlucene-core/artifactId
 version4.7.2/version
 /dependency
 dependency
 groupIdorg.apache.lucene/groupId
 artifactIdlucene-codecs/artifactId
 version4.7.2/version
 /dependency


Code:

CoreContainer coreContainer = new CoreContainer(solrHome.getPath());
 coreContainer.load();
 this.server = new EmbeddedSolrServer(coreContainer, );


Could not find the wrong.
Please help me.

Thanks
Danesh


Does HttpSolrServer support Secure data publishing

2014-11-20 Thread Danesh Kuruppu
Hi all,

I am using solr version 4.7.2 for indexing. I have some questions to be
cleared.

   1. Is solr server supports other transports methods like thrift etc
   2. when we are using HttpSolrServer, how we secure the data publishing.
   use case is we need to restrict data publishing for specfic users. Do solr
   have a mechanism for secure communication.

Please help

Thanks
Danesh


Unsupported major.minor version 51.0 when deploying solr 4.7.2

2014-11-10 Thread Danesh Kuruppu
Hi all,

I am getting following error when I try to deploy solr.war.

java.lang.UnsupportedClassVersionError:
org/apache/solr/servlet/SolrDispatchFilter : Unsupported major.minor
version 51.0 (unable to load class
org.apache.solr.servlet.SolrDispatchFilter).

Server Java Version: 1.6.0_45
Solr Version: solr-4.7.2

I found that above error occurs because solr is looking for java 7 runtime.
solr-4.7.2 suppose to be run at java 6.

What would be the cause for this error?

Thanks
Danesh


Synonyms Search using solr

2014-10-24 Thread Danesh Kuruppu
Hi all,

I need to get the synonyms search using solr. what the best possible way of
doing this. is there are any documentation to follow.

Thanks
Danesh


Re: Performance improvement in latest version comparing to v1.4

2014-10-06 Thread Danesh Kuruppu
Thanks for quick response Shawn.

I upgrade to the server and create new HttpSolrServer. when I try to add
document to the solr server, I am getting following error.

org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException:
 Expected mime type application/octet-stream but got text/html.
 htmlheadtitleApache Tomcat/7.0.52 - Error report/titlestyle!--H1
 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
 H2
 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
 H3
 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
 BODY
 {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B
 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
 P
 {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
 {color : black;}A.name {color : black;}HR {color : #525D76;}--/style
 /headbodyh1HTTP Status 404 - /solr/update/h1HR size=1
 noshade=noshadepbtype/b Status report/ppbmessage/b
 u/solr/update/u/ppbdescription/b uThe requested resource is
 not available./u/pHR size=1 noshade=noshadeh3Apache
 Tomcat/7.0.52/h3/body/html

at
 org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:512)
 at
 org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:210)
 at
 org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:206)
 at
 org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:124)
 at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:116)
 at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:102)


Please help me to solve this issue

Thanks


On Thu, Oct 2, 2014 at 6:55 PM, Shawn Heisey apa...@elyograg.org wrote:

 On 10/1/2014 11:23 PM, Danesh Kuruppu wrote:
  Currently we are using solr for service meta data indexing and Searching
 .
  we have embedded solr server running in our application and we are using
  solr 1.4 version. Have some doubts to be clear.
 
  1. What are the performance improvements we can gain from updating to the
  latest solr version(4.10.1).

 One of the key areas that's better/faster is indexing, but there are
 performance improvements for querying too.  Solr and Lucene have evolved
 considerably in the four years since Solr 1.4 (using Lucene 2.9)
 was released.

  2. Currently we are using embedded solr, I have an idea of moving to
  standalone server. What is best way of using standalone server in our
 java
  webapp.

 The embedded server is still available, although even in 1.4 it was not
 recommended for anything but a proof of concept.  You should simply
 install one or more standalone servers and access them from your app via
 http.  On a LAN, the overhead introduced by http is minimal.

 Since you're already using the embedded server, that's simply a
 matter of changing EmbeddedSolrServer to HttpSolrServer or
 CloudSolrServer (depending on whether or not you use SolrCloud).  You
 can also remove the solr-* and lucene-* jars from your classpath ... you
 just need the solrj jar and its standard dependencies, which can be
 found in the binary download or the compiled source code under
 dist/solrj-lib.

 Thanks,
 Shawn



Re: Performance improvement in latest version comparing to v1.4

2014-10-06 Thread Danesh Kuruppu
Thanks Alex and Shawn,

Yes, I have given the wrong URL. I have change the default name and I am
not specified that in the URL.
Issue resolved after correcting the URL

many thanks

On Mon, Oct 6, 2014 at 6:51 PM, Shawn Heisey apa...@elyograg.org wrote:

 On 10/6/2014 7:00 AM, Danesh Kuruppu wrote:
  Thanks for quick response Shawn.
 
  I upgrade to the server and create new HttpSolrServer. when I try to add
  document to the solr server, I am getting following error.
 
  org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException:
  Expected mime type application/octet-stream but got text/html.

 I've never seen that exact error, but I suspect that it's happening
 because you've provided an incorrect URL to the HttpSolrServer
 constructor.  It should look like the following:

 http://server:port/solr/corename

 A fully fleshed out example with an IP address instead of a DNS name:

 http://10.1.1.54:8983/solr/collection1

 If you've provided a URL with a # character in it, that is a URL for the
 admin UI, which will only work correctly in a browser.  I think we might
 want to check for that in Solr code and give the user a meaningful
 message in the exception, which will get propagated to SolrJ.

 Thanks,
 Shawn




Performance improvement in latest version comparing to v1.4

2014-10-01 Thread Danesh Kuruppu
Hi all,

Currently we are using solr for service meta data indexing and Searching .
we have embedded solr server running in our application and we are using
solr 1.4 version. Have some doubts to be clear.

1. What are the performance improvements we can gain from updating to the
latest solr version(4.10.1).

2. Currently we are using embedded solr, I have an idea of moving to
standalone server. What is best way of using standalone server in our java
webapp.

Please help me.


Solr upgrade to latest version

2014-09-22 Thread Danesh Kuruppu
Hi all,

I currently working on upgrade sorl 1.4.1 to sorl latest stable release.

What is the latest stable release I can use?
Is there specfic things I need to look at when upgrade.

Need help
Thanks

Danesh


Re: Solr upgrade to latest version

2014-09-22 Thread Danesh Kuruppu
Thanks Alex and Erick for quick response,
This is really helpful.

On Tue, Sep 23, 2014 at 1:19 AM, Erick Erickson erickerick...@gmail.com
wrote:

 Probably go for 4.9.1. There'll be a 4.10.1 out in the not-too-distant
 future that you can upgrade to if you wish. 4.9.1 - 4.10.1 should be
 quite painless.

 But do _not_ copy your schema.xml and solrconfig.xml files over form
 1.4 to 4.x. There are some fairly easy ways to shoot yourself in the
 foot there. Take the stock distribution configuration files and copy
 _parts_ of your schema.xml and solrconfig.xml you care about.

 If you're using multiple cores, read about core discovery here:
 https://wiki.apache.org/solr/Core%20Discovery%20(4.4%20and%20beyond)

 And be very aware that you should _not_ remove any of the _field_
 entries in schema.xml. In particular _version_ and _root_ should be
 left alone. As well as the id field.

 And you'll have to re-index everything; Solr 4.x will not read Solr
 1.4 indexes. If that's impossible, you'll have to upgrade from 1.4 to
 3.x, optimize your index, then upgrade from 3.x to 4.x, add some
 documents, and optimize/force_merge again.

 HTH
 Erick

 On Mon, Sep 22, 2014 at 2:29 AM, Danesh Kuruppu dknkuru...@gmail.com
 wrote:
  Hi all,
 
  I currently working on upgrade sorl 1.4.1 to sorl latest stable release.
 
  What is the latest stable release I can use?
  Is there specfic things I need to look at when upgrade.
 
  Need help
  Thanks
 
  Danesh