Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-User

listing all fields used in any documents

 

 

Lucene java-user RSS feed   Index | Next | Previous | View Threaded


v.sevel at lombardodier

Nov 13, 2009, 8:44 AM

Post #1 of 4 (465 views)
Permalink
listing all fields used in any documents

Hi,

I am indexing log4j/logback/JUL logging events. my documents includes
regular fields (eg: logger, message, date, ...) and custom fields that
applications choose to use (eg: MDC).
I would like to do full text searches on those fields just as I do on
regular fields, I just need to know about them...

Is there a way of listing all fields that are used in any of the documents?

Thanks,
vince
--
View this message in context: http://old.nabble.com/listing-all-fields-used-in-any-documents-tp26339576p26339576.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
For additional commands, e-mail: java-user-help [at] lucene


erickerickson at gmail

Nov 13, 2009, 9:17 AM

Post #2 of 4 (429 views)
Permalink
Re: listing all fields used in any documents [In reply to]

Does TermEnum work in your situation?

Best
Erick

On Fri, Nov 13, 2009 at 11:44 AM, vsevel <v.sevel [at] lombardodier> wrote:

>
> Hi,
>
> I am indexing log4j/logback/JUL logging events. my documents includes
> regular fields (eg: logger, message, date, ...) and custom fields that
> applications choose to use (eg: MDC).
> I would like to do full text searches on those fields just as I do on
> regular fields, I just need to know about them...
>
> Is there a way of listing all fields that are used in any of the documents?
>
> Thanks,
> vince
> --
> View this message in context:
> http://old.nabble.com/listing-all-fields-used-in-any-documents-tp26339576p26339576.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
> For additional commands, e-mail: java-user-help [at] lucene
>
>


uwe at thetaphi

Nov 13, 2009, 10:30 AM

Post #3 of 4 (436 views)
Permalink
RE: listing all fields used in any documents [In reply to]

List<String> IndexReader.getFieldNames() ?

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe [at] thetaphi

> -----Original Message-----
> From: vsevel [mailto:v.sevel [at] lombardodier]
> Sent: Friday, November 13, 2009 5:44 PM
> To: java-user [at] lucene
> Subject: listing all fields used in any documents
>
>
> Hi,
>
> I am indexing log4j/logback/JUL logging events. my documents includes
> regular fields (eg: logger, message, date, ...) and custom fields that
> applications choose to use (eg: MDC).
> I would like to do full text searches on those fields just as I do on
> regular fields, I just need to know about them...
>
> Is there a way of listing all fields that are used in any of the
> documents?
>
> Thanks,
> vince
> --
> View this message in context: http://old.nabble.com/listing-all-fields-
> used-in-any-documents-tp26339576p26339576.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
> For additional commands, e-mail: java-user-help [at] lucene



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
For additional commands, e-mail: java-user-help [at] lucene


erickerickson at gmail

Nov 13, 2009, 10:49 AM

Post #4 of 4 (432 views)
Permalink
Re: listing all fields used in any documents [In reply to]

Ooooh, that'll teach me <G>.

On Fri, Nov 13, 2009 at 1:30 PM, Uwe Schindler <uwe [at] thetaphi> wrote:

> List<String> IndexReader.getFieldNames() ?
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe [at] thetaphi
>
> > -----Original Message-----
> > From: vsevel [mailto:v.sevel [at] lombardodier]
> > Sent: Friday, November 13, 2009 5:44 PM
> > To: java-user [at] lucene
> > Subject: listing all fields used in any documents
> >
> >
> > Hi,
> >
> > I am indexing log4j/logback/JUL logging events. my documents includes
> > regular fields (eg: logger, message, date, ...) and custom fields that
> > applications choose to use (eg: MDC).
> > I would like to do full text searches on those fields just as I do on
> > regular fields, I just need to know about them...
> >
> > Is there a way of listing all fields that are used in any of the
> > documents?
> >
> > Thanks,
> > vince
> > --
> > View this message in context: http://old.nabble.com/listing-all-fields-
> > used-in-any-documents-tp26339576p26339576.html
> > Sent from the Lucene - Java Users mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
> > For additional commands, e-mail: java-user-help [at] lucene
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
> For additional commands, e-mail: java-user-help [at] lucene
>
>

Lucene java-user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.