Re: Optimized??

2004-11-20 Thread Nader Henein
The down and dirty answer is it's like defragmenting your harddrive, 
you're basically compacting and sorting out index references. What you 
need to know is that it makes searching so much faster after you've 
updating the index.

Nader Henein
Miguel Angel wrote:
What`s mean Optimized index in Lucene¿?
 

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


Re: cache check?

2004-11-20 Thread Vic
Erik Hatcher wrote:
The Hits object already does some most-recently-used caching.
Is there any docs on this or should I look in source?
I plan on terabytes search, and have used DAO caching (ibatis) to make 
my db fast.
I have no idea how fast Lucene will be untill I am done and loaded and 
have querries coming in, but I know I will need to manage the cache.
It depends on how good and tuneable is "some LRU caching" in Hits. Is it 
 soft? Can it take up 2 gigs of ram?

tia
.V

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


Re: cache check?

2004-11-20 Thread Erik Hatcher
What are you trying to accomplish with your proposed cache that you are 
missing with Lucene already?  Are you finding access to documents slow?

The Hits object already does some most-recently-used caching.
Erik
On Nov 19, 2004, at 7:58 PM, Vic wrote:
Did somone write a cache of hits yet? Like they have for DAO.
For example I say Dao.search(XYZ);
It 1st checks the memory cache to see if this was just asked, on a 
cache miss it runs a search and puts in in cache.

If not, I will, it would take me a few weeks.
.V
-
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]


Optimized??

2004-11-20 Thread Miguel Angel
What`s mean Optimized index in Lucene¿?
-- 
Miguel Angel Angeles R.
Asesoria en Conectividad y Servidores
Telf. 97451277

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



How much time indexing doc ??

2004-11-20 Thread Miguel Angel
Hi, i have 1000 doc (Word, PDF and HTML)   , those documents indexed
in 5 min.  Is this correct?? or i have problem with my Analyzer, i
used StandartAnalyzer
-- 
Miguel Angel Angeles R.
Asesoria en Conectividad y Servidores
Telf. 97451277

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



Re: WildcardTermEnum skipping terms containing numbers?!

2004-11-20 Thread Sanyi
> why reindex?

Well, since I had different experiences with different analyzers I've tried, I 
thougt that this
problem must origin from either the indexing or a lucene bug.

> As stated at the end of my mail, I'd expect that to skip the
> first term in the enum.

Yes, this must be a problem for me, since I took this sentence from the manual 
as the starting
point:
"Returns the current Term in the enumeration. Initially invalid, valid after 
next() called for the
first time."

So, it seems that it was a bug in the docs, not the api itself.

> Is that, what you miss or do you loose
> more than one term?

It seemed to me that it was skipping more stuff, but I'd better not say this, 
since I didn't know
that the term is valid even before the first next(), so I could've been 
misleaded by my own
chaotic experiences.

Since my code was completly restructured since then, I don't have all the 
surrounging stuff needed
for further testing.

Anyway, we've found a docs bug thanks to you and my code is cleaner and better 
the other way.

Thanx!





__ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 


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