Results 1 to 3 of 3
  1. #1
    pranav123 is offline Member
    Join Date
    May 2011
    Posts
    3
    Rep Power
    0

    Default How do I index a database file using lucene

    Hi all,

    I am a beginner and don't know how to index a database file using a lucene index. Someone please help me by telling how can I do that.

    Thanks in advance

  2. #2
    Petr's Avatar
    Petr is offline Senior Member
    Join Date
    Jan 2011
    Location
    Russia
    Posts
    618
    Rep Power
    4

    Default

    Hi, I guess you want to create to search some info in database. Hence you need not all data from database. First you create a index for Lucene. I.e. when you application starts you read data from database and write it from index's Lucene. Then you make to search from the index's Lucene. By the way I have a plan to write a article about this task and post here. I mean on this forum. I going to make it to this weekend. You can wait it.
    In article I plan to explain all step how it is integrated with database, is created index, CRUD operations in index and synchronicity with database, show difference approach for search.
    Skype: petrarsentev
    http://TrackStudio.com

  3. #3
    pranav123 is offline Member
    Join Date
    May 2011
    Posts
    3
    Rep Power
    0

    Default

    Yes, I want to search from a database and you are right that first I have to make an index file. That is what my question is. How do I make this index file using this database? Does it affect whether I am using mysql or oracle database? Please reply me as soon as possible. Or if you have the code also please give it to me @ pranavgoyal40341@gmail.com.

    Your help would be really appreciable. Thanks

Similar Threads

  1. Replies: 0
    Last Post: 02-24-2011, 03:37 PM
  2. How to search russian texts in Lucene index?
    By ArtUrlWWW in forum Lucene
    Replies: 0
    Last Post: 01-11-2011, 11:46 AM
  3. Replies: 0
    Last Post: 10-29-2010, 08:15 PM
  4. How to index the special characters in Lucene
    By talktoudaykumar in forum Lucene
    Replies: 2
    Last Post: 04-23-2009, 07:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •