Reporting indexed metadata

2009-02-18 Thread Tod
Is there a way I can ask lucene what metadata elements it knows of and is storing in its index? Thanks - Tod - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h

Treatment of Metadata

2008-05-20 Thread Tod
I have a couple of quick questions about how Lucene indexes metadata: - Does it do anything special with metadata or treat it as a supplement to the words in the document? I have a feeling that the answer is that out of the box lucene does nothing special with metadata and that its treated ju

Re: Treatment of Metadata

2008-05-21 Thread Tod
Grant Ingersoll wrote: Hi Tod, Lucene doesn't know anything you don't tell it about your documents/metadata. You would need to create fields for the metadata for a document and then index them. You could just do something like a document with fields: text author createDate ...

How to limit SimpleCollector at N documents?

2017-08-17 Thread Tod Olson
return the collected documents. Any assistance for a Lucene novice is greatly appreciated! -Tod Tod Olson mailto:t...@uchicago.edu>> Systems Librarian Interim Director for Integrated Library Systems University of Chicago Library

Re: How to limit SimpleCollector at N documents?

2017-08-18 Thread Tod Olson
und a real detailed description of how this works in Lucene. -Tod On Aug 18, 2017, at 12:59 AM, dr mailto:bfore...@163.com>> wrote: i used to do the same thing. My way is also throwing exception to jump out. What does "then the search moves on to the next leaf" mean ? 在 2017

Re: How to limit SimpleCollector at N documents?

2017-08-18 Thread Tod Olson
Thank you, this looks exactly like what I need! -Tod On Aug 18, 2017, at 1:42 AM, Adrien Grand mailto:jpou...@gmail.com>> wrote: You could wrap a collector wrapper (have a look at FilterCollector maybe) that throws a CollectionTerminatedException whenever more than X hits have been col