Powered By Blogger

Tuesday, February 12, 2013

Tuesday, February 5, 2013

Solr with Alfresco

While debugging search results we need to access the url
1. http://100.6.17.30:8080/solr/
2Select admin core
3.The value entered in the query will be used to search
4. SInce alfresco has done some customisations below things should be used


http://100.6.17.30:8080/solr/alfresco/afts?q=@cm\name:alfresco&version=2.2&start=0&rows=10&indent=on


Passing query

http://100.6.17.30:8080/solr/alfresco/afts?q=@cm\:name:alfresco&version=2.2&start=0&rows=10&indent=on

http://100.6.17.30:8080/solr/alfresco/afts?q=TEXT:de*&version=2.2&start=0&rows=10&indent=on

http://100.6.17.30:8080/solr/alfresco/afts?q=TEXT:a*&version=2.2&start=0&rows=1000&indent=on


http://100.6.17.30:8080/solr/alfresco/afts?indent=on&version=2.2&q=%40cm%5C%3Aname%3Aalfresco&fq=&start=0&rows=10&fl=*%2Cscore&qt=standard&wt=standard&explainOther=&hl.fl=


To Search t* across all the sites
((PATH:"/app:company_home/st:sites/*/*//*" AND (TYPE:"cm:content" AND (t* )) ) AND -TYPE:"cm:thumbnail" AND -TYPE:"cm:failedThumbnail" AND -TYPE:"cm:rating") AND NOT ASPECT:"sys:hidden"

http://100.6.17.30:8080/solr/alfresco/alfresco?indent=on&version=2.2&q=%28%28PATH%3A%22%2Fapp%3Acompany_home%2Fst%3Asites%2F*%2F*%2F%2F*%22+AND+%28TYPE%3A%22cm%3Acontent%22+AND+%28t*+%29%29+%29+AND+-TYPE%3A%22cm%3Athumbnail%22+AND+-TYPE%3A%22cm%3AfailedThumbnail%22+AND+-TYPE%3A%22cm%3Arating%22%29+AND+NOT+ASPECT%3A%22sys%3Ahidden%22&fq=&start=0&rows=2000&fl=*%2Cscore&qt=standard&wt=standard&explainOther=&hl.fl=


Monday, January 14, 2013

Logs for the first time when we start solr server integrated with alfresco


Jan 14, 2013 3:14:34 PM org.apache.solr.core.SolrResourceLoader replaceClassLoader
INFO: Adding 'file:/D:/Indexes/ALFRES~1/alf_data/solr/lib/xercesImpl-2.8.0.jar' to classloader
Jan 14, 2013 3:14:46 PM org.quartz.core.SchedulerSignalerImpl
INFO: Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
Jan 14, 2013 3:14:46 PM org.quartz.core.QuartzScheduler
INFO: Quartz Scheduler v.1.8.3 created.
Jan 14, 2013 3:14:46 PM org.quartz.simpl.RAMJobStore initialize
INFO: RAMJobStore initialized.
Jan 14, 2013 3:14:46 PM org.quartz.core.QuartzScheduler initialize
INFO: Scheduler meta-data: Quartz Scheduler (v1.8.3) 'SolrTrackerScheduler' with instanceId 'NON_CLUSTERED'
  Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
  NOT STARTED.
  Currently in standby mode.
  Number of jobs executed: 0
  Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 3 threads.
  Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.

