Re: How to get document effectively. or FieldCache example

2017-04-22 Thread Jacques Uber
Have you considered indexing chapters as documents? Using your example you would have three documents corresponding to your three chapters: A, B, and D. Once you have that structure the query "pain AND head" returns only chapters A and B. Using the information gained from this new chapter index you

How do I get the location within a file for a search result?

2017-04-22 Thread Lynch, Pat
Hello, I'm brand new to Lucene. I've tried looking through a variety of on-line tutorials but they point to methods that are deprecated or no longer exist, such as TokenSources.getAnyTokenStream(). I've also tried browsing the archives for this mailing list, but I don't have time to brows