f9fdc96563
no use in newline separating the list of urls if they're going to be read back in and need to be space separated
Daniel Steinberg2014-03-10 15:22:43 -07:00
7cdd411ef1
Merge branch 'diffbot' into diffbot-testing
Matt Wells2014-03-07 09:26:47 -08:00
72fab5b61e
Do not end a crawl while urls are still being spidered because they might add more links to spiderdb when they finally complete.
Matt Wells2014-03-07 09:30:12 -08:00
dcd42e455e
Merge branch 'diffbot' into diffbot-testing
Matt Wells2014-03-07 09:02:29 -08:00
c143ee1fba
fix core when creating a new collection because we incremented m_numRecs but did not grow the ptr buffer. also added support for localgb.conf so we can use that instead of gb.conf to avoid git push/pull conflicts.
Matt Wells2014-03-07 09:05:14 -08:00
f777e6cccd
Merge branch 'diffbot' into diffbot-testing
Matt Wells2014-03-07 08:23:21 -08:00
27e8e810d2
use collnum instead of coll string. more stable since resetting collections keeps string the same but changes the collnum.
Matt Wells2014-03-06 15:48:11 -08:00
d74f748e93
search all collections under a token if "&token" is given but not "&c=..."
Matt Wells2014-03-06 11:00:43 -08:00
97e46dbf4e
Merge branch 'diffbot-testing' of github.com:gigablast/open-source-search-engine into diffbot-testing
Matt Wells2014-03-06 10:45:45 -08:00
1b62f1582b
print memtable when almost full so we can see where the leak is. more spiders for ethan. do not try to get diffbot reply if page is already json. likely it is an injected diffbot json reply.
Matt Wells2014-03-04 18:19:50 -08:00
1acb16b1ee
tweak empty doledb priority logic. anchor it more to m_doleIpTable for more reliability. seems like it was causing some slow dows during spidering. seems more continuous now.
Matt Wells2014-03-03 13:48:59 -08:00
48b5330d9c
only skip checking to spider a url of its doleip table is empty
Matt Wells2014-03-03 13:22:27 -08:00
282dad6cef
deal with no coll recs when getting link text using msg25. do not share g_lineTable between collections.
Matt Wells2014-03-03 08:04:24 -08:00
ff8a0b4ef1
do not let all collections share the same line table in linkdb.cpp
Matt Wells2014-03-03 07:50:11 -08:00
a82abe8260
added ^ operator to url crawl patterns. good for tmz crawl.
Matt Wells2014-03-02 14:57:59 -08:00
7fd6bbd7f5
added ^ support to url crawl expressions
Matt Wells2014-03-02 14:41:25 -08:00
e4d425c18f
fix coll being deleted when getting link text.
Matt Wells2014-03-02 14:24:49 -08:00
bb5016e88b
add the following fields to json search results: currentTimeUTC, responseTimeMS, docsInCollection, hits, moreResultsFollow, and docId. Changes structure of json so that now the results array is returned as an array within a dictionary (field name "results") as opposed to being the only object returned
Daniel Steinberg2014-03-01 11:16:17 -08:00
aeb2833d20
Merge branch 'diffbot-testing' of github.com:gigablast/open-source-search-engine into diffbot-testing
Matt Wells2014-02-28 11:46:44 -08:00
11efab9862
Merge branch 'diffbot-testing' of github.com:gigablast/open-source-search-engine into diffbot-testing
Matt Wells2014-02-28 08:23:59 -08:00
c596d38e60
fix core from getting title of json object
Matt Wells2014-02-28 08:18:09 -08:00
5f3aa24805
took out restrictDomain logic. now we always only follow links on the same domain as the seed UNLESS a url crawl pattern or a url crawl regex was specified.
Matt Wells2014-02-27 19:53:17 -08:00
42f254125e
fix core in new link text logic. empty msg25 replies are ok if g_errno is set.
Matt Wells2014-02-27 13:56:32 -08:00
365fc16606
fix core in "wait in line" logic when getting link info in Linkdb.cpp.
Matt Wells2014-02-27 09:22:35 -08:00
af9eb8fb73
need to allow clients to not restrict to seed domains.
Matt Wells2014-02-26 22:27:22 -08:00
927f4626ee
Merge branch 'diffbot-testing' of github.com:gigablast/open-source-search-engine into diffbot-testing
Matt Wells2014-02-26 22:26:13 -08:00
eaca38cbfd
fix new result streaming logic some more
Matt Wells2014-02-26 21:42:43 -08:00
0933884191
fix super fast and mem efficient search results streaming code.
Matt Wells2014-02-26 21:18:08 -08:00
f11e25024a
Merge branch 'diffbot' into diffbot-testing
Matt Wells2014-02-26 20:34:06 -08:00
1030e6ada8
Merge branch 'diffbot-testing' of github.com:gigablast/open-source-search-engine into diffbot-testing
Matt Wells2014-02-26 20:30:20 -08:00
b429f12346
add logic to save memory when streaming over 200 results back. should fix oom when streaming back hundreds of thousands of results.
Matt Wells2014-02-26 20:33:35 -08:00
8208178c79
remove "Initial crawl request" dups from the urls.csv. do not count fake firstip spider requests attempts in xmldoc.cpp as crawlbot page download attempts since we just re-add that request with the correct firstip and bail. it basically doubles this count form what users would expect.
Matt Wells2014-02-26 15:48:52 -08:00
b450bfc2a6
do not show html column in csv. libreoffice and excel flub it if a cell is over 32k or so.
Matt Wells2014-02-26 15:03:05 -08:00
a0697e1bb5
do not allow custom crawls to spider the web any more.
Matt Wells2014-02-26 10:26:09 -08:00
33c8123288
more fixes for new link info code.
Matt Wells2014-02-25 13:53:41 -08:00
9c486c77ed
Merge branch 'diffbot' into diffbot-testing
Matt Wells2014-02-25 12:32:40 -08:00
cf6695f625
speed up getNumTotalRecs() by caching it basically for 2 seconds since pingserver.cpp calls it all the time.
Matt Wells2014-02-25 12:14:51 -08:00
b3ff7df904
Merge branch 'diffbot' into diffbot-testing
Matt Wells2014-02-25 11:05:46 -08:00
94a55bf9a6
fixes for new link info code so it doesn't bottleneck. got EFENCE_SIZE working so we can use efence on large allocs only so we don't go oom using it. might help finding some of the out of bounds writing going on.
Matt Wells2014-02-25 10:55:05 -08:00
ceb623bb8f
do not dedup bulks. only respider urls if error is tmp. mess with msg1 in spider.cpp so niceness is MAX_NICENESS and not 0 because it was not able to trigger a doledb dump.
Matt Wells2014-02-23 20:04:46 -08:00
b37b19ea4a
print comma before json item so we do not end in trailing comma ever
Matt Wells2014-02-19 10:04:49 -08:00
dda7648333
try to fix problem of crawls stopping when they shouldn't. seems like it might be doing the trick.
Matt Wells2014-02-19 00:51:46 -08:00
b48adc0542
try to fix crawls stopping too early
Matt Wells2014-02-18 10:28:48 -08:00
ae2aed7066
try to fix a few cores from deleting collections. try to spider urls again if user changes certain crawling parms. like regex, patterns, etc.
Matt Wells2014-02-18 09:44:15 -08:00
f942183104
ignore maxtocrawl for bulk jobs too
Matt Wells2014-02-16 22:24:17 -08:00
a4deb7ff08
exempt bulk jobs from maxtoprocess
Matt Wells2014-02-16 22:14:43 -08:00
9c9d5fff98
print out content type in caps with maroon bg in serps. use empty site patterns to mean no restriction, not "*" anymore for simplicity.
Matt Wells2014-02-16 22:47:02 -07:00