Hi,

I am not using DSpace just yet, but lucene in another application. This
is an extract to show how the index is pointed out in my case (a
directory on the same server as the application):

public static final String D_LUCENE_INDEX_DIR =
"samsok-lucene-index-dir";

static final String DATASOURCE_NAME = "harvestdb";

private static final String LUCENE_DEFAULT =
"/var/lucene-index/my_applic_index_here";

String dir = System.getProperty(D_LUCENE_INDEX_DIR, LUCENE_DEFAULT);
File fDir = new File(dir);
if (!fDir.exists() || !fDir.isDirectory() || !fDir.canWrite()) 
{
        throw new ServletException("some good message");
}


protected Directory indexDir;

indexDir = NIOFSDirectory.getDirectory(fDir);


We use Lucene as a black or dark grey box, so I cannot answer the other
two questions. However, I have noticed that performance is very
dependent on optimizing the index. In some cases (after heavy reindexing
e.g.) more than twice the "normal" disc space is needed during
optimization.


Best Regards
Börje Lewin
IT Architect
Swedish National Heritage Board


>>> 2010-11-26 kl. 07:53, i meddelandet
<[email protected]>, skrev AMJAD USMAN
<[email protected]>:

> hello everybody,
> i am a research student. my interest lies in information retrieval in

> digital repositories especially in document indexing and retrieval.
> My basic objective is to improve searching facility provided in
digital 
> repository systems especially in DSpace.
> 
> As far i know Dspace uses Lucene for document indexing and searching,
but i 
> could not find any detailed documentation that help me understand:
> how Lucene creates Index?
> where it stores its index ?
> what technique it uses for searching documents?
> 
> one of my colleague is working on "Implementation of multi-faceted
searching 
> in DSpace as like DBLP, Flamenco etc"
> 
> can anybody help or guide in this regard...
> 
> Regards:
> Amjad
> National University of Science and Technology, Pakistan
> 
> 
>                                         

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to