You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Anil <an...@gmail.com> on 2016/11/02 11:10:44 UTC

Text query

HI,

What are the lucene features supported by Ignite Text query ?

i see case insensitive term search is working and regex is not working.
Could you please point me the complete documentation of ignite text query
features ?

Thanks.

Re: Text query

Posted by vkulichenko <va...@gmail.com>.
Hi,

To my knowledge there are no such limitations. Can you clarify why regex and
others do not work for you?

-Val



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Text-query-tp8661p8753.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Text query

Posted by Anil <an...@gmail.com>.
Thanks Val and Andrey.

I will check this.

Thanks.

On 31 January 2017 at 14:43, Andrey Mashenkov <am...@gridgain.com>
wrote:

> Hi Anil,
>
> Unfortunatelly, lucene index creation is hardcoded in Ignite and there is
> no workaround here.
> However you, are free to create a Jira ticket and propose a solution.
>
> It looks like we should add ability to provide Lucene configuration within
> Ignite CacheConfiguration, but I  wouldn't like to mix and have dependency
> of foreign API.
>
> Another way here is to implement your own IndexingSpi.
>
>
> On Sat, Jan 28, 2017 at 2:59 AM, vkulichenko <
> valentin.kulichenko@gmail.com> wrote:
>
>> Got it. I believe there is no mechanism to inject custom analyzer. I'm
>> not a
>> big Lucene expert, do you have an example of how this can be done?
>>
>> -Val
>>
>>
>>
>> --
>> View this message in context: http://apache-ignite-users.705
>> 18.x6.nabble.com/Text-query-tp8661p10296.html
>> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>>
>
>

Re: Text query

Posted by Andrey Mashenkov <am...@gridgain.com>.
Hi Anil,

Unfortunatelly, lucene index creation is hardcoded in Ignite and there is
no workaround here.
However you, are free to create a Jira ticket and propose a solution.

It looks like we should add ability to provide Lucene configuration within
Ignite CacheConfiguration, but I  wouldn't like to mix and have dependency
of foreign API.

Another way here is to implement your own IndexingSpi.


On Sat, Jan 28, 2017 at 2:59 AM, vkulichenko <va...@gmail.com>
wrote:

> Got it. I believe there is no mechanism to inject custom analyzer. I'm not
> a
> big Lucene expert, do you have an example of how this can be done?
>
> -Val
>
>
>
> --
> View this message in context: http://apache-ignite-users.
> 70518.x6.nabble.com/Text-query-tp8661p10296.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>

Re: Text query

Posted by vkulichenko <va...@gmail.com>.
Got it. I believe there is no mechanism to inject custom analyzer. I'm not a
big Lucene expert, do you have an example of how this can be done?

-Val



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Text-query-tp8661p10296.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Text query

Posted by vkulichenko <va...@gmail.com>.
Hi,

Please properly subscribe to the mailing list so that the community can
receive email notifications for your messages. To subscribe, send empty
email to user-subscribe@ignite.apache.org and follow simple instructions in
the reply.


avpdiver wrote
> Is there possibility to use my custom lucene analyzer in indexing and
> querying?

The answer is no, there is currently no easy way to do this. The only thing
you can do is implement your own IndexingSpi, but this will require to
implement indexing and querying logic from scratch.

Why do you want to do this? Are there any issues you have with the text
queries in Ignite?

-Val



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Text-query-tp8661p10252.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Text query

Posted by Anil <an...@gmail.com>.
i see following

Supports –

1. Case insensitive term search (global and specific field)

2. Boolean queries

3. Wildcard search


Not supports –

1. Regex

2. Stemming

3. Synonyms

4. Highlight (obviously) - it makes no sense for ignite


Can we configure tokenizer and filters for query and index analyzers ?


Thanks for your help.





On 2 November 2016 at 16:40, Anil <an...@gmail.com> wrote:

> HI,
>
> What are the lucene features supported by Ignite Text query ?
>
> i see case insensitive term search is working and regex is not working.
> Could you please point me the complete documentation of ignite text query
> features ?
>
> Thanks.
>