to add multiple untokenized fields named 'tag', each holding one tag.
Regards,
Daan
-Original Message-
From: Borja Martín [mailto:[EMAIL PROTECTED]
Sent: vrijdag 24 oktober 2008 12:59
To: java-user@lucene.apache.org
Subject: tag search
Hi,
I want to index a document that h
You either need to write a tokenizer that breaks on comma or you can
do as Daan suggested.
On Oct 24, 2008, at 6:58 AM, Borja Martín wrote:
Hi,
I want to index a document that has a field called 'tags' that looks
like that : 'foo, foo bar'
The comma is the separator for each tag, so I have a
rja Martín [mailto:[EMAIL PROTECTED]
Sent: vrijdag 24 oktober 2008 12:59
To: java-user@lucene.apache.org
Subject: tag search
Hi,
I want to index a document that has a field called 'tags' that looks
like that : 'foo, foo bar'
The comma is the separator for each tag, so I have
Hi Borja,
Try to add multiple untokenized fields named 'tag', each holding one tag.
Regards,
Daan
> -Original Message-
> From: Borja Martín [mailto:[EMAIL PROTECTED]
> Sent: vrijdag 24 oktober 2008 12:59
> To: java-user@lucene.apache.org
> Subject: tag search
&
Hi,
I want to index a document that has a field called 'tags' that looks
like that : 'foo, foo bar'
The comma is the separator for each tag, so I have a tag with the value
'foo' and another one with 'foo bar'
What I want to do is to be able to retrieve the documents with certain
tag(only one tag p