Results 1 to 1 of 1
- 02-24-2011, 03:37 PM #1
Member
- Join Date
- Aug 2008
- Posts
- 46
- Rep Power
- 0
Digester parsing and Lucene indexing: empty index...
I'm having some issues with parsing of data with Digester and indexing with Lucene.
I'm parsing a xml collection, but the index seems to be empty.. just 2 files segments.gen and segments_1, and they both are 4kbytes big.
I've followed some tutorial from internet such as this one: Parsing, indexing, and searching XML with Digester and Lucene
This is my code: C code - 201 lines - codepad
This is the structure of XML document:
<?xml version='1.0' encoding='utf-8'?>
<collection>
<doc>
<id>361492738</id>
<title>Dan to the Right</title>
<description>This is ...Dan, he was to the right. Dan took a href="http://www.flickr.com/photos/danpb/361675920/"this/a shot.</description>
<time>18934934</time>
<tags>flickrmeetup rochester dan totheright 200701</tags>
<geo></geo>
<event>135961</event>
</doc>
<doc>
...
</doc>
..
</collection>
thanks
Similar Threads
-
Pulling an Index made with Lucene to dev batch code for index listings
By txgeekgirl in forum LuceneReplies: 0Last Post: 10-29-2010, 08:15 PM -
Indexing XML using lucene
By peliukasss in forum LuceneReplies: 0Last Post: 03-28-2010, 10:20 PM -
[SOLVED] Parallel/Asynchronous Faster indexing way on lucene
By priyanka.dandekar in forum LuceneReplies: 2Last Post: 10-06-2008, 08:20 PM -
Lucene indexing ans searching code needed
By vgarg80 in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 06-07-2008, 11:31 AM -
Lucene Re-Indexing
By connect2srinath in forum LuceneReplies: 1Last Post: 05-11-2008, 05:35 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks