Re: Facet Count strategies and common errors

2024-10-09 Thread Rob Audenaerde
a maximum number of facet values (i.e. the top N, 5, 10 of whatever the user wants). If there were less than N values; we check if there exists more values by leveraging the index. For each FacetField we know the number of FacetValues associated from the TaxonomyIndex. So, for example, you know

Re: Facet Count strategies and common errors

2024-10-08 Thread Marc Davenport
Hi Rob, How did you measure accuracy when finding that sweet spot between speed and accuracy for you. I'm trying to find a reasonable way to characterize the error introduced by sampling. For example, if one facet value would have a count of 1234 if done directly, but 1233 when done

Re: Facet Count strategies and common errors

2024-10-08 Thread Rob Audenaerde
Hi Marc, I worked extensively on an application that leveraged facet counts in lucene 8 series (and also aggregation by leveraging the facet fields, albeit with a custom implementation) for documents sets with over 100M documents. We settled for random sampling of the number of hits was greater

Re: Facet Count strategies and common errors

2024-10-08 Thread Marc Davenport
Thanks Stefan, I will look into the both refactoring to use drillsideways as well as the new aggregation engine. It might be a decent size lift on our end to reorganize our code to do that. For now, I've switched to using the random sampling facet collector when we suspect that it will

Re: Facet Count strategies and common errors

2024-10-02 Thread Stefan Vodita
ation engine [2] in Lucene 9.12, in the sandbox module for now, if you're willing to consider it. It facets at match-time and is generally faster than the faceting we had before 9.12. Stefan [1] https://github.com/apache/lucene/tree/main/lucene/demo/src/java/org/apache/lucene/demo/facet [2

Facet Count strategies and common errors

2024-09-30 Thread Marc Davenport
I've been looking at the way our code gets the facet counts from Lucene and see if there are some obvious inefficiencies. We have about 60 normal flat facets, some of which are multi-valued, and 5 or so hierarchical and multi-valued facets. I'm seeing cases where the call t

facet guide

2021-07-30 Thread Samuel Fung
There was a guide about facet at v4.4 https://lucene.apache.org/core/4_4_0/facet/org/apache/lucene/facet/doc-files/userguide.html Then at v4.7 there was a big change on facet https://issues.apache.org/jira/browse/LUCENE-5339 I cannot find a more updated guide, can anyone please help

Re: Hierarchical facet select a subtree but one child

2021-05-27 Thread nbuso
Hi, yes my aim was to introduce the functionality on the facet package. I created a ticket and added a simple patch; the use case seems to apply only to hierarchical facets, maybe we can add a validation to avoid to use the method in other cases. I'm happy to make modifications to the

Re: Hierarchical facet select a subtree but one child

2020-08-17 Thread Michael McCandless
, you can construct your own TermQuery and then add it as a MUST_NOT clause. Look at how DrillDownQuery.add converts incoming facet paths to terms and use that public DrillDownQuery.term method it exposes to create your own negated TermQuery. Mike McCandless http://blog.mikemccandless.com On Sat

Re: Hierarchical facet select a subtree but one child

2020-08-15 Thread Michael Sokolov
If you are trying to show documents that have facet value V1 excluding those with facet value V1.1, then you would need to issue a query like: +f:V1 -f:V1.1 assuming your facet values are indexed in a field called "f". I don't think this really has anything to do with faceti

Re: Hierarchical facet select a subtree but one child

2020-08-04 Thread nbuso
Hi, is there someone that can point me in the right API to negate facet values? May be this DrillDownQuery#add(dim, query) the API to permit this use case? https://lucene.apache.org/core/8_5_2/facet/org/apache/lucene/facet/DrillDownQuery.html#add-java.lang.String

Hierarchical facet select a subtree but one child

2020-07-29 Thread nbuso
Hi, I'm a bit rusty with Lucene facets API and I have a common use case that I would like to solve. Suppose the following facet values tree: Facet - V1 - V1.1 - V1.2 - V1.3 - V1.4 - (not topK values) - V2 - V2.1 - V2.2 - V2.3 - V2.4 - (not topK values)

Re: Adding and Removing Facet Entries

