Giter Site home page Giter Site logo

mbox_tools's Introduction

Searchisko Build Status Coverage Status

Searchisko is an open source project that allows to quickly build secured role-based REST service to index, search, retrieve and aggregate content from heterogeneous sources. It can attribute content to people and projects regardless of where the content originated.

Searchisko is Java EE 6 application which runs in the JBoss EAP 6 application server to provide REST API, and using Apache Lucene based full-text search engine and relational database in the background to provide powerful content retrieval, full-text search and aggregation functions.

Searchisko High-level View

Why have we created it?

Initially Searchisko was intended to provide a unified search experience across the multiple applications hosted at jboss.org but over time we realised it could also provide a powerful way to understand how people contribute to upstream projects using these applications and others on the internet.

Documentation

Anyone who would like to use Searchisko or implement a REST client for Searchisko can learn more in the following documentation:

Other resources

License

Copyright 2012 Red Hat Inc. and/or its affiliates and other contributors
as indicated by the @authors tag.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

mbox_tools's People

Contributors

lukas-vlcek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

jdsteja

mbox_tools's Issues

More flexible task configuration

Currently, tasks are configured via command line parameters. As we add more parameters this is becoming very inflexible. It would be better to provide a single configuration file for task. It can be JSON with flexible structure.

Tests using mbox files can fail

We need to make sure that tests are platform independent which means we can not rely on default encoding when reading files. See #17 for possible fix.

[mbox_indexer] URL encode message-id

We need to make sure URL is correctly encoded when doing POST requests.

For example we have message-id (which is part of URL): <!&!AAAAAAAAAAAYAAAAAAAAACk/g63vVARCihkFWp4JeZjCgAAAEAAAAHeKjGZ2yLZMuW64fCNpiloBAAAAAA==@ots.gr>

Split "From:" value into "name" and "email" parts

Currently mbox_parser extract author identifier from header From: field and put it into JSON field author. It would be better if it can split the original value into name and email part and store each into specific JSON field.

(This will allow more precise mapping to Contributors in Searchisko because it is better if it is done only via email value only and not via name+email. The name part can be screwed up due to various charset encoding issues.)

Allow for skip processing of listed Message-Id

When processing mbox archive we need to allow for skip of messages with given Message-Id. It seems that messages can be filtered out by mail list admin (for example spam) and such emails are then excluded from public mail archive. But the problem is that we also need to ignore these emails when processing internal mail archive file and specifically skip counter that is used to generate valid URL to public mail list.

For example hibernate-dev mail list contains such entries. They are not found in the public archive but still present in the internal archive file. When generating valid URLs from internal archive file we need to skip these messages and do not increment counter.

[mbox_indexer] Remove records from exludeMessageIdList after they are used

When exclude list is provided we have to parse message in the "main" thread before it is handed to parallel thread for other processing (this is because we need to keep counter in synch with processed emails).

However, assuming each Message-Id is unique within mbox archive we can remove records from exclude list once they are used. This means that once all records from exclude list are used the list become empty and we could switch to more performant threaded processing.

Related issue #12

Allow for skip processing of listed Message-Id but keep counting

Similarly to #12 we need option to exclude message-ids from processing but keep counting. Typically this involve SPAM messages that haven't been removed by mail list admin and they are still part of public mail list archive.

We can easily identify such stuff using search (like "viagra") and then exclude these messages from indexing.

(There is bunch of such content in jbossws-dev and jbossws-users mail lists)

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.