You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Ard Schrijvers <a....@onehippo.com> on 2010/10/01 10:09:55 UTC

Re: Newbee search text

On Thu, Sep 30, 2010 at 3:07 PM, Ista Pouss <is...@gmail.com> wrote:
> 2010/9/30 Ard Schrijvers <a....@onehippo.com>:
>> Hello,
>>
>> On Thu, Sep 30, 2010 at 11:06 AM, Ista Pouss <is...@gmail.com> wrote:
>>>
>>> On a result, is it possible to get the worlds around the result ? (I
>>> have a property with "The beautiful dog is black and white", I search
>>> "dog", I want "... beautiful DOG is black...")
>>
>> see [1]
>>
>
> Is it possible with an exemple with SQL2 ?

I don't know. Perhaps someone else knows.

>
>
>>>
>>> Is it possible to get some cloud tag automatically ?
>>
>> No
>>
>
> And with jackrabbit is it possible to use directly lucene ?

Not really, You can extend the SearchIndex however, or completely
implement your own

>
>
>>>
>>> Is it possible to have some score / pertinence in result ?
>>
>> double score = row.getValue(JCRConstants.JCR_SCORE).getDouble();
>>
>
> Thanks.
>
> But I don't find JCR_SCORE in spec 283 ? Is it my mistake, or is there
> some other spec ?

Jackrabbit has some more features than just core spec...not everything
is documented I guess

>
>
>>
>>>
>>> Is there a tutorial about plain text search with jackrabbit ?
>>
>> You can take a look at the specs (170/283) : the search part is pretty
>> well readable and explanatory
>>
>
> Please, a tutorial with some exemples and images :-)

Would indeed be great to have one :-) Sry, don't have one either :-)

Regards Ard

>
> Thanks.
>



-- 
Hippo
Europe  •  Amsterdam  Oosteinde 11  •  1017 WT Amsterdam  •  +31 (0)20 522 4466
USA  • San Francisco  185 H Street Suite B  •  Petaluma CA 94952-5100
•  +1 (707) 773 4646
Canada    •   Montréal  5369 Boulevard St-Laurent  •  Montréal QC H2T
1S5  •  +1 (514) 316 8966
www.onehippo.com  •  www.onehippo.org  •  info@onehippo.com

Re: Newbee search text

Posted by Ard Schrijvers <a....@onehippo.com>.
On Fri, Oct 1, 2010 at 10:30 AM, Ista Pouss <is...@gmail.com> wrote:
> 2010/10/1 Ard Schrijvers <a....@onehippo.com>:
>>
>> Not really, You can extend the SearchIndex however, or completely
>> implement your own
>>
>
> Super very intersting.
>
> But I've not see how to say to jackrabbit "please use
> MySearchIndexer"... I've double-check read
> http://wiki.apache.org/jackrabbit/SearchIndex,
> http://wiki.apache.org/jackrabbit/Search, and
> http://wiki.apache.org/jackrabbit/IndexingConfiguration... I don't
> find.

in the repository.xml you can configure in the <searchIndex> element a
different search index implementation,

Regards Ard

>
> (but I've found
> http://jackrabbit.apache.org/api/2.1/org/apache/jackrabbit/core/query/lucene/SearchIndex.html
> :-)
>
> Planty of thanks.
>



-- 
Hippo
Europe  •  Amsterdam  Oosteinde 11  •  1017 WT Amsterdam  •  +31 (0)20 522 4466
USA  • San Francisco  185 H Street Suite B  •  Petaluma CA 94952-5100
•  +1 (707) 773 4646
Canada    •   Montréal  5369 Boulevard St-Laurent  •  Montréal QC H2T
1S5  •  +1 (514) 316 8966
www.onehippo.com  •  www.onehippo.org  •  info@onehippo.com

Re: Newbee search text

Posted by Ista Pouss <is...@gmail.com>.
2010/10/1 Ard Schrijvers <a....@onehippo.com>:
>
> Not really, You can extend the SearchIndex however, or completely
> implement your own
>

Super very intersting.

But I've not see how to say to jackrabbit "please use
MySearchIndexer"... I've double-check read
http://wiki.apache.org/jackrabbit/SearchIndex,
http://wiki.apache.org/jackrabbit/Search, and
http://wiki.apache.org/jackrabbit/IndexingConfiguration... I don't
find.

(but I've found
http://jackrabbit.apache.org/api/2.1/org/apache/jackrabbit/core/query/lucene/SearchIndex.html
:-)

Planty of thanks.