Added fast vector highlighter plugin with parameters to configure it's use.
highlights<int, default 0> number of highlight matches to return.
highlight_length<int, default & min=18> number of characters to include in a highlight line.
Also added parameters to control if term vectors or fields are included in the result set. I am not sure if this is needed or not, but it made debugging easier :)
include_termvectors<boolean, default false> include term vectors in results.
include_fields<boolean, default false> include fields in results.
expose term vectors
Bump to lucene 3.6
Merge branch 'master' into termvectors
Add highlighting and parameters to include termvectors and fields in …
Include fast vector highlighter plugin in pom.xml
I believe the vector highlighter has moved to the contrib-highlighter package (which is available in 3.6.0). I would require we use the one that matches the other lucene dependencies.
Update fast vector highligter dependency to use lucene-highlighter pa…
…ckage in 3.6
I have updated the dependency. Is this the package you are referring to?
that's the one. Did you try it out?
Apparently I didn't restart lucene when I tested it... my bad. Give me a little while and I will debug it.
Looks good to me. Would you also update the README.md to reflect the new options? Then I can merge this puppy!
Oh, and pop your name in the THANKS.md file too!
Weird, I thought I had a bug but after rebuilding everything worked fine. I am pretty much done with the documentation updates but I was wondering about the include_storedfields parameter I added (previously include_fields until I realized I had duplicated that name). This constitutes a change from the current default behavior of including stored fields if they exist. Should I find a way to change this behavior or should this just be noted in the documentation?
Update documentation to reflect new highlighter features and result s…
Ooh, glad you mentioned that. The include_storedfields thing should be in a separate pull request.
OK, that is updated. I will create a new PR for that option.
Merge pull request #158 from nesteffe/termvectors