2019-08-28 Thread Mikhail Khludnev
rectly on a Facet field in this case). I > have a multi-valued facet field with potentially thousands of entries per > document, and I'd like to be able to add and remove entries from the field > on a document as efficiently as possible. Can anyone point me in the right > direction?

Adding and Removing Facet Entries

2019-08-28 Thread Hicks, Matt
I'm trying to replicate the functionality that Apache Solr has for Atomic updates on documents (although, directly on a Facet field in this case). I have a multi-valued facet field with potentially thousands of entries per document, and I'd like to be able to add and remove entries from

Reg Numeric facet in drillsideways

2019-04-30 Thread rajesh mathi
Hi, I am implementing drillsideways for boh string and numeric fields. Based on this post <http://lucene.472066.n3.nabble.com/Numeric-Ranges-Faceting-td4320323.html> , i have overridden the buildFacetsResult method to achieve numeric facet using drillsideways. i have two doubt, 1) I

Re: Lucene - Drillsideways with Hierarchical facet

2019-04-24 Thread rajesh mathi
Hi, Any suggestion regarding this ? Regards, Rajesh A On Wed, Apr 10, 2019 at 11:59 PM rajesh mathi wrote: > Hi, > > We are implementing drillsideways with hierarchical facet using taxnomy. > > we have a use case where we need to fetch the count of a particular values > i

Lucene - Drillsideways with Hierarchical facet

2019-04-10 Thread rajesh mathi
Hi, We are implementing drillsideways with hierarchical facet using taxnomy. we have a use case where we need to fetch the count of a particular values in a field which is present in two types. Example 1: Here value "Core" is present in both Lucene Section and Solr Section. But

Re: How to load all document fields, together with facet fields?

2017-09-05 Thread Michael McCandless
You'll just have to add additional StoredField instances for all those facet fields as well. The FacetField is consumed as an inverted field and not directly stored, though you could do some work and reconstruct it from the binary doc values that the facet store. Mike McCandless

Re: How to load all document fields, together with facet fields?

2017-09-02 Thread Vjeran Marcinko
Vjeran >> >> On Fri, Sep 1, 2017 at 3:02 PM, Michael McCandless >> wrote: >> > You should separately add those fields to your document, using >> > StoredField, >> > if you want to retrieve their values at search time. >> > >> >

Re: How to load all document fields, together with facet fields?

2017-09-02 Thread Michael McCandless
add those fields to your document, using > StoredField, > > if you want to retrieve their values at search time. > > > > Mike McCandless > > > > http://blog.mikemccandless.com > > > > On Thu, Aug 31, 2017 at 1:29 PM, Vjeran Marcinko > > wrote: >

Re: How to load all document fields, together with facet fields?

2017-09-01 Thread Vjeran Marcinko
; > On Thu, Aug 31, 2017 at 1:29 PM, Vjeran Marcinko > wrote: >> >> I zeroed in the problem with my updating documents having facet >> fields... What I need is a way to load document with all fields that >> existing when I was saving the document, meaning, together wi

Re: How to load all document fields, together with facet fields?

2017-09-01 Thread Michael McCandless
ing facet > fields... What I need is a way to load document with all fields that > existing when I was saving the document, meaning, together with facet > fields. > > Anyway, here's the example. > > When I add my document to index, my document is having 3 fields: > &qu

Re: How to load all document fields, together with facet fields?

2017-08-31 Thread kribsky
Hi! if you want to read facetized fields you need to search trough facet collector. For example like this FacetsCollector facetsCollector =new FacetsCollector(); FacetsCollector.search(indexSearcher, query, pageSize, facetsCollector); FastTaxonomyFacetCounts customFastFacetCounts =new

How to load all document fields, together with facet fields?

2017-08-31 Thread Vjeran Marcinko
I zeroed in the problem with my updating documents having facet fields... What I need is a way to load document with all fields that existing when I was saving the document, meaning, together with facet fields. Anyway, here's the example. When I add my document to index, my document is hav

Re: Autocomplete using facet labels?

