Re: OAK-4348 - intent to add oak-lucene-mt

2017-08-25 Thread Tommaso Teofili
I've realised we can actually name it oak-search-mt anyway, as we aim to
just implement existing SPIs / plugin; if they are the same or not it
doesn't make too much difference for the name itself.
I'll see if we can make FulltextQueryTermsProvider somehow work with Solr
in the context of OAK-3336 though, in the meantime I'll change the module
name into oak-search-mt.

Regards,
Tommaso


Il giorno ven 25 ago 2017 alle ore 10:02 Tommaso Teofili <
tommaso.teof...@gmail.com> ha scritto:

> yes, of course it can work the same way with the Solr index, provided we
> can generalize the FulltextQueryTermsProvider API in a way that avoids any
> additional network roundtrips (so it needs to be done before "sending" the
> query to Solr).
>
> In terms of backward compatibility we will need to see how to possibly
> keep the same package for FulltextQueryTermsProvider and make it available
> to Solr.
>
> Thanks,
> Tommaso
>
> Il giorno ven 25 ago 2017 alle ore 09:50 Chetan Mehrotra <
> chetan.mehro...@gmail.com> ha scritto:
>
>> This looks interesting!.
>>
>> Is this bound to Lucene or can possibly be used for Solr also (if we
>> generalize FulltextQueryTermsProvider concept). If yes then we can
>> name the module as oak-search-mt
>> Chetan Mehrotra
>>
>>
>> On Fri, Aug 25, 2017 at 1:14 PM, Tommaso Teofili
>>  wrote:
>> > Hi all,
>> >
>> > as part of OAK-4348 [1] some time ago I had developed an extension in
>> > oak-lucene to expand search terms using machine translated term, in
>> order
>> > to provide cross language search capabilities to Oak (via
>> > FulltextQueryTermsProvider API [2]).
>> > In the context of a better modularized Oak, I was thinking to provide
>> such
>> > an extension as a separate module (e.g. called oak-lucene-mt), which
>> would
>> > be optional.
>> > In order to use it a language pack would need to be downloaded, for
>> example
>> > from [3].
>> > Please let me know if there's any concern or feedback.
>> >
>> > Regards,
>> > Tommaso
>> >
>> > [1] : https://issues.apache.org/jira/browse/OAK-4348
>> > [2] :
>> >
>> https://github.com/apache/jackrabbit-oak/blob/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/spi/FulltextQueryTermsProvider.java
>> > [3] : https://cwiki.apache.org/confluence/display/JOSHUA/Language+Packs
>>
>


Re: OAK-4348 - intent to add oak-lucene-mt

2017-08-25 Thread Tommaso Teofili
yes, of course it can work the same way with the Solr index, provided we
can generalize the FulltextQueryTermsProvider API in a way that avoids any
additional network roundtrips (so it needs to be done before "sending" the
query to Solr).

In terms of backward compatibility we will need to see how to possibly keep
the same package for FulltextQueryTermsProvider and make it available to
Solr.

Thanks,
Tommaso

Il giorno ven 25 ago 2017 alle ore 09:50 Chetan Mehrotra <
chetan.mehro...@gmail.com> ha scritto:

> This looks interesting!.
>
> Is this bound to Lucene or can possibly be used for Solr also (if we
> generalize FulltextQueryTermsProvider concept). If yes then we can
> name the module as oak-search-mt
> Chetan Mehrotra
>
>
> On Fri, Aug 25, 2017 at 1:14 PM, Tommaso Teofili
>  wrote:
> > Hi all,
> >
> > as part of OAK-4348 [1] some time ago I had developed an extension in
> > oak-lucene to expand search terms using machine translated term, in order
> > to provide cross language search capabilities to Oak (via
> > FulltextQueryTermsProvider API [2]).
> > In the context of a better modularized Oak, I was thinking to provide
> such
> > an extension as a separate module (e.g. called oak-lucene-mt), which
> would
> > be optional.
> > In order to use it a language pack would need to be downloaded, for
> example
> > from [3].
> > Please let me know if there's any concern or feedback.
> >
> > Regards,
> > Tommaso
> >
> > [1] : https://issues.apache.org/jira/browse/OAK-4348
> > [2] :
> >
> https://github.com/apache/jackrabbit-oak/blob/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/spi/FulltextQueryTermsProvider.java
> > [3] : https://cwiki.apache.org/confluence/display/JOSHUA/Language+Packs
>


Re: OAK-4348 - intent to add oak-lucene-mt

2017-08-25 Thread Chetan Mehrotra
This looks interesting!.

Is this bound to Lucene or can possibly be used for Solr also (if we
generalize FulltextQueryTermsProvider concept). If yes then we can
name the module as oak-search-mt
Chetan Mehrotra


On Fri, Aug 25, 2017 at 1:14 PM, Tommaso Teofili
 wrote:
> Hi all,
>
> as part of OAK-4348 [1] some time ago I had developed an extension in
> oak-lucene to expand search terms using machine translated term, in order
> to provide cross language search capabilities to Oak (via
> FulltextQueryTermsProvider API [2]).
> In the context of a better modularized Oak, I was thinking to provide such
> an extension as a separate module (e.g. called oak-lucene-mt), which would
> be optional.
> In order to use it a language pack would need to be downloaded, for example
> from [3].
> Please let me know if there's any concern or feedback.
>
> Regards,
> Tommaso
>
> [1] : https://issues.apache.org/jira/browse/OAK-4348
> [2] :
> https://github.com/apache/jackrabbit-oak/blob/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/spi/FulltextQueryTermsProvider.java
> [3] : https://cwiki.apache.org/confluence/display/JOSHUA/Language+Packs


OAK-4348 - intent to add oak-lucene-mt

2017-08-25 Thread Tommaso Teofili
Hi all,

as part of OAK-4348 [1] some time ago I had developed an extension in
oak-lucene to expand search terms using machine translated term, in order
to provide cross language search capabilities to Oak (via
FulltextQueryTermsProvider API [2]).
In the context of a better modularized Oak, I was thinking to provide such
an extension as a separate module (e.g. called oak-lucene-mt), which would
be optional.
In order to use it a language pack would need to be downloaded, for example
from [3].
Please let me know if there's any concern or feedback.

Regards,
Tommaso

[1] : https://issues.apache.org/jira/browse/OAK-4348
[2] :
https://github.com/apache/jackrabbit-oak/blob/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/spi/FulltextQueryTermsProvider.java
[3] : https://cwiki.apache.org/confluence/display/JOSHUA/Language+Packs