Re: Difference between Group and Facet

2013-05-27 Thread raj
Thanks a lot Elisabeth On Mon, May 27, 2013 at 7:43 PM, Elisabeth Adler wrote: > Hi, > I'm not sure what you mean with how to index a group. You basically index > all documents, and then group them for the results. > To stay on the books example: you index books including information about > the

Re: Faceted Search: count direct matches/member für result nodes

2013-05-27 Thread Schimke, Danny
Good Morning, thank you very much!! I got it so far, that the result changed by using the different ordinal policies, but they're not correct so far. I think it does not work, because one lucene document can have one or even more categories in my indexing routine and I think this causes faulty

Re: [blog post] Automatically Acquiring Synonym Knowledge from Wikipedia

2013-05-27 Thread Rajesh Nikam
Hello Koji, This is seems pretty useful post on how to create synonyms file. Thanks a lot for sharing this ! Have you shared source code / jar for the same so at it could be used ? Thanks, Rajesh On Mon, May 27, 2013 at 8:44 PM, Koji Sekiguchi wrote: > Hello, > > Sorry for cross post. I jus

RE: please help

2013-05-27 Thread mary meriem
thank you very much :) > Date: Mon, 27 May 2013 16:19:18 -0400 > Subject: Re: please help > From: brendan.grain...@gmail.com > To: java-user@lucene.apache.org > > Java is telling you the issue there. You're trying to cast a > StandardDirectoryReader to an AtomicReader. I think AtomicReaders are p

Re: please help

2013-05-27 Thread Brendan Grainger
Java is telling you the issue there. You're trying to cast a StandardDirectoryReader to an AtomicReader. I think AtomicReaders are per segment readers and in this case you actually want to get a view of all the terms in the index (i.e. over all segments), so I think you could wrap the reader you ha

Common Index with personalized fields

2013-05-27 Thread Ravikumar Govindarajan
We have a system where N number of users are tied to a particular lucene index. Sort of "Shared Index". But each of the N users can have their own personalized fields. Ex: Every E-mail to lucene mailing-list is a document Every user part of this mailing-list has his own set of labels for tha

[blog post] Automatically Acquiring Synonym Knowledge from Wikipedia

2013-05-27 Thread Koji Sekiguchi
Hello, Sorry for cross post. I just wanted to announce that I've written a blog post on how to create synonyms.txt file automatically from Wikipedia: http://soleami.com/blog/automatically-acquiring-synonym-knowledge-from-wikipedia.html Hope that the article gives someone a good experience! koji

Re: Difference between Group and Facet

2013-05-27 Thread Elisabeth Adler
Hi, I'm not sure what you mean with how to index a group. You basically index all documents, and then group them for the results. To stay on the books example: you index books including information about the author. So each document in the index is a book. But in your result list, you want to displ

Re: Faceted Search: count direct matches/member für result nodes

2013-05-27 Thread Shai Erera
Hi To override OrdinalPolicy you need to do the following: FacetIndexingParams fip = new FacetIndexingParams() { public CategoryListParams getCategoryListParams(CategoryPath) { return new CategoryListParams() { public OrdinalPolicy getOrdinalPolicy(String) {} } } } BTW, in the

Re: Faceted Search: count direct matches/member für result nodes

2013-05-27 Thread Schimke, Danny
Hi, currently I have time to try out your suggestions. First I want try using the advice using "OrdinalPolicy". But I have problems defining the Params FacetIndexingParams. How do I create those params with the required OrdinalPolicy? I already searched a lot, but found no solution yet. Here i

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, > > Thanks. Let me go

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-lucene-3-5 > Best, > Eli

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 finding > it diffi

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