2017-04-12 Thread Erick Erickson
t of the idea of reverse indexing the facet values and will > consider it. > > Meanwhile I will try to explore how I might to use the TaxonomyIndex as > well, as this should contain the FacetLabels I'd like to use. > > -Rob > > On Wed, Apr 12, 2017 at 5:00 PM, Erick Erickson

Re: Autocomplete using facet labels?

2017-04-12 Thread Rob Audenaerde
Thanks Erick for you reply, I see you refer to solr sources while I was hoping for lucene suggestions. I hadn't thought of the idea of reverse indexing the facet values and will consider it. Meanwhile I will try to explore how I might to use the TaxonomyIndex as well, as this should co

Re: Autocomplete using facet labels?

2017-04-12 Thread Erick Erickson
er not to do a search on all the matching documents and collect > facets for those, because that is not very fast > > Any hints? > > Thanks in advance, > Rob Audenaerde > > See also: > http://stackoverflow.com/questions/43369715/lucene-autocomplete-using-facet-la

Autocomplete using facet labels?

2017-04-12 Thread Rob Audenaerde
ce, Rob Audenaerde See also: http://stackoverflow.com/questions/43369715/lucene-autocomplete-using-facet-labels

Re: Facet DrillDown Exclusion

2016-12-06 Thread Matt Hicks
Thanks, that did the trick! On Tue, Dec 6, 2016 at 8:58 AM Shai Erera wrote: > Hey Matt, > > You basically don't need to use DDQ in that case. You can construct a > BooleanQuery with a MUST_NOT clause for filter out the facet path. Here's a > short code snippet

Re: Facet DrillDown Exclusion

2016-12-06 Thread Shai Erera
Hey Matt, You basically don't need to use DDQ in that case. You can construct a BooleanQuery with a MUST_NOT clause for filter out the facet path. Here's a short code snippet: String indexedField = config.getDimConfig("Author").indexFieldName; // Find the field of the &q

Facet DrillDown Exclusion

2016-12-05 Thread Matt Hicks
I'm currently drilling down adding a facet path, but I'd like to be able to do the same as a NOT query. Is there any way to do an exclusion drill down on a facet to exclude docs that match the facet while including all others? Thanks

simple facet search

2016-09-18 Thread Cam Bazz
ooked over the example code at demo, which is using a taxonomy reader/writer, but I could not figure out. It appears we can consruct a FacetCollector, and provide it as an argument to search like searcher.searc(query, 1000, facetCollector) - but then I could not figure out how to get the facets

Lucene 4.7 fetching facet values for a single document

2016-08-09 Thread Stefán Baxter
Hi, I'm indexing documents using FacetFeilds, FacetsConfig, TaxonomyWriter etc. and all is good, including faceted search, but I do not seem to be able to get the values for the faceted fields for a single document by any means. Can someone please point me to an example that show hot to retrieve

Lucene 4.7 fetching facet values for a single document

2016-08-09 Thread Stefán Baxter
Hi, I'm indexing documents using FacetFeilds, FacetsConfig, TaxonomyWriter etc. and all is good, including faceted search, but I do not seem to be able to get the values for the faceted fields for a single document by any means. Can someone please point me to an example that show hot to retrieve

Delete a specific term or facet mapping from lucene main index which refers to categories in taxonomy

2016-08-01 Thread Chitra R
Hi, I am using Lucene 4.10.4. Is there any way to delete a term or facetfield mapping from lucene main index which is used to refer the categories in taxonomy. And i know once a category is added to the taxonomy, it can never be deleted. So i am trying to remove that facet map from main index

Lucene facet search is causing issue in application

2016-06-29 Thread Biltu Samanta (bilsaman)
Hi All, If a search is made from lucene facet(taxonomy search) , while taxonomy indexing is in progress the application is getting blocked no further is indexing is happening. My application is multithreaded. Kindly reply to this mail, Thanks, Biltu

Re: Lucene facet search is causing issue in application

2016-06-29 Thread Michael McCandless
specifically your search threads are blocked? Maybe capture the thread stacks and post back. Mike McCandless http://blog.mikemccandless.com On Wed, Jun 29, 2016 at 4:41 AM, Biltu Samanta wrote: > Hi All, > > If a search is made from lucene facet(taxonomy search) , while taxonomy >

