Hi Giosia,

some answers inline (maybe the other guys will give you more appropriate
answers)

2013/3/25 Giosia Gentile <giosiagent...@gmail.com>

> Hi, I  installed a local dbpedia lookup with success but now
> I want recreate the new Index, using my own local DBpedia mirror.
>
> From the documentation I've read it should be done with the command:
> mvn scala:run -Dlauncher=Indexer "-DaddArgs=indexDir|redirectsFile|data"
>
> But it's not very clear to me the meaning of these parameters:
>
> 1- indexDir is the output directory that will hold the searchable
> structures -->  is this the dir where it put the new index files?
>

That's correct.


> 2- redirectsFile is the homonymous dbpedia data set -->  what does it mean?
>

That refers to redirects which are extracted from the DBpedia framework,
e.g. [1]


> 3- data is a collection of files with the properties you want to index
> -->what does it mean? in what format must be this files? Collection of
> files? How can I pass a collection of files?
>

I think there is a typo in the doc you have read.
If you refer to this page [2], you will see that you are expected to sort
and merge together input files.
(anyway, the scala code here [3] shows that you could specify a collection
of files, using a pipe to separate the filenames, since the main method
iterates over the remaining arguments)

Hope this helps a bit.

Cheers
Andrea


>
> Please help me, if possible with some example.
>
> Thank you
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_mar
> _______________________________________________
> Dbpedia-discussion mailing list
> Dbpedia-discussion@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
>
>
[1] http://downloads.dbpedia.org/3.8/en/redirects_en.nt.bz2
[2] https://github.com/dbpedia/lookup
[3]
https://github.com/dbpedia/lookup/blob/master/src/main/scala/org/dbpedia/lookup/lucene/Indexer.scala#L121
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Dbpedia-discussion mailing list
Dbpedia-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to