Hello,
After search when im fetching the fragments to show result like google
using method:
String[] fragments = hi.getBestFragments(tokn, contents,20);
im getting the best fragments.
When i am iterating through the fragments i get one by one all fragments.
These fragments contains search word
@Uwe -- I thought that when it comes to Lucene -- you ARE McGyver ;)
On 5/9/2013 9:48 AM, Uwe Schindler wrote:
Hi Liz,
See http://wiki.apache.org/lucene-java/JavaBugs
If you run Lucene under such old Java versions, we cannot give any support. The
Hotspot VMs in older versions is so buggy that
Hi Liz,
See http://wiki.apache.org/lucene-java/JavaBugs
If you run Lucene under such old Java versions, we cannot give any support. The
Hotspot VMs in older versions is so buggy that running Lucene with them is just
like running a 20 year old car down a hill and no MacGyver sitting next to you
We are totally confused and are wondering if this is a known bug. We are
currently using lucene 3.6.0 to index with and for our searches.
Our indexing software was compiled under openJdk 1.6.0-b09.
Our index was built under HotSpot 1.6.0_43-b01
We are trying to run our index under openJdk 1.6.0
I have an index built using Lucene4 with below config
storeTermVectors=true
storeTermVectorPositions=true
storeTermVectorOffsets=true
IndexOptions.DOCS_AND_FREQS_AND_POSITIONS_AND_OFFSETS
I am trying to use FastVectorHighlighter for retrieving the snippets from
hit docs but getBestFragment method
I think you can do what Mike suggested quite easily. Create your own
FacetResultsHandler, override the Accumulater.createFRH(). The handler will
zero out all counts you are not interested in and then delegate to the
wrapped FRH to compute the actual top K.
Shai
On Thu, May 9, 2013 at 1:44 PM, Ni
Hi Mike,
thanks for the reply.
I was looking also into CountFacetRequest (my specific case); should I
create a FacetRequest extension that on getValueOf(...) return values >
0 only for interesting facet values?
Did you mean this?
Nicola.
On Thu, 2013-05-09 at 06:28 -0400, Michael McCandless wro
On Thu, May 9, 2013 at 5:53 AM, Nicola Buso wrote:
> Hi,
>
> I want to hide some values for a facet; than I'm looking into a way to
> collect facet values only for a subset of possible values.
> Is there a way to obtain this?
> If not, extending TopK...Handler (or wrapping it) would be the right w
Hi,
I want to hide some values for a facet; than I'm looking into a way to
collect facet values only for a subset of possible values.
Is there a way to obtain this?
If not, extending TopK...Handler (or wrapping it) would be the right way
to obtain this behaviour?
Nicola.
-