You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lucenenet.apache.org by Kimon Topouzidis <ki...@gmail.com> on 2015/12/14 03:54:33 UTC

Lucene.Net question

Dear Sir/Madam
I am building an application in C# that searches a database with Lucene.Net
3.0.3.My question is, can i have a quick guide on how to make facets using
Lucene.Net 3.0.3. I am really trying to find something to start on, but it
seems that i cant.

I would be greatful if you could help me.

Yours sincerely,

Topouzidis Kimon,
Student at Alexander Institute of Technology,
Department of Informatics.

Re: Lucene.Net question

Posted by Kimon Topouzidis <ki...@gmail.com>.
Thanks for your reply.
I am still having problem, in understanding on how to implement the facet
to my C# windows application form. I am trying to find a working example
but i cant. There is no way for me to make Simple Faceted Search work and
it seems i cant understand the usage of the bobobrowse.net either. It would
be realy great if you could advise me on how i can implement the facets on
my project(Uses lucene to search a database(Access) and displaying the
results on a datagridview.) Heres the link to my projest:
https://github.com/assignment128A-adopse/Assignment

I really appreciate all of your interest and support.. I would be greatfull
if you could give me a guidance or even better a solution for my problem!!

-Kimon.

2015-12-14 10:00 GMT+02:00 Shad Storhaug <sh...@shadstorhaug.com>:

> Hello Kimon,
>
> Personally, I was unable to make the Simple Faceted Search function due to
> lack of examples.
>
> I ended up creating a .NET port of Bobo-Browse that is compatible with
> Lucene.Net 3.0.3. It is called BoboBrowse.Net. It is the simplest way I
> have found to create facets, there are dozens of built in facet types to
> handle scenarios such as ranges and geo-location, not to mention it is
> extensible should you need to create your own.
>
> https://github.com/NightOwl888/BoboBrowse.Net
>
> Documentation
>
> https://github.com/NightOwl888/BoboBrowse.Net/wiki
>
> Also, have a look at the demos to get started.
>
> https://github.com/NightOwl888/BoboBrowse.Net/tree/master/src/CarDemo
> https://github.com/NightOwl888/FacetedSearchPrototype
>
>
> Thanks,
> NightOwl888
>
>
> -----Original Message-----
> From: Michael Herndon [mailto:mherndon@michaelherndon.com]
> Sent: Monday, December 14, 2015 2:43 PM
> To: user@lucenenet.apache.org
> Subject: Re: Lucene.Net question
>
> Hi Kimon Topouzidis,
>
> Take a look at the Simple Faceted Search contrib project.
>
> https://cwiki.apache.org/confluence/display/LUCENENET/Simple+Faceted+Search
>
>
> https://github.com/apache/lucenenet/tree/812e1c541f1a00392391c5761fd3dcb7b0aedd88/src/contrib/SimpleFacetedSearch
>
> - Michael
>
> On Sun, Dec 13, 2015 at 9:54 PM, Kimon Topouzidis <ki...@gmail.com>
> wrote:
>
> > Dear Sir/Madam
> > I am building an application in C# that searches a database with
> > Lucene.Net 3.0.3.My question is, can i have a quick guide on how to
> > make facets using Lucene.Net 3.0.3. I am really trying to find
> > something to start on, but it seems that i cant.
> >
> > I would be greatful if you could help me.
> >
> > Yours sincerely,
> >
> > Topouzidis Kimon,
> > Student at Alexander Institute of Technology, Department of
> > Informatics.
> >
>

RE: Lucene.Net question

Posted by Shad Storhaug <sh...@shadstorhaug.com>.
Michael,

No I didn't. But they wouldn't have helped anyway. The examples don't show you how to get a list of the results of the combined facets as well as how to do sorting and paging on them. BoboBrowse.Net does everything in one round trip, which is what I was looking for.

Thanks,
NightOwl888

-----Original Message-----
From: Michael Herndon [mailto:mherndon@michaelherndon.com] 
Sent: Monday, December 14, 2015 8:01 PM
To: user@lucenenet.apache.org
Subject: Re: Lucene.Net question

