Re: Phrase indexing and searching

2013-12-23 Thread Manjula Wijewickrema
Hi Steve,

Thanks for the reply. Could you please simply let me know how to embed
SingleFilter in the code for both indexing and searching? Coz, different
people suggest different snippets to the code and they did not do the job.

Thanks,

Manjula.


On Mon, Dec 23, 2013 at 8:42 PM, Steve Rowe  wrote:

> Hi Manjula,
>
> Sounds like ShingleFilter will do what you want: <
>
> http://lucene.apache.org/core/4_6_0/analyzers-common/org/apache/lucene/analysis/shingle/ShingleFilter.html
> >
>
> Steve
> www.lucidworks.com
> On Dec 22, 2013 11:25 PM, "Manjula Wijewickrema" 
> wrote:
>
> > Dear All,
> >
> > My Lucene programme is able to index single words and search the most
> > matching documents (based on term frequencies) documents from a corpus to
> > the input document.
> > Now I want to index two word phrases and search the matching corpus
> > documents (based on phrase frequencies) to the input documents.
> >
> > ex:-
> > input document:
> > blue house is very beautiful
> >
> > split it into phrases (say two term phrases) like:
> > blue house
> > house very
> > very beautiful
> > etc.
> >
> >  Is it possible to do this with Lucene? If so how can I do it?
> >
> > Thanks,
> >
> > Manjula.
> >
>


Re: Phrase indexing and searching

2013-12-23 Thread Steve Rowe
Hi Manjula,

Sounds like ShingleFilter will do what you want: <
http://lucene.apache.org/core/4_6_0/analyzers-common/org/apache/lucene/analysis/shingle/ShingleFilter.html
>

Steve
www.lucidworks.com
On Dec 22, 2013 11:25 PM, "Manjula Wijewickrema" 
wrote:

> Dear All,
>
> My Lucene programme is able to index single words and search the most
> matching documents (based on term frequencies) documents from a corpus to
> the input document.
> Now I want to index two word phrases and search the matching corpus
> documents (based on phrase frequencies) to the input documents.
>
> ex:-
> input document:
> blue house is very beautiful
>
> split it into phrases (say two term phrases) like:
> blue house
> house very
> very beautiful
> etc.
>
>  Is it possible to do this with Lucene? If so how can I do it?
>
> Thanks,
>
> Manjula.
>


Re: Regarding Lucene.net

2013-12-23 Thread Shashi Kant
You are probably better off working with Solr in a multi-user system,
and since you seem be on .net, use Solrnet wrapper to call Solr from
your .net app.


On Mon, Dec 23, 2013 at 1:37 AM, raju  wrote:
> a high level I understand the lucence searcher will get the
> directory path and search the query in the text file and return the result,
> hope my understanding is correct. In that case how it will manage multiple
> users at same time ??




-- 
sk...@alum.mit.edu
(604) 446-2460

-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org



Fwd: Regarding Lucene.net

2013-12-23 Thread raju
Hi All,

 I'm new to lucene.net and after getting some articles and documents , we
are planning to go for Lucenc search. Here my doubt is regarding the search
hit for the directory by multiple users at same time??

As a high level I understand the lucence searcher will get the
directory path and search the query in the text file and return the result,
hope my understanding is correct. In that case how it will manage multiple
users at same time ??

Please give me a clear idea about my understanding, sorry if I'm wrong in
any point.

Thanks,
Raju