<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Web script using SOLR API in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/web-script-using-solr-api/m-p/270711#M223841</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;No, you won't have to rewrite the code. Alfresco's searchService encapsulate the concrete search subsystem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you're using solr subsystem you'll only have in mind that that your data isn't sychronously indexed is it was mostly done via lucene before.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Best, jan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Dec 2011 14:33:01 GMT</pubDate>
    <dc:creator>jpfi</dc:creator>
    <dc:date>2011-12-16T14:33:01Z</dc:date>
    <item>
      <title>Web script using SOLR API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-script-using-solr-api/m-p/270706#M223836</link>
      <description>Hi All!&amp;nbsp; &lt;IMG id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt; &amp;nbsp;&amp;nbsp; I have installed Alfresco 4.0 community version. I want to write a simple web script that gives me a list of users. I want to write this web script using SOLR JAVA API. Can anyone knows how to use SOLR JAVA API?Please help me!Thanking you!&amp;nbsp; &lt;IMG id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;</description>
      <pubDate>Fri, 16 Dec 2011 06:13:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-script-using-solr-api/m-p/270706#M223836</guid>
      <dc:creator>mcasanket</dc:creator>
      <dc:date>2011-12-16T06:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: Web script using SOLR API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-script-using-solr-api/m-p/270707#M223837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;is there a reason why you like to do this? I mean why don't you use Alfresco's JavaScript or JavaAPI? if you like to code in Java then just write a Java backed WebScript that calls personService.getAllPeople().&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Calling Solr directly with SOLRJ is the same mistake as querying Alfresco's DB directly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers, Jan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2011 08:09:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-script-using-solr-api/m-p/270707#M223837</guid>
      <dc:creator>jpfi</dc:creator>
      <dc:date>2011-12-16T08:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: Web script using SOLR API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-script-using-solr-api/m-p/270708#M223838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; If I use &lt;/SPAN&gt;&lt;STRONG&gt;personService.getPerson("abc.xyz")&lt;/STRONG&gt;&lt;SPAN&gt; in web script then it will user SOLR API to get the results?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I meant, my logs are active for &lt;/SPAN&gt;&lt;STRONG&gt;SOLR&lt;/STRONG&gt;&lt;SPAN&gt;. But when I when I call the above code nothing get printed related to SOLR…. I meant no SOLR query fired…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Plz help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;WebScript that calls personService.getAllPeople().&lt;BR /&gt;Cheers, Jan&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;thanking you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2011 09:16:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-script-using-solr-api/m-p/270708#M223838</guid>
      <dc:creator>mcasanket</dc:creator>
      <dc:date>2011-12-16T09:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Web script using SOLR API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-script-using-solr-api/m-p/270709#M223839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Some commands will use SOLR, some won't,&amp;nbsp; why would getAllPeople need to use SOLR?&amp;nbsp;&amp;nbsp; In general the more complicated search methods will use lucene or solr.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2011 09:39:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-script-using-solr-api/m-p/270709#M223839</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2011-12-16T09:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Web script using SOLR API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-script-using-solr-api/m-p/270710#M223840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ohh is it… :!:&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; So it means if I write or use some old web script (before alfresco 4.0) then It will use solr api's automatically? I meant to say Do I need to rewrite web scripts using SOLR API's? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; The ServiceRegistry, NodeService and any other query fired on repository will automatically use SOLR ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;alfresco-global.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;index.subsystem.name=solr&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Some commands will use SOLR, some won't,&amp;nbsp; why would getAllPeople need to use SOLR?&amp;nbsp;&amp;nbsp; In general the more complicated search methods will use lucene or solr.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2011 10:07:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-script-using-solr-api/m-p/270710#M223840</guid>
      <dc:creator>mcasanket</dc:creator>
      <dc:date>2011-12-16T10:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Web script using SOLR API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-script-using-solr-api/m-p/270711#M223841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;No, you won't have to rewrite the code. Alfresco's searchService encapsulate the concrete search subsystem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you're using solr subsystem you'll only have in mind that that your data isn't sychronously indexed is it was mostly done via lucene before.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Best, jan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2011 14:33:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-script-using-solr-api/m-p/270711#M223841</guid>
      <dc:creator>jpfi</dc:creator>
      <dc:date>2011-12-16T14:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: Web script using SOLR API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-script-using-solr-api/m-p/270712#M223842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Thanks for your reply!&amp;nbsp; &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; I want to know that as the data is asynchronously indexed, is there any way to see the log when it goes for indexing…!!!? As in my one post you suggest me to active log for SOLR and it helped me a lot… Is there any logging through which I can see that the data is being indexed now…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If you're using solr subsystem you'll only have in mind that that your data isn't sychronously indexed is it was mostly done via lucene before.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanking you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Dec 2011 10:04:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-script-using-solr-api/m-p/270712#M223842</guid>
      <dc:creator>mcasanket</dc:creator>
      <dc:date>2011-12-17T10:04:35Z</dc:date>
    </item>
  </channel>
</rss>