Jan 14, 2013 3:14:46 PM org.quartz.impl.StdSchedulerFactory instantiate
INFO: Quartz scheduler 'SolrTrackerScheduler' initialized from an externally provided properties instance.
Jan 14, 2013 3:14:46 PM org.quartz.impl.StdSchedulerFactory instantiate
INFO: Quartz scheduler version: 1.8.3
Jan 14, 2013 3:14:46 PM org.quartz.core.QuartzScheduler start
INFO: Scheduler SolrTrackerScheduler_$_NON_CLUSTERED started.
Jan 14, 2013 3:14:46 PM org.apache.solr.core.SolrResourceLoader
INFO: Solr home set to 'D:\Indexes\ALFRES~1\alf_data\solr\workspace-SpacesStore\'
Jan 14, 2013 3:14:47 PM org.apache.solr.core.SolrConfig initLibs
INFO: Adding specified lib dirs to ClassLoader
Jan 14, 2013 3:14:48 PM org.apache.solr.core.SolrConfig
INFO: Loaded SolrConfig: solrconfig.xml
Jan 14, 2013 3:14:48 PM org.apache.solr.schema.IndexSchema readSchema
INFO: Reading Solr Schema
Jan 14, 2013 3:14:48 PM org.apache.solr.schema.IndexSchema readSchema
INFO: Schema name=alfresco
Jan 14, 2013 3:14:48 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.WhitespaceTokenizerFactory
Jan 14, 2013 3:14:48 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.WordDelimiterFilterFactory
Jan 14, 2013 3:14:48 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.LowerCaseFilterFactory
Jan 14, 2013 3:14:48 PM org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created alfrescoDataType: org.alfresco.solr.AlfrescoDataType
Jan 14, 2013 3:14:48 PM org.apache.solr.core.SolrCore initIndex
WARNING: [alfresco] Solr index directory 'D:\Indexes\ALFRES~1\alf_data\solr\workspace\SpacesStore\index' doesn't exist. Creating new index...
Jan 14, 2013 3:14:50 PM org.apache.solr.handler.component.SpellCheckComponent inform
WARNING: No queryConverter defined, using default converter
Jan 14, 2013 3:14:51 PM org.apache.solr.core.SolrCore initIndex
WARNING: [archive] Solr index directory 'D:\Indexes\ALFRES~1\alf_data\solr\archive\SpacesStore\index' doesn't exist. Creating new index...
Jan 14, 2013 3:14:51 PM org.apache.solr.handler.component.SpellCheckComponent inform
WARNING: No queryConverter defined, using default converter
Jan 14, 2013 3:14:51 PM org.apache.catalina.startup.HostConfig deployWAR

Friday, January 11, 2013

Connecting to remote server

http://www.mremoteng.org/home

This is the tool for connecting to remote server

Thursday, December 6, 2012

Branching in svn

http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-branchtag.html

Wednesday, December 5, 2012

Tuesday, December 4, 2012


Alfresco Search Examples

Refer to the search criteria examples provided in the following table to better understand how to perform content searches in Share.

To locate...Enter the search criteria...This searches...
the word banana anywhere it existsbananaor
=banana
names, titles, descriptions, blog comments, and content in all page components
Performing the search without a qualifier expands the search to include tags.
the exact phrase banana peel anywhere it exists"banana peel"names, titles, descriptions, blog comments, and content in all page components
the words banana, peel, and slipperywhere they all appear together in any order or positionbanana AND peel AND slipperynames, titles, descriptions, blog comments, and content in all page components
content containing any of the wordsbanana, peel, and slipperybanana peel slippery
or
banana OR peel OR slippery
names, titles, descriptions, blog comments, and content in all page components
the word banana where it is used in a titletitle:bananatitles in the Wiki, Blog, Document Library, Discussions, and Data List page components
the word banana where it is used in a namename:banananames of folders and content items in the Document Library page component and titles in the Wiki page component
the word banana where it is used in the descriptiondescription:bananadescriptions of folders and content items in the Document Library page component and of lists in the Data Lists page component
the word banana where it is used in site contentTEXT:bananawiki pages; blog postings and comments; content items; and discussion items and replies
content created on May 26, 2010created:"2010-05-26"wiki pages, blog postings, library folders, content items, events, links, discussion topics, and data lists, including comments made on this content
content created between May 26 and May 31, 2010created:["2010-05-26" to "2010-05-31"]wiki pages, blog postings, library folders, content items, events, links, discussion topics, and data lists, including comments made on this content
any content modified on May 26, 2010modified:"2010-05-26"wiki pages, blog postings, library folders, content items, events, links, discussion topics, and data lists, including comments made on this content
any content modified between May 26 and May 31, 2010modified:["2010-05-26" to "2010-05-31"]wiki pages, blog postings, library folders, content items, events, links, discussion topics, and data lists, including comments made on this content
any content created by a specific usercreator:username
Replace usernamewith the appropriate Share user name.
wiki pages, blog postings, library folders, content items, events, links, discussion topics, and data lists, including comments made on this content
any content modified by a specific usermodifier:username
Replace usernamewith the appropriate Share user name.
wiki pages, blog postings, library folders, content items, events, links, discussion topics, and data lists, including comments made on this content
any content containing the letter sequence useThe results returned will include references to use, user, reuse, etc.TEXT:*use*wiki pages, blog postings, library folders, content items, and discussion topics, including comments made on this content


This link is having more info

http://www.alfresco.com/help/34/enterprise/sharehelp/concepts/rm-searchsyntax-intro.html