Re: indexing rich data from directory using solarium

2015-12-02 Thread Gora Mohanty
On 2 December 2015 at 22:35, kostali hassan wrote: > i fixed but he still a smal prb from time out 30sc of wamp server then i > can just put 130files to a directory to index untill i index all my files : > this is my function idex document: Again, not familiar with Solarium, and at this point you

Re: indexing rich data from directory using solarium

2015-12-02 Thread kostali hassan
i fixed but he still a smal prb from time out 30sc of wamp server then i can just put 130files to a directory to index untill i index all my files : this is my function idex document: *App::import('Vendor','autoload',array('file'=>'solarium/vendor/autoload.php'));* *public function indexDocument(

Re: indexing rich data from directory using solarium

2015-12-02 Thread kostali hassan
yes I am sure because i successeflly Post the same document(455 .doc .docx and pdf in 18 second) with SimplePostTool But now i want to commincate directly with my server solr using solarium in my application cakephp ; I think only way to have the right encoding is in header : *$headers = array('Con

Re: indexing rich data from directory using solarium

2015-12-02 Thread Gora Mohanty
On 2 December 2015 at 21:59, Erik Hatcher wrote: > Gora - > > SimplePostTool actually already adds the literal.id parameter* when in “auto” > mode (and it’s not an XML, JSON, or CSV file). Ah, OK. It has been a while since I actually used the tool. Thanks for the info. Regards, Gora

Re: indexing rich data from directory using solarium

2015-12-02 Thread Gora Mohanty
On 2 December 2015 at 21:55, kostali hassan wrote: > yes they are a Error in my solr logs: > SolrException URLDecoder: Invalid character encoding detected after > position 79 of query string / form data (while parsing as UTF-8) >

Re: indexing rich data from directory using solarium

2015-12-02 Thread Erik Hatcher
Gora - SimplePostTool actually already adds the literal.id parameter* when in “auto” mode (and it’s not an XML, JSON, or CSV file). Erik * See https://github.com/apache/lucene-solr/blob/d4762c1a2677a44c8a580b97239e1e91a25d/solr/core/src/java/org/apache/solr/util/SimplePostTool.ja

Re: indexing rich data from directory using solarium

2015-12-02 Thread kostali hassan
the prob with posting using line commande is : I start working in solr 5.3.1 by extract solr in D://solr and run solr server with : D:\solr\solr-5.3.1\bin>solr start ; Then I create a core in standalone mode : D:\solr\solr-5.3.1\bin>solr create -c mycore I need indexing from system files (word

Re: indexing rich data from directory using solarium

2015-12-02 Thread Gora Mohanty
On 2 December 2015 at 17:16, kostali hassan wrote: > yes its logic Thank you , but i want understand why the same data is > indexing fine in shell using windows SimplePostTool : >> >> D:\solr\solr-5.3.1>java -classpath example\exampledocs\post.jar -Dauto=yes >> -Dc=solr_docs_core -Ddata=files -Dre

Re: indexing rich data from directory using solarium

2015-12-02 Thread kostali hassan
yes they are a Error in my solr logs: SolrException URLDecoder: Invalid character encoding detected after position 79 of query string / form data (while parsing as UTF-8) thi

Re: indexing rich data from directory using solarium

2015-12-02 Thread kostali hassan
yes its logic Thank you , but i want understand why the same data is indexing fine in shell using windows SimplePostTool : > > D:\solr\solr-5.3.1>java -classpath example\exampledocs\post.jar -Dauto=yes > -Dc=solr_docs_core -Ddata=files -Drecursive=yes > org.apache.solr.util.SimplePostTool D:\Lucene

Re: indexing rich data from directory using solarium

2015-12-02 Thread Gora Mohanty
On 2 December 2015 at 16:32, kostali hassan wrote: [...] > > When i execute it i get this ERROR: > > org.apache.solr.common.SolrException: URLDecoder: Invalid character > encoding detected after position 79 of query string / form data (while > parsing as UTF-8) Solr expects UTF-8 data. Your docum