Giter Site home page Giter Site logo

Improve search about aleph HOT 10 OPEN

merces avatar merces commented on August 20, 2024
Improve search

from aleph.

Comments (10)

jseidl avatar jseidl commented on August 20, 2024

This works. Maybe not as everyone expects. It uses the elasticsearch query
language.

Most of the problem is that the mapping doesn't exists for plugins and such
On Jun 6, 2015 9:44 PM, "Pr0teus" [email protected] wrote:

When we search for any string in the "Search" field (left sidebar) does
not bring any results.

β€”
Reply to this email directly or view it on GitHub
#32.

from aleph.

turicas avatar turicas commented on August 20, 2024

You may use ES Query DSL or Lucene query syntax. The Python's ElasticSearch API documentation may help also.
To test, you can open an IPython session and try it interactively:

from aleph.datastore import es
es.search(...)
es.lucene_search(...)

from aleph.

jseidl avatar jseidl commented on August 20, 2024

Exactly. For full text search the mapping must be implemented correctly. I
think we need documentation of the search function and also an whitelist
filter on the input.

Merces, since you're good with regex you could try to make this whitelist
rule ;)
On Jun 7, 2015 4:40 PM, "Álvaro Justen" [email protected] wrote:

You may use ES Query DSL
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-query.html
or Lucene query syntax
https://lucene.apache.org/core/2_9_4/queryparsersyntax.html. The Python's
ElasticSearch API documentation
https://elasticsearch-py.readthedocs.org/en/master/api.html#elasticsearch
may help also.
To test, you can open an IPython session and try it interactively:

from aleph.datastore import es
es.search(...)
es.lucene_search(...)

β€”
Reply to this email directly or view it on GitHub
#32 (comment).

from aleph.

danilovazb avatar danilovazb commented on August 20, 2024

I'll work with this issue.

from aleph.

slayerlab avatar slayerlab commented on August 20, 2024

me too.

from aleph.

loganbr avatar loganbr commented on August 20, 2024

\0/

from aleph.

merces avatar merces commented on August 20, 2024

I renamed the issue. Thank you all for working on this.

from aleph.

danilovazb avatar danilovazb commented on August 20, 2024

Whats's guys, all right?

I was editing at the settings.py file on the server made available at the lecture about Aleph, these lines are what?

ELASTICSEARCH_URI = "127.0.0.1:9200"
ELASTICSEARCH_INDEX = 'samples'
ELASTICSEARCH_TRACE = False

Aleph does not run on port 5000?
He's with URI on port 9200, which is the door?

ELASTICSEARCH_TRACE, because it is False?

Tks ;)

from aleph.

jseidl avatar jseidl commented on August 20, 2024

5000 is the Web Interface port. 9200 is elasticsearch which is the
datastore. The aleph parsing daemon doesn't runs in any port
On Jun 11, 2015 4:21 PM, "Danilo Vaz" [email protected] wrote:

Whats's guys, all right?

I was editing at the settings.py file on the server made available at the
lecture about Aleph, these lines are what?

ELASTICSEARCH_URI = "127.0.0.1:9200"
ELASTICSEARCH_INDEX = 'samples'
ELASTICSEARCH_TRACE = False

Aleph does not run on port 5000?
He's with URI on port 9200, which is the door?

ELASTICSEARCH_TRACE, because it is False?

Tks ;)

β€”
Reply to this email directly or view it on GitHub
#32 (comment).

from aleph.

danilovazb avatar danilovazb commented on August 20, 2024

Hmmm.....okay...

Tks @jseidl

Someone managed to do some kind of research?

from aleph.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.