Re: mnogosearch on intranet

2001-05-15 Thread Alexander Barkov

íÏÖÅÔÅ ÌÉ ÷Ù ÞÉÔÁÔØ ÐÏ-ÒÕÓÓËÉ?

Can you read Russian?


Florin Andrei wrote:
 
 On 12 May 2001 15:35:36 +0500, Alexander Barkov wrote:
  We tested up to 5 mln document in so called cache mode storage.
  But this mode is still in beta and people reports that it does
  not work properly in some cases.
 
 What is the typical error for cache mode?
 If it's not something important or obvious, then i hope i could use it.
 
 --
 Florin Andrei
 
 Remember, son:
 if you never try, you never fail - Homer Simpson
 
 ___
 If you want to unsubscribe send unsubscribe general
 to [EMAIL PROTECTED]
___
If you want to unsubscribe send unsubscribe general
to [EMAIL PROTECTED]




Webboard: Doc Relevance ($DR)

2001-05-15 Thread Alexander Barkov

Author: Alexander Barkov
Email: [EMAIL PROTECTED]
Message:
 All of my returned results show the same relevance/rating [1] when using $DR... 
Perhaps I don't understand the meaning of this. I expected results at the top to have 
a higher rating. I have a rough idea of how this is being calc'ed (how many times 
does the word appear in dict.word)...
 
 Suggestions?? Comments??
 
 Thanks

It's covered in the doc/relevancy.txt 

Reply: http://search.mnogo.ru/board/message.php?id=2208

___
If you want to unsubscribe send unsubscribe general
to [EMAIL PROTECTED]




Webboard: htdb and his first entry

2001-05-15 Thread Alexander Barkov

Author: Alexander Barkov
Email: [EMAIL PROTECTED]
Message:
 it doesn't work! the entry is still there!!!
 (of course deleted first the db: indexer -C)
 ???
 manu :-)

Try this patch


--- sql.c.orig  Thu Mar 29 19:04:08 2001
+++ sql.c   Tue May 15 13:22:24 2001
@@ -4405,7 +4405,7 @@
 #ifdef HAVE_MYSQL
MYSQL_ROW row;
row=mysql_fetch_row(db-res);
-   sprintf(s,a href=\%s\%s/abr\n,*row,*row);
+   sprintf(s,a href=\%s\/abr\n,*row);
s=UDM_STREND(s);
 #else
sprintf(UDM_STREND(s),a href=\%s\%s/abr\n,



Reply: http://search.mnogo.ru/board/message.php?id=2209

___
If you want to unsubscribe send unsubscribe general
to [EMAIL PROTECTED]




Webboard: different indexing/splitters

2001-05-15 Thread Alexander Barkov

Author: Alexander Barkov
Email: [EMAIL PROTECTED]
Message:
 what would happen if I indexed some urls with mnogo+sql+cachemode, but
 then split the cachelogs using a different version that was 
mnogo+sql+phrase+cachemode+fasttag+fastcat?
 
 

That seems to be a reason of empty results- pages with 0 file size,
 No title and so on.


Reply: http://search.mnogo.ru/board/message.php?id=2210

___
If you want to unsubscribe send unsubscribe general
to [EMAIL PROTECTED]




Windows character sets

2001-05-15 Thread Briggs, Gary

I'm outputting XML from my search engine for use in other people's websites,
and I'm having a small problem.

Some of the sites I'm indexing are made in word [I've no control over this],
and outputted as html.

And they're in strange character sets like windows-125{0,1,2}.

When I output the XML, it contains things like 92s, which are the word
equivalent of a normal '. Is there any way I can do translations on this,
either in the indexer, or in the php? [I'm using the php front end, and
crc-multi DB schema].

Basically, I'd like to see nothing more than US-ASCII or friends; much
easier to use, and won't break perl scripts on unix boxes.

Anybody?

