Re: index a repository of documents(.doc) without using post.jar

2014-05-23 Thread Michael Della Bitta
There's an example of using curl to make a REST call to update a core on
this page:

https://wiki.apache.org/solr/UpdateXmlMessages

If that doesn't help, please let us know what error you're receiving.


Michael Della Bitta

Applications Developer

o: +1 646 532 3062

appinions inc.

“The Science of Influence Marketing”

18 East 41st Street

New York, NY 10017

t: @appinions  | g+:
plus.google.com/appinions
w: appinions.com 


On Fri, May 23, 2014 at 10:42 AM, benjelloun  wrote:

> Hello,
>
> I looked to source code of post.jar, that was very interesting.
> I looked for manifoldcf apache, that was interesting too.
> But i what i want to do is indexing some files using http rest, this is my
> request which dont work, maybe this way is the easiest for implementation:
>
> put: localhost:8080/solr/update?commit=true
> 
>   
> khalid
> bouchna9 
> 23/05/2014 
>   
> 
>
> I'm using dev http client for test.
> Thanks,
> Anass BENJELLOUN
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/index-a-repository-of-documents-doc-without-using-post-jar-tp4137797p4137881.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>


Re: index a repository of documents(.doc) without using post.jar

2014-05-23 Thread benjelloun
Hello,

I looked to source code of post.jar, that was very interesting.
I looked for manifoldcf apache, that was interesting too.
But i what i want to do is indexing some files using http rest, this is my
request which dont work, maybe this way is the easiest for implementation:

put: localhost:8080/solr/update?commit=true

  
khalid
bouchna9 
23/05/2014 
  


I'm using dev http client for test.
Thanks,
Anass BENJELLOUN




--
View this message in context: 
http://lucene.472066.n3.nabble.com/index-a-repository-of-documents-doc-without-using-post-jar-tp4137797p4137881.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: index a repository of documents(.doc) without using post.jar

2014-05-23 Thread Ahmet Arslan
Hey Anass,

Have look at another Apache project : http://manifoldcf.apache.org

It works with Tomcat/Solr. It is handy to handle deletions and incremental 
updates.


On Friday, May 23, 2014 3:41 PM, benjelloun  wrote:



Hello,

There is no inconvenience, i just need to index some files from the system
using JEE and tomcat6, maybe there is a fonction which call HTTP REST.
Maybe there is a solution to integrate post.jar to tomcat6.
Please if you know any solution to my probleme, suggest it to me.
Thanks,

Best regards,
Anass BENJELLOUN



--
View this message in context: 
http://lucene.472066.n3.nabble.com/index-a-repository-of-documents-doc-without-using-post-jar-tp4137797p4137848.html

Sent from the Solr - User mailing list archive at Nabble.com.


Re: index a repository of documents(.doc) without using post.jar

2014-05-23 Thread Jack Krupansky
Feel free to look at the source code for post.jar. I mean, all it is really 
doing is scanning the directory (optionally recursively) and then streaming 
each file to Solr.


-- Jack Krupansky

-Original Message- 
From: benjelloun

Sent: Friday, May 23, 2014 8:15 AM
To: solr-user@lucene.apache.org
Subject: Re: index a repository of documents(.doc) without using post.jar

Hello,

There is no inconvenience, i just need to index some files from the system
using JEE and tomcat6, maybe there is a fonction which call HTTP REST.
Maybe there is a solution to integrate post.jar to tomcat6.
Please if you know any solution to my probleme, suggest it to me.
Thanks,

Best regards,
Anass BENJELLOUN



--
View this message in context: 
http://lucene.472066.n3.nabble.com/index-a-repository-of-documents-doc-without-using-post-jar-tp4137797p4137848.html
Sent from the Solr - User mailing list archive at Nabble.com. 



Re: index a repository of documents(.doc) without using post.jar

2014-05-23 Thread benjelloun
Hello,

There is no inconvenience, i just need to index some files from the system
using JEE and tomcat6, maybe there is a fonction which call HTTP REST.
Maybe there is a solution to integrate post.jar to tomcat6.
Please if you know any solution to my probleme, suggest it to me.
Thanks,

Best regards,
Anass BENJELLOUN



--
View this message in context: 
http://lucene.472066.n3.nabble.com/index-a-repository-of-documents-doc-without-using-post-jar-tp4137797p4137848.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: index a repository of documents(.doc) without using post.jar

2014-05-23 Thread Jack Krupansky
Is there a particular reason you are adverse to using post.jar? I mean, if 
there is some bug or inconvenience, let us know so we can fix it!


The Solr server itself does not provide any ability to "crawl" file systems 
(LucidWorks Search does.) post.jar does provide that convenience.


-- Jack Krupansky

-Original Message- 
From: benjelloun

Sent: Friday, May 23, 2014 4:36 AM
To: solr-user@lucene.apache.org
Subject: index a repository of documents(.doc) without using post.jar

Hello,

I need to index a repository of documents(.doc) without using post.jar, i'm
using Solr with Tomcat6.
maybe its with http REST api, but how to use it?
Thanks for your answer,

Best regards,
Anass BENJELLOUN



--
View this message in context: 
http://lucene.472066.n3.nabble.com/index-a-repository-of-documents-doc-without-using-post-jar-tp4137797.html
Sent from the Solr - User mailing list archive at Nabble.com. 



Re: index a repository of documents(.doc) without using post.jar

2014-05-23 Thread Alexandre Rafalovitch
Post jar is just there for convenience. Look at the relevant WIKI
pages for actual URL examples:
https://wiki.apache.org/solr/UpdateXmlMessages

Regards,
   Alex
Personal website: http://www.outerthoughts.com/
Current project: http://www.solr-start.com/ - Accelerating your Solr proficiency


On Fri, May 23, 2014 at 3:36 PM, benjelloun  wrote:
> Hello,
>
> I need to index a repository of documents(.doc) without using post.jar, i'm
> using Solr with Tomcat6.
> maybe its with http REST api, but how to use it?
> Thanks for your answer,
>
> Best regards,
> Anass BENJELLOUN
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/index-a-repository-of-documents-doc-without-using-post-jar-tp4137797.html
> Sent from the Solr - User mailing list archive at Nabble.com.


index a repository of documents(.doc) without using post.jar

2014-05-23 Thread benjelloun
Hello,

I need to index a repository of documents(.doc) without using post.jar, i'm
using Solr with Tomcat6.
maybe its with http REST api, but how to use it?
Thanks for your answer,

Best regards,
Anass BENJELLOUN



--
View this message in context: 
http://lucene.472066.n3.nabble.com/index-a-repository-of-documents-doc-without-using-post-jar-tp4137797.html
Sent from the Solr - User mailing list archive at Nabble.com.


index a repository of documents(.doc) without using post.jar

2014-05-23 Thread benjelloun
Hello,

I need to index a repository of documents(.doc) without using post.jar, i'm
using Solr with Tomcat6.
maybe its with http REST api, but how to use it?
Thanks for your answer,

Best regards,
Anass BENJELLOUN



--
View this message in context: 
http://lucene.472066.n3.nabble.com/index-a-repository-of-documents-doc-without-using-post-jar-tp4137798.html
Sent from the Solr - User mailing list archive at Nabble.com.