Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cd spider indexer -c sphinx.conf hash searchd -c sphinx.conf #30

Open
edisonchan178 opened this issue Dec 27, 2019 · 3 comments
Open

cd spider indexer -c sphinx.conf hash searchd -c sphinx.conf #30

edisonchan178 opened this issue Dec 27, 2019 · 3 comments

Comments

@edisonchan178
Copy link

cd spider indexer -c sphinx.conf hash searchd -c sphinx.conf
这一步似乎不对?
能不能具体一下,分开这个步骤
谢谢

@edisonchan178
Copy link
Author

另外还出现这个错误“
failed to open /data/bt/index/db/hash_delta.sph: No such file or directory; NOT SERVING

@zc640618
Copy link

zc640618 commented Nov 2, 2020

cd spider
indexer -c sphinx.conf hash
searchd -c sphinx.conf

@CometNet
Copy link

indexer -c sphinx.conf hash
Sphinx 3.4.1 (commit efbcc65)
Copyright (c) 2001-2021, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)

using config file 'sphinx.conf'...
WARNING: key 'csvpipe_attr_timestamp' was permanently removed from Sphinx configuration. Refer to documentation for details.
WARNING: key 'csvpipe_attr_timestamp' was permanently removed from Sphinx configuration. Refer to documentation for details.
indexing index 'hash'...
(node:12285) [MONGODB DRIVER] Warning: Current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.
ERROR: index 'hash': source 'src1': not all columns found (found=5, total=4, line=1).
total 0 docs, 0.0 Kb
total 0.6 sec, 0.0 Kb/sec, 0 docs/sec
events.js:174
throw er; // Unhandled 'error' event
^

Error: write EPIPE
at afterWriteDispatched (internal/stream_base_commons.js:78:25)
at writeGeneric (internal/stream_base_commons.js:73:3)
at Socket._writeGeneric (net.js:714:5)
at Socket._write (net.js:726:8)
at doWrite (_stream_writable.js:415:12)
at writeOrBuffer (_stream_writable.js:399:5)
at Socket.Writable.write (_stream_writable.js:299:11)
at Cursor.stream.on (/home/ssbc/spider/dump.js:28:28)
at Cursor.emit (events.js:198:13)
at Cursor.Readable.read (_stream_readable.js:505:10)
Emitted 'error' event at:
at errorOrDestroy (internal/streams/destroy.js:107:12)
at onwriteError (_stream_writable.js:430:5)
at onwrite (_stream_writable.js:461:5)
at _destroy (internal/streams/destroy.js:49:7)
at Socket.dummyDestroy [as _destroy] (internal/process/stdio.js:17:5)
at Socket.destroy (internal/streams/destroy.js:37:8)
at afterWriteDispatched (internal/stream_base_commons.js:78:17)
at writeGeneric (internal/stream_base_commons.js:73:3)
at Socket._writeGeneric (net.js:714:5)
at Socket._write (net.js:726:8)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants