t; Best
> Erick
>
> On Sat, Oct 25, 2008 at 4:12 AM, agatone <[EMAIL PROTECTED]> wrote:
>
>>
>> Yeah but if it happens that for a certain document field1 has only one
>> value
>> and in that case I can't know it is intended as a multiple. in that case
&g
t and you have
> Field[] adds = doc.getFields("field1");
>
>
> adds.size() should == 3
>
> whenever adds.size() > 1, you can know it has multiple entries
>
> I wasn't suggesting that you ever add empty fields, and I don't think an
> empty
>
(String field),
> which returns a list corresponding to every Document.add() you did
> originally.
>
> Alternatively, you could always index a companion field that had the
> count of times you called Document.add() on a particular field.
>
> Best
> Erick
>
>
Hello,
I know I can store multiple values under same field and I can later retrieve
all those values. But the problem I have is a bit structure related. When
I'm reading those fields (that usually have more than one value) it happens
that it has only one value and I cannot know if that field is m
Thank you all for your replies.
I didn't expect so many of them - all appreciated.
Now I have to go detailed into every one of them and write down stuff.
Thank you again.
--
View this message in context:
http://www.nabble.com/Lucene-vs.-Database-tp19755932p19774692.html
Sent from the Lucene -
Hi,
I asked this question already on "lucene-general" list but also got advised
to ask here too.
I'm working on a project that has big database in the background (some
tables have about 150 rows). We decided to use Lucene for "faster"
search. Our search works similar as all searches: you wri