cancel
Showing results for 
Search instead for 
Did you mean: 

Submit after upload.save()??

frm85
Champ in-the-making
Champ in-the-making
Hi,

I left Web Services Alfresco to upload a file or web content to Alfresco from Java application. Now i'm trying to upload these from Webscript.
I did it, but i have a problem…

When i go to my folder (avm://MyWebProject/-1|www|avm_webapps|ROOT|myFolder), the web content is there, but when i launch a lucene search in Node Browser i can't find it  :evil: . Moreover if i go node to node in Node Browser from avm://MyWebProject, i can see it  :cry:

Then my question is if i have to submit after upload de web content (after upload.save() in WebScript js).

Edit: I forgot version, Alfresco 3.4.

Thanks, regards.
2 REPLIES 2

mtbiker_18
Champ in-the-making
Champ in-the-making
Hi,

I have the same problem. I uploaded a document with the webservice and I don't find the document with lucenesearch.
But when I look in DB the document is stored. When I search with on noderef then I find the document.

Anyone an idea?

Thanks, regards

karan27
Champ in-the-making
Champ in-the-making
you have to enable the search. follow these steps

1.   Stop Alfresco and tomcat server
2.   change alfresco-global.properties File like followed:
3.   Make comment solr indexing propertiesand add Lucene indexing properties.
###Solr/indexing###
#dir.keystore=${dir.root}/keystore
#solr.port.ssl=8443

### Lucene indexing ###
index.subsystem.name=lucene
index.recovery.mode=FULL
      4.   Start Alfresco and tomcat server
      5.   Show logs while starting
      6.   Remove index.recovery.mode=FULL