Lucene facet search is causing issue in application

2016-06-29 Thread Biltu Samanta
Hi All, If a search is made from lucene facet(taxonomy search) , while taxonomy indexing is in progress the application is getting blocked no further is indexing is happening. My application is multithreaded. Kindly reply to this mail, Thanks, Biltu

Re: Facet

2016-06-20 Thread Marcio Napoli
Mike, Sure, but we can override the method FacetsConfig#dupAndEncode by IntPoint#encodeDimension, storing bytesref as a docvalue? Thanks! Marcio Em sex, 17 de jun de 2016 às 19:42, Michael McCandless < [email protected]> escreveu: > IntPoint would really work for facets because it's an

Re: Facet

2016-06-17 Thread Michael McCandless
IntPoint would really work for facets because it's an inverted structure but facets need a forward structure. Mike McCandless http://blog.mikemccandless.com On Wed, Jun 15, 2016 at 9:25 AM, Marcio Napoli wrote: > Hey! > > The Lucene facets module uses integer encoding using the method " > Face

Facet

2016-06-15 Thread Marcio Napoli
Hey! The Lucene facets module uses integer encoding using the method " FacetsConfig.dedupAndEncode " . It would be convenient to use the IntPoint ? Thanks! Marcio Napoli

facet package change

2015-12-30 Thread Mohaideen Tharves
Hi, I am new to Lucene 5.4.0. I want to create class same as attached file, But most of facet search class is missed in 5.4.0, Please let me know, I do write Book list to add run time author and price in 5.4.0 Thanks, M.Tharves

Re: Lucene - Multi Select Facet

2015-09-08 Thread Mehmet Başal
Thanks Micheal, i will try your solution. 2015-09-07 12:24 GMT+03:00 Michael McCandless : > The lucene facets module calls this "drill sideways" and there's a > dedicated DrillSideways.java to handle it. > > You can read about it here: > > http://blog.mikemccandless.com/2013/02/drill-sideways-fac

Re: Lucene - Multi Select Facet

2015-09-07 Thread Michael McCandless
The lucene facets module calls this "drill sideways" and there's a dedicated DrillSideways.java to handle it. You can read about it here: http://blog.mikemccandless.com/2013/02/drill-sideways-faceting-with-lucene.html Mike McCandless http://blog.mikemccandless.com On Mon, Sep 7, 2015 at 3:03 A

Re: Lucene - Multi Select Facet

2015-09-07 Thread Mehmet Başal
Hello, Solr has Multi Select Faceting feature. Can anybody know how can i achieve this with Lucene ? Thanks in advance. 2015-09-07 9:58 GMT+03:00 Mehmet Başal : > Hello, > > Solr has Multi Select Faceting

Facet label index exception

2015-07-30 Thread Sheng
this is the first time I come across error like this, label already exists: Facet label: ..., prev ordinal: ... It shows error happened at line 131 of CompactLabelToOrdinal.java Any idea for what could go wrong? I am using Lucene 4.10.2 Thanks!

Re: OOM when using Lucene 5.X's group facet collectors on unsharded index

2015-07-06 Thread Adam Rosenwald
Correction. The three facet fields used to initialize the TermGroupFacetCollectors are SortedDVs - not SortedNumericDVs. On 07/06/2015 04:56 PM, Adam Rosenwald wrote: Hello all, When using Lucene 5.X's group facet collectors (i.e. *AbstractGroupFacetCollector* and the provided con

OOM when using Lucene 5.X's group facet collectors on unsharded index

2015-07-06 Thread Adam Rosenwald
Hello all, When using Lucene 5.X's group facet collectors (i.e. *AbstractGroupFacetCollector* and the provided concrete implementation, *TermGroupFacetCollector*), I repeatedly encounter OOM errors after running a few search requests on an unsharded index consisting of a few mi

Matched docIds for each facet value

2015-05-08 Thread Jigar Shah
Hello, Is it possible to get matched docIds for each facet value. As to current we only get count. Let me know the classes internal to Lucene which i should look at just in case if its not exposed in API. Thanks, Jigar Shah.

Lucene 5.0: Facet count does ignore results from FacetsCollector.search

