Re: Finding frequency of regex query match in a field

2010-01-15 Thread Erick Erickson
> maxNumOfHits).scoreDocs;//grab the score docs and go through them to find > the documents that contain a match > > //* > > > The code above will tell me that both doc1 and doc2 contain a match for the > constructed query.

Finding frequency of regex query match in a field

2010-01-15 Thread Altimatic
m to find the documents that contain a match //* The code above will tell me that both doc1 and doc2 contain a match for the constructed query. However I need to know how many times the regular expression was matched in each document. ie. do