Open amahesh11 opened 6 years ago
Good to see that you are developing a windows script. Here is something that might help. Feeddata is a class used for indexing documents into wiseowl, via solr.. here is an error message that is displayed if you dont provide enough arguments:
Require two arguments: <index type> <folder location> <documents Indexed>
index type
: ($2)wikipedia
-- tailored to index wikipedia pages
other
-- to index any general type of file eg pdf or word filefolder location
: ($3)
location from where we have to index. overrides default directory
documents indexed
($4)
starts indexing document from this number. Can be considered as an offset for documents indexed.
since we use a sequential number as a document index
If you need any further assistance, you can message here. Sorry for late reply. I was busy with exams. And don't forget to raise a pull request once you are done
Hi Avtar, Thanks for your response. I was able to get feed data to work fine. I ran into another issue. I keep getting classcast exception when I create WiseOwl core. I made sure that I m building WiseOwl with solar 6.3 jar files. No matter what it throws classcast exception. Any idea? Good luck with your exams. Thanks Asha
Sent from my iPad
On Dec 3, 2017, at 12:38 PM, Avtar Singh notifications@github.com wrote:
Good to see that you are developing a windows script. Here is something that might help. Feeddata is a class used for indexing documents into wiseowl, via solr.. here is an error message that is displayed if you dont provide enough arguments:
Require two arguments: \n
index type: ($2) two types: wikipedia -- tailored to index wikipedia pages other -- to index any general type of file eg pdf or word file
folder location: ($3) location from where we have to index. overrides default directory
documents indexed ($4) starts indexing document from this number. Can be considered as an offset for documents indexed. since we use a sequential number as a document index
If you need any further assistance, you can message here. Sorry for late reply. I was busy with exams. And don't forget to raise a pull request once you are done
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
can you share a detailed log where the issue occurs?
I am trying to run WiseOwl on a windows server. trying to rewrite the WiseOwl script. I am not clear on what are $2 $3 $4 in this command. Also there is no main defined in com.wiseowl.WiseOwl.indexing.FeedData. How is this supposed to work?
RUN_CMD="java -cp $CLASSPATH:../target/WiseOwl-0.0.1-SNAPSHOT.jar com.wiseowl.WiseOwl.indexing.FeedData $2 $3 $4"
Thanks in advance