Shad,

Did you look at the tests for Simple Faceted Search?

https://github.com/apache/lucenenet/blob/3.0.3/test/contrib/SimpleFacetedSearch/TestSimpleFacetedSearch.cs

-Michael

On Mon, Dec 14, 2015 at 3:00 AM, Shad Storhaug <sh...@shadstorhaug.com>
wrote:

> Hello Kimon,
>
> Personally, I was unable to make the Simple Faceted Search function 
> due to lack of examples.
>
> I ended up creating a .NET port of Bobo-Browse that is compatible with 
> Lucene.Net 3.0.3. It is called BoboBrowse.Net. It is the simplest way 
> I have found to create facets, there are dozens of built in facet 
> types to handle scenarios such as ranges and geo-location, not to 
> mention it is extensible should you need to create your own.
>
> https://github.com/NightOwl888/BoboBrowse.Net
>
> Documentation
>
> https://github.com/NightOwl888/BoboBrowse.Net/wiki
>
> Also, have a look at the demos to get started.
>
> https://github.com/NightOwl888/BoboBrowse.Net/tree/master/src/CarDemo
> https://github.com/NightOwl888/FacetedSearchPrototype
>
>
> Thanks,
> NightOwl888
>
>
> -----Original Message-----
> From: Michael Herndon [mailto:mherndon@michaelherndon.com]
> Sent: Monday, December 14, 2015 2:43 PM
> To: user@lucenenet.apache.org
> Subject: Re: Lucene.Net question
>
> Hi Kimon Topouzidis,
>
> Take a look at the Simple Faceted Search contrib project.
>
> https://cwiki.apache.org/confluence/display/LUCENENET/Simple+Faceted+S
> earch
>
>
> https://github.com/apache/lucenenet/tree/812e1c541f1a00392391c5761fd3d
> cb7b0aedd88/src/contrib/SimpleFacetedSearch
>
> - Michael
>
> On Sun, Dec 13, 2015 at 9:54 PM, Kimon Topouzidis 
> <ki...@gmail.com>
> wrote:
>
> > Dear Sir/Madam
> > I am building an application in C# that searches a database with 
> > Lucene.Net 3.0.3.My question is, can i have a quick guide on how to 
> > make facets using Lucene.Net 3.0.3. I am really trying to find 
> > something to start on, but it seems that i cant.
> >
> > I would be greatful if you could help me.
> >
> > Yours sincerely,
> >
> > Topouzidis Kimon,
> > Student at Alexander Institute of Technology, Department of 
> > Informatics.
> >
>

Re: Lucene.Net question

Posted by Michael Herndon <mh...@michaelherndon.com>.
Shad,

Did you look at the tests for Simple Faceted Search?

https://github.com/apache/lucenenet/blob/3.0.3/test/contrib/SimpleFacetedSearch/TestSimpleFacetedSearch.cs

-Michael

On Mon, Dec 14, 2015 at 3:00 AM, Shad Storhaug <sh...@shadstorhaug.com>
wrote:

> Hello Kimon,
>
> Personally, I was unable to make the Simple Faceted Search function due to
> lack of examples.
>
> I ended up creating a .NET port of Bobo-Browse that is compatible with
> Lucene.Net 3.0.3. It is called BoboBrowse.Net. It is the simplest way I
> have found to create facets, there are dozens of built in facet types to
> handle scenarios such as ranges and geo-location, not to mention it is
> extensible should you need to create your own.
>
> https://github.com/NightOwl888/BoboBrowse.Net
>
> Documentation
>
> https://github.com/NightOwl888/BoboBrowse.Net/wiki
>
> Also, have a look at the demos to get started.
>
> https://github.com/NightOwl888/BoboBrowse.Net/tree/master/src/CarDemo
> https://github.com/NightOwl888/FacetedSearchPrototype
>
>
> Thanks,
> NightOwl888
>
>
> -----Original Message-----
> From: Michael Herndon [mailto:mherndon@michaelherndon.com]
> Sent: Monday, December 14, 2015 2:43 PM
> To: user@lucenenet.apache.org
> Subject: Re: Lucene.Net question
>
> Hi Kimon Topouzidis,
>
> Take a look at the Simple Faceted Search contrib project.
>
> https://cwiki.apache.org/confluence/display/LUCENENET/Simple+Faceted+Search
>
>
> https://github.com/apache/lucenenet/tree/812e1c541f1a00392391c5761fd3dcb7b0aedd88/src/contrib/SimpleFacetedSearch
>
> - Michael
>
> On Sun, Dec 13, 2015 at 9:54 PM, Kimon Topouzidis <ki...@gmail.com>
> wrote:
>
> > Dear Sir/Madam
> > I am building an application in C# that searches a database with
> > Lucene.Net 3.0.3.My question is, can i have a quick guide on how to
> > make facets using Lucene.Net 3.0.3. I am really trying to find
> > something to start on, but it seems that i cant.
> >
> > I would be greatful if you could help me.
> >
> > Yours sincerely,
> >
> > Topouzidis Kimon,
> > Student at Alexander Institute of Technology, Department of
> > Informatics.
> >
>

