redlink-gmbh / chatpal-search Goto Github PK
View Code? Open in Web Editor NEWA Rocket.Chat package for search with chatpal backend
A Rocket.Chat package for search with chatpal backend
Should be hidden there
Without any configuration in the chatpal-setting (CHATPAL_CONFIG
), the UI for editing the configuration doesn't even show up. This is due to the fact that the configuration is immediately getting validated - and the default one can never be valid from the very beginning.
As a user, I know a particular property of a message, e. g. by whom and when it has been sent.
I want to use this property to limit the results
Either visualize the facets or accept a formatted search string, such as date:2017-12-12
After cloning the project from git and adding the module via meteor add chatpal:search
new files are created within the Rocket.Chat folder.
should all these files just be added as usual:
git add .
git commit -m "adding chatpal search"
or should this be added as a module
git submodule add https://github.com/redlink-gmbh/chatpal-search.git packages/chatpal-search
As a user, I don't really know the terms to search for
I want to enter sea
and get a proposal for searching for "search"
There is no autocompletion
Check google's type-ahead ;)
As an admin, I want to be able to modify the target URL for the search at runtime
The search requests are being routed to the new URL immediately
Request is routed to the old URL until the system is restartet
Currently, the search functionality searches in all existing channels. I would like to restrict the search to the current channel. Maybe a simple checkbox?
The results of Smarti 0.6.1 do not fit to ChatPal Search:
chatpal-search fails by executing:
/packages/chatpal-search/server/service/search_service.js
static alignResponse(result) {
const docs = [];
result.response.forEach(function(doc) {
docs.push({
type: doc.type,
subtype: 'c',
room: doc.meta_channel_id[0],
id: doc.message_id,
text: doc.message,
highlight_text: result.highlighting[doc.id] ? result.highlighting[doc.id].message[0] : undefined,
user: doc.user_id,
date: doc.time
});
return {
numFound: result.meta.numFound,
start: result.meta.start,
docs
};
}
});
The Smarti response of:
http://localhost:8080/rocket/localhost/search?sort=time%20desc&fl=id,message_id,meta_channel_id,user_id,time,message,type&hl=true&hl.fl=message&df=message&q=braunschweig
does not return the JSON-Format expected by chatpal search.
E.g.
result.response
is undefinedNot quiet sure if this has to be solved within chatpal or within Smarti.
I also commented this in:
redlink-gmbh/smarti#121
In the backend.js file in lines 17 and 23 you access config.baseUrl, but config is unknown at this point.
Hi
We use Сhatpal global search, and we got the problem - the result page doesn't have scroll bar, so we can't see all the results.
Can we fix it?
Matomo, formerly known as Piwik, is able to track site searches. It would be beneficial if Motomo can be used to analyze searches by chatpal in Rocket.Chat. Keywords should be tracked and mapped to users in order to know what people are looking for.
You can find a documentation on Matomos site search capabilities here: https://matomo.org/docs/site-search/
As a user, I'm lazy and don't want to type the complete word
I want to find search
also when only entering sea
Only complete words are found, unless I enter an *
as suffix
As this has an impact on performance, add a configuration option. I don't know whether this should be a user preference of a global one though
As an admin, I want to be able to deactivate Chatpal manually.
If this has been done, the search input box shall not be visible
As a administrator who has no Solr Know-how, I want to be able to set up Chatpal search quickly on my cluster.
Suggestion: Provider a dockerfile with a pre-configured Solr-core-configuration matching Chatpal-search's requirement
I searched for a message which was posted in livechat, but I was not able to find it by chatpal.
It would be really cool if chatpal is able to search through livechat rooms and messages as well. Currently this option is not supported - or I am not able to find a way to do it ;-)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.