Ta,
Gary (-;

PS I never got any response to my RFC on my code for putting stuff INTO the
database from XML. Does anyone have anythign to add to it?
___
If you want to unsubscribe send unsubscribe general
to [EMAIL PROTECTED]




Re: 3.1.12 fix

2001-05-15 Thread Alexander Barkov

  Hello, Thomas!

Sorry for so late reply, we are working on 3.2.x branch now,
so I just had no time to check your function. It works fine
and I replaced the old one by your version. It will appear
in 3.1.13 release which will be available this week. At least
we hope so.  Thatk you very much for contribution!


Thomas Olsson wrote:
 
 Hi,
 
 Thanks for a very nice program :-)
 
 I've got a small contribution, since I found a bug in mnogosearch 3.1.12
 and fixed it. It is the hilightcpy() function in search.c. This function
 chops off the last char if the input string ends in a single word
 character. E.g. a title string called RFC 7 will be output as RFC .
 
 I must admit I couldn't be bothered to work out exactly why it didn't
 work, so I just wrote a replacement. You can decide yourself if you want
 to fix the original bug, or use this replacement. I've been using it for
 some time now, and it does seem to work.
 
 I've tried to keep the style from the code, though it is pretty far from
 my usual formatting :-)
 
 static char *hilightcpy(int LCharset, char *dst, char *src, char *w_list, char 
*start, char *stop) {
 char *t = dst, *s = src, *word = src;
 char real_word[64];
 
 if (*s) {
 do {
 if (!UdmWordChar(*s, LCharset)) {
 if (word  s) {
 char save = *s;
 *s = 0;
 sprintf(real_word,  %.61s , word);
 UdmTolower(real_word, LCharset);
 if (strstr(w_list, real_word)) {
 sprintf(t, %s%s%s, start, word, 
stop);
 }else{
 strcpy(t, word);
 }
 t += strlen(t);
 *t++ = *s++ = save;
 word = s;
 }else{
 *t++ = *s++;
 word++;
 }
 }else{
 s++;
 }
 } while (s[-1]);
 }
 *t = 0;
 return dst;
 }
 
 Regards,
 Thomas
 
 --
 Thomas Olsson
 http://www.armware.dk/
 
 ___
 If you want to unsubscribe send unsubscribe general
 to [EMAIL PROTECTED]
___
If you want to unsubscribe send unsubscribe general
to [EMAIL PROTECTED]




Webboard: htdb and his first entry

2001-05-15 Thread Alexander Barkov

Author: Alexander Barkov
Email: [EMAIL PROTECTED]
Message:
You are right! Thanks!


 hi,
 thank you very much, the patch does the work! but for the distributed 
 version should look as follows (see line number):
 
 --- mnogosearch-3.1.12/src/sql.c.SQLTue May 15 11:45:46 2001
 +++ mnogosearch-3.1.12/src/sql.cTue May 15 11:47:45 2001
 @@ -4406,7 +4406,7 @@
  #ifdef HAVE_MYSQL
 MYSQL_ROW row;
 row=mysql_fetch_row(db-gt;res);
 -   sprintf(s,quot;lt;a 
href=\quot;%s\quot;gt;%slt;/agt;lt;brgt;\
 nquot;,*row,*row);
 +   sprintf(s,quot;lt;a 
href=\quot;%s\quot;gt;lt;/agt;lt;brgt;\
 nquot;,*row);
 s=UDM_STREND(s);
  #else
 sprintf(UDM_STREND(s),quot;lt;a href=\quot;%s\
 quot;gt;%slt;/agt;lt;brgt;\nquot;,
 
 spasiba!
 manu :-)
 
 

Reply: http://search.mnogo.ru/board/message.php?id=2213

___
If you want to unsubscribe send unsubscribe general
to [EMAIL PROTECTED]




mnoGoSearch for Windows update

2001-05-15 Thread Dmitry Tkatchenko

Hallo!

mnoGoSearch for Windows and mnoGoSearch for Windows Lite build
3.1.12.12 released, featuring minor updates:
* Added support for working with several templates
* Category and Tag filtering bug fixed
* A bug in MS SQL database creation script fixed

New versions are available for evaluation from mnoGoSearch website at
http://mnogosearch.org/win.html


-- 
Best regards,
mnoGoSearch developers team
http://mnogosearch.org

___
If you want to unsubscribe send unsubscribe general
to [EMAIL PROTECTED]




Webboard: Search Benchmarks

2001-05-15 Thread Rob

Author: Rob
Email: [EMAIL PROTECTED]
Message:
We are using Microsoft Sql Server as the database backend with mnogosearch, the 
Windows version. 

Thanks,
Rob

Reply: http://search.mnogo.ru/board/message.php?id=2214

___
If you want to unsubscribe send unsubscribe general
to [EMAIL PROTECTED]




win32 (hanging while selecting ...)

2001-05-15 Thread La Rocca Network

Finally, I guess I got it ...

As you told me Ramil, I started tracing the odbc on, but it time I tried, it
worked fine so I just got a long long sql.log but nothing else.
So I just thought it was a matter of timming, specially since I thought it
could be a matter while crawling, since it waits to select when finishing
all gets.
I keep the 6 threads and raise to pausing a second. It worked much better,
but a lot of time again, got frozen while selecting was displayed ..
idem trying 2 seconds and so on. Some times it was almost immediately,
sometimes not.

The matter is that I tryied 5 threads, no pausing, and it worked !

