Re: Size of Document

2018-07-04 Thread Terry Steichen
In the document types I usually index (.pdf, .docx/.doc, .eml), there exists a metadata field called "stream_size" that contains the size of the document on disk.  You don't have to compute it.  Thus, when you retrieve each document you can pull out the contents of this field and, if you like, incl

Re: advanced search

2006-10-13 Thread Terry Steichen
You can just add a field to your indexed docs that always evaluates to a fixed value. Then you can do queries like: +doc:1 -id:test karl wettin wrote: 13 okt 2006 kl. 09.59 skrev tony yin: I wanta search several fields use NOT condition, but how? for example: I store "test" in {"id", "name"

Re: a "real" PhrasePrefixQuery

2005-05-20 Thread Terry Steichen
Paul, Could you flesh out the implementation you describe below with some code or pseudocode? Regards, Terry Paul Elschot wrote: On Friday 20 May 2005 11:30, Stanislav Jordanov wrote: Is there a Lucene Query (or something that will do a job) like: "Star Wars tri*" that will match all docs cont

Re: Collecting documents where only one field term matches

2005-04-04 Thread Terry Steichen
I wonder if you could accomplish your goal by creating another field during indexing which holds the number of terms in the "species" field. If that's possible, then you might get what you want with a query like: +species:"homo sapien" +num_species:1. mad Cow wrote: Could some more experienced