cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco 4.0 Solr problem

mcasanket
Champ on-the-rise
Champ on-the-rise
Hi all,

  I have just installed alfresco 4.0 and I want to use Solr in my project.
  I have put the following lines in my global.prop file and it is working fine. Does it mean the SOLR is working?
### Solr indexing ###
index.subsystem.name=solr
dir.keystore=${dir.root}/keystore
solr.port.ssl=8443
## newly added.
solr.host=localhost
solr.port=8080

I have read many thing like following.
encryption.ssl.keystore.location=
encryption.ssl.keystore.provider=
encryption.ssl.keystore.type=
encryption.ssl.keystore.keyMetaData.location=

I am having keystor files in alf_data folder. What should i put in the keystor.provider, keystor.type and what is the keymetadata.location?
If I give this correctly then only SOLR works?

I am able to see the SOLR home page and can also fire a query. But it give me the following exception.

HTTP Status 400 - org.apache.lucene.queryParser.ParseException: Cannot parse '@cm:name:sanket': Encountered " ":" ": "" at line 1, column 8. Was expecting one of: <EOF> <AND> … <OR> … <NOT> … "+" … "-" … "(" … "*" … "^" … <QUOTED> … <TERM> … <FUZZY_SLOP> … <PREFIXTERM> … <WILDTERM> … "[" … "{" … <NUMBER> …

Please help me out….!
10 REPLIES 10

mcasanket
Champ on-the-rise
Champ on-the-rise
Hi,
  I am not able to see the SOLR in Admin Colsole.. How can I make it enable…? I am using Alfresco 4.0a.

  I just saw one post in that he has uploaded the Image.

The Image URL is : https://issues.alfresco.com/jira/secure/attachment/25881/solr_tool.png

[img]https://issues.alfresco.com/jira/secure/attachment/25881/solr_tool.png[/img]

Please help…