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 should obtain LUKE and check everything is layed out correctly
> in your index.
> Secondly maybe a Wildcard/prefix query or termquery.forexample(termquery):
>
> TermQuery heTerm = new TermQuery(
>            new Term("p",
>                "x"));
>    TermQuery sheTerm = new TermQuery(
>            new Term("p",
>                "xx"));
>    TermQuery theyTerm = new TermQuery(
>            new Term("p",
>                "xxx"));
>
> I'm sure the folks on here will be able to come up with a more efficient
> method.Try obtaining Lucene in Action or look at the examples at
> http://lucenebook.com/
> cheers,
> Malcolm Clark
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Reza Ghaffaripour
www.rezaghp.com

Reply via email to