mminfo slowness on large hit counts

Post Reply
huttel
Posts: 2
Joined: Thu Jan 02, 2003 12:59 pm

mminfo slowness on large hit counts

Post by huttel »

I have found that mminfo takes an extremely long time
to return when a document has many instances of
a search term. Is there some known inefficiency in this
case?
User avatar
John
Site Admin
Posts: 2622
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

mminfo slowness on large hit counts

Post by John »

What options are you using to mminfo, and what is many? Since Texis does need to build up a large string, you may want to limit the number of hits it will enumerate.
John Turnbull
Thunderstone Software
huttel
Posts: 2
Joined: Thu Jan 02, 2003 12:59 pm

mminfo slowness on large hit counts

Post by huttel »

I'm using , 0, 0, 3) as the parameters to mminfo.
One example had 17,000 hits in a document and it took hours to return.
We don't have the option of limiting the number. We need to get all of them.
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

mminfo slowness on large hit counts

Post by mark »

I can't imagine why mminfo would be that slow. What's the query? What non-default apicp settings? How big is the document being searched?

Aren't you folks programming in C? If so, you might be better off using the mm api directly rather than using mminfo() then having to parse out the result. See openmmapi(), setmmapi(), getmmapi(), infommapi(). http://www.thunderstone.com/site/texisman/node231.html
User avatar
John
Site Admin
Posts: 2622
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

mminfo slowness on large hit counts

Post by John »

Versions that are newer than March 2002 have been optimized for handling a large number of hits in mminfo, so you might try a newer version of Texis.
John Turnbull
Thunderstone Software
Post Reply