Hope this would help.
Regards,

Nelson



___
If you want to unsubscribe send unsubscribe general
to [EMAIL PROTECTED]




Re[2]: mnoGoSearch for Windows update

2001-05-15 Thread Dmitry Tkatchenko

Hello La,

Tuesday, May 15, 2001, 5:22:07 PM, you wrote:

LRN what does it fix ?

Please visit http://mnogosearch.org/winhistory.html to view
mnoGoSearch for Windows version history

-- 
Best regards,
Dmitry Tkatchenko
mnoGoSearch developers team
http://mnogosearch.org

___
If you want to unsubscribe send unsubscribe general
to [EMAIL PROTECTED]




Webboard: Indexing product categories which are dynamically updated from base.

2001-05-15 Thread Alexander

Author: Alexander
Email: [EMAIL PROTECTED]
Message:
Ìíå íåîáõîäèìî ïðèêðóòèòü êàêóþ-íèáóäü ïîèñêîâóþ ñèñòåìó ê ýëåêòðîííîìó ìàãàçèíó 
(ïîèñê ïî òîâàðàì). ß îñòàíîâèë ñâîé âûáîð íà Ìíîãîñåð÷å. ÎÑ: Linux, ÁÄ: Oracle. ß âñå 
óñòàíîâèë, âðîäå áû âñå ðàáîòàåò.

Íî åñòü íåêîòîðûå ïðîáëåìû.

1.Èíäåêñèðîâàòü òîâàðû íàäî ïî ôàéëîâîé ñèñòåìå, à íå ïî www.
2.Íåîáõîäèìî ñîçäàòü ïîèñê ïî ðàçäåëàì (ñ ñîîòâåòñòâóþùèì select'îì), êîòîðûå 
_äèíàìè÷åñêè_ îáíîâëÿþòñÿ èç áàçû (ðàçäåë ïîèñêà == ðàçäåë êàòàëîãà òîâàðîâ). ß 
èñïîëüçîâàë äëÿ ýòîãî ïîëå category.

Ñîâìåñòèâ 1. è 2., ÿ íàïèñàë ñêðèïò, êîòîðûé ïî î÷åðåäè äëÿ êàæäîé êàòåãîðèè:

- ãåíåðèò ôàéëîâîå äåðåâî (ôàéëû âèäà ../perl-cgi/product_card?prod_id=nnn ), 
äîñòàâàÿ èç áàçû íåîáõîäèìóþ èíôîðìàöèþ î òîâàðàõ, ïîäëåæàùèõ èíäåêñàöèè (îïèñàíèå, 
öåíà è ò.ä.). êàæäûé ôàéë product_card?prod_id=nnn ñîäåðæèò HTML-äîêóìåíò ñ title, 
êëþ÷åâûìè ñëîâàìè, îïèñàíèåì òîâàðà è ò.ï. Íà www ëåæàò êàðòî÷êè òîâàðîâ ñ 
ñîîòâåòñòâóþùèìè ïóòÿìè (http://www.blablabla.ru/perl-cgi/product_card?prod_id=nnn);

- ãåíåðèò indexer.conf, âñòàâëÿÿ òóäà òåêóùóþ êàòåãîðèþ â ïîëå Category;

- çàïóñêàåò èíäåêñàòîð.

 Ýòî âñå ïîâòîðÿåòñÿ äëÿ êàæäîé êàòåãîðèè òîâàðîâ. È ïîä êîíåö ðàáîòû, ñêðèïò ãåíåðèò 
search.htm, âñòàâëÿÿ òóäà select-tag ñî âñåìè êàòåãîðèÿìè â êà÷åñòâå option.

Ýòî ïåðâîå, ÷òî ïðèøëî ìíå â ãîëîâó. Íî òóò ïðîáëåìà ñ óäàëåíèåì èç áàçû òîâàðîâ: 
èíäåêñàòîð ëèáî îñòàâëÿåò âñå òîâàðû, ëèáî óäàëÿåò òîâàðû, êîòîðûå áûëè 
ïðîèíäåêñèðîâàíû äëÿ ïðåäûäóùèõ êàòåãîðèé. È âîîáùå êàê-òî íåìíîãî êðèâî: ñîçäàâàòü 
êàæäûé ðàç indexer.conf, çàïóñêàòü ìíîãî ðàç èíäåêñàòîð è ò.ä... :(

Êàê ìíå ëó÷øå ïîñòóïèòü? Çàðàíåå ñïàñèáî.



Reply: http://search.mnogo.ru/board/message.php?id=2216

___
If you want to unsubscribe send unsubscribe general
to [EMAIL PROTECTED]