lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cocula Remi" <>
Subject RE: help in indexing
Date Thu, 20 Jan 2005 09:25:21 GMT
What is LucenePDFDocument ?
Is it a sample class ?

However  LucenePDFDocument.getDocument(myPdfFile) should create a document containing an indexed
You can achieve  that for instance by using Field.Text().

			writer = new IndexWriter("c:\\tmp\\index",ana,true);
			Document doc = new Document();
			doc.add(Field.Text("text","toto li toto"));

please refer to the static methods of the Field class.

-----Message d'origine-----
De : chetan minajagi []
Envoyé : jeudi 20 janvier 2005 10:15
À : Lucene Users List
Objet : RE: help in indexing

Hi Karthik/Cocula,

Luke didn't work but Limo helped.I seem to get results when i use Limo for my text/xls files.
Now the problem with pdf search
The problem that i see is the "summary" field as seen through LIMO is not indexed and hence
no hits.
I'm using the default document got by 
So how do i ensure that a few of the fields in this which are not indexed are set to indexed.
As far as I can see I can only probe whether a field is indexed or not by using 
Field.isIndexed() but is there a method by which i can set to indexed.
can someone provide any help or pointers in this regard?
Thanks & Regards,

Karthik N S <> wrote:

Probably u need to use the Luke S/w to peek insid tu'r Indexer,Use it then
come back for more help


-----Original Message-----
From: chetan minajagi []
Sent: Thursday, January 20, 2005 12:05 PM
Subject: help in indexing

Hi ,

It might seem elementary to most of you.
I am trying to build a search tool for internal use using lucene.
I have used the following
.pdf --> PDFBOx
.html --> demo file of lucene(HTMLDocument)
.xls --> poi

The indexing seems to work without throwing up any errors.
But,when i try to search i end up getting with zero hits always.
I have tried to use the same string that i see (System.out.print(Document))
but in vain.
Can somebody let me know where and what could be wrong.

Do you Yahoo!?
Yahoo! Search presents - Jib Jab's 'Second Term'

To unsubscribe, e-mail:
For additional commands, e-mail:

Do you Yahoo!?
 Yahoo! Mail - You care about security. So do we.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message