RE: Lucene.Net question

Posted by Shad Storhaug <sh...@shadstorhaug.com>.
Hello Kimon,

Personally, I was unable to make the Simple Faceted Search function due to lack of examples. 

I ended up creating a .NET port of Bobo-Browse that is compatible with Lucene.Net 3.0.3. It is called BoboBrowse.Net. It is the simplest way I have found to create facets, there are dozens of built in facet types to handle scenarios such as ranges and geo-location, not to mention it is extensible should you need to create your own.

https://github.com/NightOwl888/BoboBrowse.Net

Documentation

https://github.com/NightOwl888/BoboBrowse.Net/wiki

Also, have a look at the demos to get started.

https://github.com/NightOwl888/BoboBrowse.Net/tree/master/src/CarDemo
https://github.com/NightOwl888/FacetedSearchPrototype


Thanks,
NightOwl888


-----Original Message-----
From: Michael Herndon [mailto:mherndon@michaelherndon.com] 
Sent: Monday, December 14, 2015 2:43 PM
To: user@lucenenet.apache.org
Subject: Re: Lucene.Net question

Hi Kimon Topouzidis,

Take a look at the Simple Faceted Search contrib project.

https://cwiki.apache.org/confluence/display/LUCENENET/Simple+Faceted+Search

https://github.com/apache/lucenenet/tree/812e1c541f1a00392391c5761fd3dcb7b0aedd88/src/contrib/SimpleFacetedSearch

- Michael

On Sun, Dec 13, 2015 at 9:54 PM, Kimon Topouzidis <ki...@gmail.com>
wrote:

> Dear Sir/Madam
> I am building an application in C# that searches a database with 
> Lucene.Net 3.0.3.My question is, can i have a quick guide on how to 
> make facets using Lucene.Net 3.0.3. I am really trying to find 
> something to start on, but it seems that i cant.
>
> I would be greatful if you could help me.
>
> Yours sincerely,
>
> Topouzidis Kimon,
> Student at Alexander Institute of Technology, Department of 
> Informatics.
>

Re: Lucene.Net question

Posted by Michael Herndon <mh...@michaelherndon.com>.
Hi Kimon Topouzidis,

Take a look at the Simple Faceted Search contrib project.

https://cwiki.apache.org/confluence/display/LUCENENET/Simple+Faceted+Search

https://github.com/apache/lucenenet/tree/812e1c541f1a00392391c5761fd3dcb7b0aedd88/src/contrib/SimpleFacetedSearch

- Michael

On Sun, Dec 13, 2015 at 9:54 PM, Kimon Topouzidis <ki...@gmail.com>
wrote:

> Dear Sir/Madam
> I am building an application in C# that searches a database with Lucene.Net
> 3.0.3.My question is, can i have a quick guide on how to make facets using
> Lucene.Net 3.0.3. I am really trying to find something to start on, but it
> seems that i cant.
>
> I would be greatful if you could help me.
>
> Yours sincerely,
>
> Topouzidis Kimon,
> Student at Alexander Institute of Technology,
> Department of Informatics.
>