You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Karthik N S <ka...@controlnet.co.in> on 2004/06/22 08:22:28 UTC
Delete Indexed from Merged Document
Dev Guys
Apologies Please....
How Do I DELETE an Indexed Document from a MERGED Index File
Can Some body Write me some Code Snippets on this... please
With Regards
Karthik
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org
Re: Use wildcards in field names?
Posted by Erik Hatcher <er...@ehatchersolutions.com>.
There is no built-in support to do wildcards with field names, but you
certainly could look up all the field names yourself and implement your
own wildcard scheme to dynamically build queries.
Erik
On Jun 24, 2004, at 10:48 AM, Hugo wrote:
> I was wondering if is it possible to use wild cards in fiel names?
>
> this is my case: i have a file that is term as respective descriptions,
> separated by a space, like this:
>
> bed place to sleep
> chair place to seat down
> glass recipient of liquids
> pen something to write with
> hat something to protect your hed
>
> and what i want is to perform searches in both sides of the file, the
> terms
> and the descriptions, and be able to use wildcards in both.
> Does any one know how to do this having just this file?
>
> I thougth naming the field after the term, and put the descriptions in
> the
> field, but then i can't use wildcards to search in fields names...
>
> I'd appreciate any kind of help!
>
> Thank you in advance, Hugo.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org
Use wildcards in field names?
Posted by Hugo <hu...@netcabo.pt>.
I was wondering if is it possible to use wild cards in fiel names?
this is my case: i have a file that is term as respective descriptions,
separated by a space, like this:
bed place to sleep
chair place to seat down
glass recipient of liquids
pen something to write with
hat something to protect your hed
and what i want is to perform searches in both sides of the file, the terms
and the descriptions, and be able to use wildcards in both.
Does any one know how to do this having just this file?
I thougth naming the field after the term, and put the descriptions in the
field, but then i can't use wildcards to search in fields names...
I'd appreciate any kind of help!
Thank you in advance, Hugo.
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org
Delete Indexed from Merged Document
Posted by Karthik N S <ka...@controlnet.co.in>.
Guys
Has Somebody out there tried DELETING/UPDATION of INDEXED Files from a
MERGED Index Format,
If HowTo do this Please Explain....
with regards
Karthik
-----Original Message-----
From: Karthik N S [mailto:karthik@controlnet.co.in]
Sent: Wednesday, June 23, 2004 9:24 AM
To: Lucene Users List
Subject: RE: Delete Indexed from Merged Document
Hi
Otis
The link u have specified displays on how to update an Indexed File [
Deleting the Old and then updating with new Ones']
But My Question to be more Specific is : -
When we MERGED more then 2 Indexed files [using
writer.addIndexes(luceneDirs)] , In such a case How to
Delete one of the Indexed files from the MERGED Index in
order to Insert an new updated one
Please have some sample code snippet in this regard......
with regards
Karthik
-----Original Message-----
From: Otis Gospodnetic [mailto:otis_gospodnetic@yahoo.com]
Sent: Tuesday, June 22, 2004 12:52 PM
To: Lucene Users List
Subject: Re: Delete Indexed from Merged Document
Hello Karthik,
Here is the answer: http://www.jguru.com/faq/view.jsp?EID=492423
Otis
--- Karthik N S <ka...@controlnet.co.in> wrote:
>
>
> Dev Guys
>
> Apologies Please....
>
> How Do I DELETE an Indexed Document from a MERGED Index File
>
> Can Some body Write me some Code Snippets on this... please
>
> With Regards
> Karthik
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org
RE: Delete Indexed from Merged Document
Posted by Karthik N S <ka...@controlnet.co.in>.
Hi
Otis
The link u have specified displays on how to update an Indexed File [
Deleting the Old and then updating with new Ones']
But My Question to be more Specific is : -
When we MERGED more then 2 Indexed files [using
writer.addIndexes(luceneDirs)] , In such a case How to
Delete one of the Indexed files from the MERGED Index in
order to Insert an new updated one
Please have some sample code snippet in this regard......
with regards
Karthik
-----Original Message-----
From: Otis Gospodnetic [mailto:otis_gospodnetic@yahoo.com]
Sent: Tuesday, June 22, 2004 12:52 PM
To: Lucene Users List
Subject: Re: Delete Indexed from Merged Document
Hello Karthik,
Here is the answer: http://www.jguru.com/faq/view.jsp?EID=492423
Otis
--- Karthik N S <ka...@controlnet.co.in> wrote:
>
>
> Dev Guys
>
> Apologies Please....
>
> How Do I DELETE an Indexed Document from a MERGED Index File
>
> Can Some body Write me some Code Snippets on this... please
>
> With Regards
> Karthik
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org
Re: Delete Indexed from Merged Document
Posted by Otis Gospodnetic <ot...@yahoo.com>.
Hello Karthik,
Here is the answer: http://www.jguru.com/faq/view.jsp?EID=492423
Otis
--- Karthik N S <ka...@controlnet.co.in> wrote:
>
>
> Dev Guys
>
> Apologies Please....
>
> How Do I DELETE an Indexed Document from a MERGED Index File
>
> Can Some body Write me some Code Snippets on this... please
>
> With Regards
> Karthik
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org