On Dec 7, 2005, at 8:48 AM, Reza Ghaffaripour wrote:
I think having different documents will not be a good idea.
for me each xml is an ebook. and "p" means paragraph.
i have hundereds of paragraphs in every ebook. and i think i should
keep
each ebook in a single
document. am i right ?
How
That's what I have, loads of different tags and (abstract) tags etc
in each xml document so a lucene document for each is okay.
malcolm
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PRO
I think having different documents will not be a good idea.
for me each xml is an ebook. and "p" means paragraph.
i have hundereds of paragraphs in every ebook. and i think i should keep
each ebook in a single
document. am i right ?
On 12/7/05, Malcolm <[EMAIL PROTECTED]> wrote:
>
>
> Firstly you
Firstly you should obtain LUKE and check everything is layed out correctly
in your index.
Secondly maybe a Wildcard/prefix query or termquery.for example(termquery):
TermQuery heTerm = new TermQuery(
new Term("p",
"x"));
TermQuery sheTerm = new TermQuery(
ne
On Dec 7, 2005, at 3:49 AM, Reza Ghaffaripour wrote:
hi all,
im new to lucene. i have an xml with repeating tags.something like :
x
xx
xxx
I add the "p" field as follows:
myDocument.add(Field.Text("p", "x"));
myDocument.add(Field.Text("p", "xx"));
but when i search for "x" it returns t