Yes i found that for console. but i didnt find out how to use it for java 
api yet

Am Dienstag, 20. Mai 2014 15:05:54 UTC+2 schrieb Enrico Risa:
>
> Yes we have a METADATA field when creating the index and you can pass a 
> different analyzer.
>
> As i wrote here, i used the EnglishAnalyzer
>
> https://github.com/orientechnologies/orientdb-lucene/wiki/Full-Text-Index
>
>
> 2014-05-20 14:20 GMT+02:00 Montrazul <tigge...@googlemail.com<javascript:>
> >:
>
>> Will there maybe be an option to configure if lucene should use 
>> the standardanalyzer or the keyanalyzer?
>>
>> Am Dienstag, 20. Mai 2014 14:14:29 UTC+2 schrieb Artem Orobets:
>>>
>>> Oh sorry, I meant it is not implemented right now. But I've added 
>>> comment to the bug to implement it.
>>>
>>> Best regards,
>>> Artem Orobets
>>>
>>> * Orient Technologiesthe Company behind OrientDB*
>>>  
>>>
>>> 2014-05-20 11:59 GMT+03:00 Riccardo Tasso <riccard...@gmail.com>:
>>>
>>>>  I mean: can I pass to FULLTEXT index some configuration at creation 
>>>> time? I can't see any documentation about it.
>>>>
>>>> Thanks,
>>>>   Riccardo
>>>>
>>>>
>>>> 2014-05-20 10:37 GMT+02:00 Artem Orobets <eni...@gmail.com>:
>>>>
>>>>  It seems it is reasonable for all apostrophe usages, so why not
>>>>>
>>>>> Best regards,
>>>>> Artem Orobets
>>>>>
>>>>> *Orient Technologies the Company behind OrientDB*
>>>>>
>>>>>
>>>>> 2014-05-20 11:11 GMT+03:00 Riccardo Tasso <riccard...@gmail.com>:
>>>>>
>>>>> Is it possible to configure the FULLTEXT index to create two keys for 
>>>>>> apostrophed keywords?
>>>>>> For example "Juliet's" will be indexed both as "juliet", both as 
>>>>>> "juliets". Or at least indexed only as "juliet".
>>>>>>
>>>>>> Thanks,
>>>>>>    Riccardo
>>>>>>
>>>>>>
>>>>>> 2014-05-20 10:08 GMT+02:00 Riccardo Tasso <riccard...@gmail.com>:
>>>>>>
>>>>>> Yes it does,
>>>>>>> here's the bug report: https://github.com/
>>>>>>> orientechnologies/orientdb/issues/2358
>>>>>>>  
>>>>>>>
>>>>>>> 2014-05-20 10:01 GMT+02:00 Artem Orobets <eni...@gmail.com>:
>>>>>>>
>>>>>>>  Hi Riccardo,
>>>>>>>>
>>>>>>>> Looks like a bug. Probably the reason is an apostrophe, does it 
>>>>>>>> works with 'chamber' key?
>>>>>>>> Could you create a bug 
>>>>>>>> report<https://github.com/orientechnologies/orientdb/issues/new>
>>>>>>>> ?
>>>>>>>>
>>>>>>>> Best regards,
>>>>>>>> Artem Orobets
>>>>>>>>
>>>>>>>> * Orient Technologiesthe Company behind OrientDB*
>>>>>>>>  
>>>>>>>>
>>>>>>>> 2014-05-20 10:53 GMT+03:00 Riccardo Tasso <riccard...@gmail.com>:
>>>>>>>>
>>>>>>>>  Hi, I'll try to explain briefly what seems a bug to me:
>>>>>>>>>
>>>>>>>>> I have a hierarchy of classes, but I want a fulltext index (case 
>>>>>>>>> insensitive) over all of them for the same field "label", here I 
>>>>>>>>> create:
>>>>>>>>> alter property V.label COLLATE ci;
>>>>>>>>> create index V-label-fulltext ON V (label) FULLTEXT;
>>>>>>>>>
>>>>>>>>> Then I try the following test:
>>>>>>>>> SELECT FROM index:V-label-fulltext WHERE key = 'juliets'           
>>>>>>>>>  
>>>>>>>>>
>>>>>>>>> ----+------+-------+------
>>>>>>>>> #   |@RID  |key    |rid   
>>>>>>>>> ----+------+-------+------
>>>>>>>>> 0   |#-1:-1|juliets|#25:0 
>>>>>>>>> 1   |#-1:-1|juliets|#16:22
>>>>>>>>> 2   |#-1:-1|juliets|#16:25
>>>>>>>>> ----+------+-------+------
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> The first record is:
>>>>>>>>> select label, @class from #25:0
>>>>>>>>>
>>>>>>>>> ----+-----+----------------+-------
>>>>>>>>> #   |@RID |label           |class  
>>>>>>>>> ----+-----+----------------+-------
>>>>>>>>> 0   |#-2:1|Juliet's chamber|Feature
>>>>>>>>> ----+-----+----------------+-------
>>>>>>>>>
>>>>>>>>> But something doesn't work:
>>>>>>>>> SELECT @rid as rid FROM Feature WHERE label containsText 'juliets'
>>>>>>>>>
>>>>>>>>> 0 item(s) found. Query executed in 0.003 sec(s).
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> The explain says:
>>>>>>>>> explain SELECT @rid as rid FROM Feature WHERE label containsText 
>>>>>>>>> 'juliets'
>>>>>>>>>
>>>>>>>>> Profiled command '{compositeIndexUsed:1,involvedIndexes:[1],
>>>>>>>>> indexReads:3,fullySortedByIndex:false,indexIsUsedInOrderBy:false,
>>>>>>>>> current:#16:25,documentAnalyzedCompatibleClass:1,elapsed:0.887353,
>>>>>>>>> resultType:collection,resultSize:0}' in 0,001000 sec(s):
>>>>>>>>> {"@type":"d","@version":0,"compositeIndexUsed":1,"
>>>>>>>>> involvedIndexes":["V-label-fulltext"],"indexReads":3,"
>>>>>>>>> fullySortedByIndex":false,"indexIsUsedInOrderBy":false,"
>>>>>>>>> current":"#16:25","documentAnalyzedCompatibleClas
>>>>>>>>> s":1,"elapsed":0.887353,"resultType":"collection","
>>>>>>>>> resultSize":0,"@fieldTypes":"compositeIndexUsed=l,
>>>>>>>>> involvedIndexes=e,indexReads=l,documentAnalyzedCompatibleClas
>>>>>>>>> s=l,elapsed=f"}
>>>>>>>>>
>>>>>>>>> What's wrong?
>>>>>>>>> Cheers,
>>>>>>>>>    Riccardo
>>>>>>>>>
>>>>>>>>> P.S. I can't use lucene indexing engin by now, I'm sorry
>>>>>>>>>  
>>>>>>>>> -- 
>>>>>>>>>
>>>>>>>>> --- 
>>>>>>>>> You received this message because you are subscribed to the Google 
>>>>>>>>> Groups "OrientDB" group.
>>>>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>>>>> send an email to orient-databa...@googlegroups.com.
>>>>>>>>>
>>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>>>
>>>>>>>>
>>>>>>>>  -- 
>>>>>>>>
>>>>>>>> --- 
>>>>>>>> You received this message because you are subscribed to the Google 
>>>>>>>> Groups "OrientDB" group.
>>>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>>>> send an email to orient-databa...@googlegroups.com.
>>>>>>>>
>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>  -- 
>>>>>>
>>>>>> --- 
>>>>>> You received this message because you are subscribed to the Google 
>>>>>> Groups "OrientDB" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>> send an email to orient-databa...@googlegroups.com.
>>>>>>
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>
>>>>>
>>>>>  -- 
>>>>>
>>>>> --- 
>>>>> You received this message because you are subscribed to the Google 
>>>>> Groups "OrientDB" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>>> an email to orient-databa...@googlegroups.com.
>>>>>
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>>  -- 
>>>>
>>>> --- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "OrientDB" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to orient-databa...@googlegroups.com.
>>>>
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>  -- 
>>
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "OrientDB" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to orient-databa...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to