Redirecting to lucene-user list (more appropriate). 1. You could use IndexReader's termDocs() method and iterate through results, filtered by the desired field.
2. You can't. You could add a special and constant field and value to _every_ Document in your index, and then you could get all your Documents with 'special field name:special value' type of query. Otis --- Murat Ozcan <[EMAIL PROTECTED]> wrote: > Hi all, > I have some questions about query > 1. How can I get all the results in a field > ( I tried field:* but didn't work ) > 2. how can I get all results without a given term like select all > results from a field where field is not equal ... > ( I tried -field:... did not work) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