2015-04-16 Thread samt & sonders
hi, I'm using facets with Lucene 5.0 using a WildcardQuery to narrow down my results. The TopDocs collected by FacetsCollector.search are indeed limited by both my query and my filter. But when it comes to counting there are suddenly results not matching my WildcardQuery anymore. SortedSetDo

fill 'empty' facet-values, sampling, taxoreader

2015-01-12 Thread Rob Audenaerde
acets to make sure the application stays responsive. By the nature of sampling, documents (and thus facet-values) will be missed. I let the user select the number of facet-values he want to see for each facets. For example, the default is 10. If a facet contains values 1 to 20, the user will alway

Re: Facet Result Order

2014-12-15 Thread patel mrugesh
Hi Shai, Thanks for the reply. "refreshed" meaning if I come on facet page after closing it, the order gets changed for the facet having same count. I have already mentioned sample data in my first post. Thanks again,Mrugesh On Sunday, 14 December 2014 6:56 PM, Shai Er

Re: Facet Result Order

2014-12-14 Thread Shai Erera
Hi Mrugesh, This is strange indeed, as the facets are ordered by count, and we use a facet ordinal (integer code) as a tie breaker. What do you mean by "refreshed"? Do you have a sample test that shows this behavior? Shai On Fri, Dec 12, 2014 at 8:37 AM, patel mrugesh wrote: > &g

Facet Result Order

