accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Vines <vi...@apache.org>
Subject Re: Doc-Partitioned Index with Wildcards
Date Tue, 22 Jan 2013 20:43:15 GMT
You can use a modified intersecting iterator which matches on the prefix go
instead of doing a full match.


On Tue, Jan 22, 2013 at 3:40 PM, Christopher <ctubbsii@apache.org> wrote:

> You could store n-grams of terms, to support some limited wildcard
> searching.
>
>
>
> --
> Christopher L Tubbs II
> http://gravatar.com/ctubbsii
>
>
> On Tue, Jan 22, 2013 at 12:13 PM, Slater, David M. <
> David.Slater@jhuapl.edu> wrote:
>
>> I’m trying to set up a document partitioned index that can handle a
>> ranges of terms or wildcards for queries.****
>>
>> ** **
>>
>> So, if instead of querying “the” AND “green” AND “goblin”, it could
>> handle “the” AND “green” AND “go*” (which would also return “goddess”,
for
>> instance). Or a search that used “the” AND “d”-“f” AND “goblin”,
handling
>> all values between “d” and “f”.****
>>
>> ** **
>>
>> Using a typical document-partitioned index, I’m guessing that you might
>> first resolve the wildcard into a list of terms, and then do a query in the
>> normal fashion. However, this seems rather inefficient. Is there a separate
>> data structure that would be recommended to handle this sort of additional
>> functionality?****
>>
>> ** **
>>
>> Thanks,
>> David****
>>
>
>

Mime
View raw message