Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-User
Using separate index for each user
 

Index | Next | Previous | View Flat


tobias.larsson.hult at findwise

Sep 16, 2008, 7:55 AM


Views: 575
Permalink
Using separate index for each user

Hi,

We're thinking of using Lucene to integrate search in a backup service
application. The background is that we have a bunch of users using a
backup service, and we want them to be able to search their own, and
only their own, backups.

The total amount of data that's being backed up is very large (size in
terabyte). Even though the index will probably be smaller due to only
indexing relevant fields, it is still to much to incorporate in one
index. But since a user will only search in his/her own files we're
thinking of creating one index for each user. There will be a lot of
indexes of course but each index will not span to more than a couple
of gigabytes at the most.

So when a user searches or adds new content to the backup we will open
up his/her index and to a search/update in that particular index. That
way, each query/update should not be so performance intense.

Does this sound like a reasonable solution? Of course this means
creating a lot of IndexReaders/Writers but I prefer that to searching
in a huge index everytime when a user only wants to search in a slice
of the total index.

Best Regards,
Tobias Larsson Hult

Subject User Time
Using separate index for each user tobias.larsson.hult at findwise Sep 16, 2008, 7:55 AM
    Re: Using separate index for each user erickerickson at gmail Sep 16, 2008, 8:17 AM
    Re: Using separate index for each user otis_gospodnetic at yahoo Sep 16, 2008, 9:10 AM
        Re: Using separate index for each user tobias.larsson.hult at findwise Sep 17, 2008, 11:32 PM
            Re: Using separate index for each user erickerickson at gmail Sep 18, 2008, 6:34 AM
    Re: Using separate index for each user alexander.aristov at gmail Sep 19, 2008, 4:43 AM
    RE: Using separate index for each user jimi.hullegard at mogul Sep 19, 2008, 5:14 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.