2014-12-12 Thread patel mrugesh
Hi All, I am working on Lucene Facet now a day and facet seems working fine. Just one thing that come to my attention is, order of facet results get changed if there is same total count.  For example, for country facet following results have been noticed. First time: - USA(10)- India(9)- UK(9

lucene-facet-4.10.1 version not changed in 'DirectoryTaxonomyWriter'

2014-10-15 Thread Jigar Shah
Hello Lucene commiters, I saw one inconcistent version usage lucene-facet-4.10.1.jar. lucene-facet-4.10.1.jar uses deprecated 'Version.LUCENE_4_10_0" in class 'DirectoryTaxonomyWriter' 'createIndexWriterConfig' Ignore it if it is deliberate. Thanks,

Re: topdocs per facet

2014-10-09 Thread Shai Erera
relevant dimension based on the user's locale. Then the user can drill-down on any of the returned facets easily. I'd say that if your index and/or taxonomy aren't big, this is the easiest solution and most straightforward to implement. Another way is to index the facet Root/R1 and Roo

Re: confused facet example

2014-09-30 Thread Shai Erera
Thanks Yonghui, I will commit a fix - need to initialize the example class before each example is run ! Shai On Tue, Sep 30, 2014 at 1:26 PM, Yonghui Zhao wrote: > > https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_8/lucene/demo/src/java/org/apache/lucene/demo

confused facet example

2014-09-30 Thread Yonghui Zhao
https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_8/lucene/demo/src/java/org/apache/lucene/demo/facet/SimpleFacetsExample.java In SimpleFacetsExample, /** Runs the search example. */ public List runFacetOnly() throws IOException { index(); return facetsOnly

topdocs per facet

2014-09-29 Thread Jürgen Albert
ld be used for the search. Thus I have to return the facet translation and the actual value by the search. 2. Is there a possibility to get the docs per facet? As An example I have e.g. a DrillDownQuery returning 5 docs and 2 dimensions with 2 facets each. I guess the solution is somewhere i

solr facet query with Tagging and Excluding Filters

2014-09-18 Thread Andy Yu
Hi guys, I want to do a facet with facet query,and let it has the [Tagging and Excluding Filters] ( https://cwiki.apache.org/confluence/display/solr/Faceting)style which facet.field has,so how to do it , pls guide me! Thanks, Andy

Re: source for jira lucene facet example

2014-09-09 Thread Michael McCandless
The source code is being tracked on this branch/issue: https://issues.apache.org/jira/browse/LUCENE-5376 But I haven't had any time to push that branch forward for quite a while ... I still think it's important that Lucene have a simple example server though. Mike McCandless http://blog.mikemcca

source for jira lucene facet example

2014-09-09 Thread Vincent Sevel
Hi, Does someone know if the source of the jira issues search example is available: http://jirasearch.mikemccandless.com/ thanks, vince Vincent Sevel Banque Lombard Odier & Cie SA 11, rue de la Corraterie - 1204 Genève - Suisse T +41 22 709 3376 - F +41 22 709 3782 www.lombardodier.com

Re: DocIDs from Facet Results

2014-07-07 Thread Jigar Shah
any mechanism that for a particular > search result, I could get the docIds corresponding to any facet? > > Say, I have a facet defined on Field1. Upon Search and FacetCollection, I > get FVal1, FVal2, and FVal3 as top3Children along with their corresponding > counts. Can I look into

DocIDs from Facet Results

2014-07-07 Thread Sandeep Khanzode
Hi, For Lucene 4.7.2 Facets, once we invoke FacetCollector and get the topNChildren into FacetResult, is there any mechanism that for a particular search result, I could get the docIds corresponding to any facet? Say, I have a facet defined on Field1. Upon Search and FacetCollection, I get

Re: Facet migration 4.6.1 to > 4.7.0

2014-06-23 Thread Nicola Buso
Hi, On Tue, 2014-06-17 at 17:51 +0300, Shai Erera wrote: > - we are extending FacetResultsHandler to change the order of > the facet > results (i.e. date facets ordered by date instead of count). > How can I > achieve this now? > >

Re: Facet migration 4.6.1 to > 4.7.0

2014-06-17 Thread Shai Erera
> > - we are extending FacetResultsHandler to change the order of the facet > results (i.e. date facets ordered by date instead of count). How can I > achieve this now? > Now everything is a Facets. In your case, since you use the taxonomy, it's TaxonomyFacets. You can check

Facet migration 4.6.1 to > 4.7.0

2014-06-17 Thread Nicola Buso
Hi, I'm migrating from lucene 4.6.1 to 4.8.1 and I noticed some Facet API changes happened on 4.7.0 probably mostly related to this ticket: http://issues.apache.org/jira/browse/LUCENE-5339 Here are few question about some customization/extension we did and seem not having a direct counte

Re: NRT facet issue (bug?), hard to reproduce, please advise

2014-04-12 Thread Jose Carlos Canova
One thing that maybe affect and usually i forget is that if your object has a unique identifier (client_no) such identifier must be present on the override of "equals" methods and be part of the generation of the hashCode, otherwise if you store this object in a collection and different routines ac

Re: NRT facet issue (bug?), hard to reproduce, please advise

2014-04-11 Thread Shai Erera
Hi I am not sure how more than one client_no field ends up w/ a document, and I'm not sure it's related to the taxonomy at all. However, looking at the code example you pasted above, and since you mention that you index+commit in one thread, while another thread does the reopen, I wonder if that'

NRT facet issue (bug?), hard to reproduce, please advise

2014-04-11 Thread Rob Audenaerde
Hi all, I have a issue using the near real-time search in the taxonomy. I could really use some advise on how to debug/proceed this issue. The issue is as follows: I index 100k documents, with about 40 fields each. For each field, I also add a FacetField (issues arises both with FacetField as Fl

Re: Regarding CorruptedIndexException in using Lucene Facet Search

2014-02-07 Thread Jebarlin Robertson
cetWriter. Now it is working fine .Thank you :) > > > > Could you please tell me if there is any major performance difference in > > using *3.6 and 4.x* *Facet *library?. > > Since I use the Lucene 3.6 version, I am using Facet library also the > same > > version

Re: Regarding CorruptedIndexException in using Lucene Facet Search

2014-02-07 Thread Shai Erera
th IndexWriter > and FacetWriter. Now it is working fine .Thank you :) > > Could you please tell me if there is any major performance difference in > using *3.6 and 4.x* *Facet *library?. > Since I use the Lucene 3.6 version, I am using Facet library also the same > version. > &g

Re: Regarding CorruptedIndexException in using Lucene Facet Search

2014-02-06 Thread Jebarlin Robertson
Dear Shai, I only made the mistake by using the same directory for both IndexWriter and FacetWriter. Now it is working fine .Thank you :) Could you please tell me if there is any major performance difference in using *3.6 and 4.x* *Facet *library?. Since I use the Lucene 3.6 version, I am using

Re: Regarding CorruptedIndexException in using Lucene Facet Search

2014-02-06 Thread Jebarlin Robertson
Dear Shai, Thank you for your reply. Actually I am using Lucene3.6 in Android. It is working fine. but with the latest versions there are some issues. Now I just added this Facet search library also along with the old Lucene code. After this Facet search integration, it is giving these Corrupted

Re: Regarding CorruptedIndexException in using Lucene Facet Search

2014-02-06 Thread Shai Erera
fully .. we never tested this code on Android. Shai On Thu, Feb 6, 2014 at 3:21 PM, Jebarlin Robertson wrote: > Hi, > > I am using Lucene 3.6 version for indexing and searching in Android > application. > I have implemented Facet search. But when I try to search, it is giving the >

Regarding CorruptedIndexException in using Lucene Facet Search

2014-02-06 Thread Jebarlin Robertson
Hi, I am using Lucene 3.6 version for indexing and searching in Android application. I have implemented Facet search. But when I try to search, it is giving the below exception while creating the DirectoryTaxonomyReader object. 02-06 21:00:58.082: W/System.err(15518

Re: Difference between Group and Facet

2013-05-28 Thread raj
ut how to group, the package documentation ( > > > http://lucene.apache.org/core/4_0_0-ALPHA/grouping/index.html) should > > > cover > > > what you need. > > > Best, > > > Elisabeth > > > > > > On 27 May 2013 14:13, raj wrote: > > > >

Re: Difference between Group and Facet

2013-05-28 Thread Brendan Grainger
.org/core/4_0_0-ALPHA/grouping/index.html) should > > cover > > what you need. > > Best, > > Elisabeth > > > > On 27 May 2013 14:13, raj wrote: > > > > > Hi, > > > > > > I wasnt able to find any guidelines on how to add a Group w

Re: Difference between Group and Facet

2013-05-27 Thread raj
) should > cover > what you need. > Best, > Elisabeth > > On 27 May 2013 14:13, raj wrote: > > > Hi, > > > > I wasnt able to find any guidelines on how to add a Group while indexing. > > There is a user guide and demo code for Facet which shows this. Can you

Re: Difference between Group and Facet

2013-05-27 Thread Elisabeth Adler
ines on how to add a Group while indexing. > There is a user guide and demo code for Facet which shows this. Can you > please show how to add a Group while indexing? > > Thanks, > Rajesh > > > On Mon, May 27, 2013 at 3:55 PM, raj wrote: > > > Hi Elisabe

Re: Difference between Group and Facet

2013-05-27 Thread raj
Hi, I wasnt able to find any guidelines on how to add a Group while indexing. There is a user guide and demo code for Facet which shows this. Can you please show how to add a Group while indexing? Thanks, Rajesh On Mon, May 27, 2013 at 3:55 PM, raj wrote: > Hi Elisabeth, > > Thank

Re: Difference between Group and Facet

2013-05-27 Thread raj
Hi Elisabeth, Thanks. Let me go through the links Regards, Rajesh On Mon, May 27, 2013 at 3:09 PM, Elisabeth Adler wrote: > Hi Rajesh, > This entry explains it quite well: > > http://stackoverflow.com/questions/8550818/whats-the-difference-between-grouping-and-facet-in-lucen

Re: Difference between Group and Facet

2013-05-27 Thread Elisabeth Adler
Hi Rajesh, This entry explains it quite well: http://stackoverflow.com/questions/8550818/whats-the-difference-between-grouping-and-facet-in-lucene-3-5 Best, Elisabeth On 27 May 2013 11:16, raj wrote: > Hi, > > I was seeing that Lucene supports both Groups and Facets. But I was fin

Difference between Group and Facet

2013-05-27 Thread raj
Hi, I was seeing that Lucene supports both Groups and Facets. But I was finding it difficult to understand the difference between both. https://issues.apache.org/jira/browse/LUCENE-1421 - Says "Ability to Group search results by Field". So, is this by existing Fields that we add while indexing or

Re: Collect facet only on specific values

2013-05-09 Thread Shai Erera
, Nicola Buso wrote: > 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? > > &g

Re: Collect facet only on specific values

2013-05-09 Thread Nicola Buso
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 McCandl

Re: Collect facet only on specific values

2013-05-09 Thread Michael McCandless
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

Collect facet only on specific values

2013-05-09 Thread Nicola Buso
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? N

Re: Luke and Facet search

2013-05-01 Thread Shai Erera
Hi I don't think it's possible, not with the default configuration. The problem is that drill-down terms are created with a default delimiter, which is \u001F, and you can't really type that character. One way is to override FacetIndexingParams.getFacetDelimChar() to return a human readable chara

Luke and Facet search

2013-05-01 Thread Nicola Buso
Hi all, I think somebody already did this question in the mailing list, but I can't find it. Is possible to execute a search with facets in luke? then use the $facets field in searches? Nicola. - To unsubscribe, e-mail: java-

Re: Lucene 4.2, where is facet residue

2013-04-16 Thread Shai Erera
e.getResidue() > > to understand if there are more values for a facet, than the topk > returned. > Is there a similar API in 4.2? I can't find it! > > > Nicola. > > > - > To unsubscribe, e-m

Lucene 4.2, where is facet residue

2013-04-16 Thread Nicola Buso
Hi all, in lucene 4.1 there was this API FacetResultNode.getResidue() to understand if there are more values for a facet, than the topk returned. Is there a similar API in 4.2? I can't find it! Nicola. - To unsubscri

Re: what's the difference of facet and group search ??

2013-02-01 Thread Michael McCandless
ing (I don't have an example) puts each it under its own group according to which field you grouped by. Grouping just "reorganizes" all of your hits under specified groups, while faceting is summarizing information (you can't see the results in each facet, only the summary cou

what's the difference of facet and group search ??

2013-02-01 Thread wgggfiy
rt, I'm totally puzzled, Can anyone explain it with an example ? thx. - -- Email: [email protected] -- -- View this message in context: http://lucene.472066.n3.nabble.com/what-s-the-difference-of-facet-and-group-search-tp4037914.html

Re: Facet Support

2012-07-27 Thread Denis Bazhenov
Take a look at this document: http://lucene.apache.org/core/4_0_0-ALPHA/facet/org/apache/lucene/facet/doc-files/userguide.html On Jul 26, 2012, at 5:33 PM, "Subramanian, Ranjith" wrote: > Hi Team, > > I would like to know if Lucene 4.0 will support facetted search.

Re: Facet Support

2012-07-26 Thread Shai Erera
Hi. Facetted search exists since 3.5 and will exist in 4.0 too ! Shai On Jul 26, 2012 7:21 PM, "Subramanian, Ranjith" < [email protected]> wrote: > Hi Team, > > ** ** > > I would like to know if Lucene 4.0 will support facetted search. > > Thanks in advance. > > ** **

Facet Support

2012-07-26 Thread Subramanian, Ranjith
Hi Team, I would like to know if Lucene 4.0 will support facetted search. Thanks in advance. Best regards, Ranjith... [cid:[email protected]]Ranjith Ratna Kumar S / Capgemini India / Bangalore Warner Bros. | Techni

Re: facet vs group search

2012-02-28 Thread Shai Erera
esults. These two can be combined of course. Lucene has a new faceted search module since Lucene 3.4.0. You can read about it here: http://lucene.apache.org/core/old_versioned_docs/versions/3_5_0/api/contrib-facet/userguide.html . Shai On Tue, Feb 28, 2012 at 8:58 AM, jianwen lou wrote: > W

facet vs group search

2012-02-27 Thread jianwen lou
What is the difference between faceted search and group search? I read the wikipedia page:http://en.wikipedia.org/wiki/Faceted_search and here is a project named bobo-browse that implements faceted search,any explanation for details? thanks -- * *twitter.com/loujianwen

Re: Facet counts and drill down queries

2011-12-03 Thread Shai Erera
FacetsCollector will count all results, but your custom Collector will filter out results that do not match the drill-down criteria. This is more expensive than simply not counting facets for drill-down queries and use the original counts. If you cannot do AJAX, then perhaps you can serialize the fac

  1   2   >