Searching on multiple index files is incredible fast.  We have 10 different
index folders with different sizes.  All folders together have a size of 7
GB.  Results come back usual within less than 50 ms.  Getting results out of
the index i.e. reading documents is expensive and you will have to spent
time here to get a good performance.  You will need to look into
- Topdocs
- Extracting results in an ordered way, i.e. sort by index and within an
index by document id.  This will help to minimize disk head jumps and gave
me a tremendous boost.
- Extracting only what you need (using a special read filter I do not recall
the name right now and I do not have access to my sources at the moment of
writing this)

Andreas


On 6/17/07, Mark Miller <[EMAIL PROTECTED]> wrote:



Lee Li Bin wrote:
> Hi,
>
> I would like to know how's the performance during indexing and searching
of
> results on a large index files would be like.
>
Fast.
> And is it possible to create multiple index files and search across
multiple
> index files?
Yes.
>  If possible, may I know how could it be done?
>
Check out MultiSearcher.

http://lucene.zones.apache.org:8080/hudson/job/Lucene-Nightly/javadoc/org/apache/lucene/search/MultiSearcher.html
> Thanks a lot.
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to