I have created a new core in alfresco.That is showing in solr admin pannel.But that is not coming in node browser window.can anyone tell me how to get there and how to use the core to store the index and files.
AFAIK, I think this is not so straight foward.
By default, Alfresco repository is using by default two cores for indexing in SOLR, alfresco core for "live content", and archive core for the "archive content". Each core needs a definition of an schema (schema.xml), and its corresponding configuration (solrconfig.xml and solrcore.properties). Not only the creation via SOLR interface.
Even if you configure additional cores in SOLR (some advanced cases may require it), this is not related with Node browser, which it is going to show you some kind of logical and hierarchical structure of the repository stored in Alfresco database.
Take in consideration that SOLR is an external search and indexing engine. SOLR cores may help to define data structure needed for indexing and searching content and the way of accesing it via SOLR API when querying, but not a direct change in Alfresco interfaces.
Thanks to reply @Cesar Capillas
is there something name solr (lucene) collections that we can implement in alfresco solr to get better performance?
Yes, collections are part of the SOLR terminology. When you setup a SOLR cluster you can define different logical indices splitted in shards, between different SOLR nodes/machines. When you have only one server setup it is basically a core. Sharding may be a recommended practice when you have more than +50 million documents for example.
SolrTerminology - Solr Wiki
For obtaining better SOLR performance (in indexing and searching), you can try first with these recommendations:
The specified item was not found.
thanks Cesar Capillas Someone told me that instead of collections i can use sharding.Is there any restriction performing sharding. I am using alfresco-5.2 and solr4 in same environment
Sharding is the way a collection is splitted in a number of shards and replicated in several SOLR nodes. I read about this feature in Alfresco Enterprise (aka Content Services), but I'm not completely sure if this is possible for Community Edition (I did not test it yet). I think it is possible, although the setup will be more manual. Maybe Axel Faust can confirm it. By the way, it is clear that you can not use Admin Console or JMX for registering shards if using Alfresco Community.
can you verify that sharding and collections both are different ?because i am confuse in both.if different so please tell me how to create collections in alfresco solr and how can alfresco consume .?
AFAIK, a collection is a complete logical index and it is made of one or more shards (i.e parts). Please check the links above for familiarizing with SOLR terminology and the corresponding Alfresco documentation.
Solr sharding | Alfresco Documentation
Thanks Cesar Capillas
can we use solr4 s solrCloud? Cesar Capillas
You can shard using Alfresco Community Edition. The only thing not supported is the dynamic shard registry, so you need to manually adapt the Repository-tier list of available shards / URLs.
Though to be fair, it should be straightforward to implement the dynamic shard registry feature for Community Edition as well - the API is defined in the public core and SOLR itself is "edition-unaware". You'd only need to register the bean and manage the data storage (via AttributeService). It is one of those features that are so simple, it is unclear why Alfresco chose them to be Enterprise-only (like the "live configuration change on subsystems" one).
Thanks Axel Faust for confirming this.
Retrieving data ...