Faceted Search User's Guide for Lucene 4.8.1

2014-06-11 Thread Raf
Hi, I have found this useful guide to the "*Lucene Faceted Search*": http://lucene.apache.org/core/4_4_0/facet/org/apache/lucene/facet/doc-files/userguide.html The problem is that it refers to Lucene version 4.4, while I am using the latest available release (4.8.1) and I cannot find some classes

AW: Analyzing suggester for many fields

2014-06-11 Thread Clemens Wyss DEV
Unfortunately the link provided by Goutham is no more valid. Anybody still got the code? -Ursprüngliche Nachricht- Von: Goutham Tholpadi [mailto:gtholp...@gmail.com] Gesendet: Donnerstag, 29. August 2013 06:21 An: java-user@lucene.apache.org Betreff: Re: Analyzing suggester for many fiel

Re: Faceted Search User's Guide for Lucene 4.8.1

2014-06-11 Thread Shai Erera
Hi We removed the userguide long time ago, and replaced it with better documentation on the classes and package.html, as well as demo code that you can find here: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_8/lucene/demo/src/java/org/apache/lucene/demo/facet/ You can also l

will score get changed as document continuously added.

2014-06-11 Thread Rajendra Rao
I am planning to implement lucene searching in my project. I have to save score of document corresponding to query . say i have query q and documents d1,d2,d3 .after running lucene i got q1 d30.643 d10.554 d20.462 Now 1 more document d4 comes and above proces

Re: Faceted Search User's Guide for Lucene 4.8.1

2014-06-11 Thread Raf
Hi Shai, On Wed, Jun 11, 2014 at 1:05 PM, Shai Erera wrote: > Hi > > We removed the userguide long time ago, and replaced it with better > documentation on the classes and package.html, as well as demo code that > you can find here: > > https://svn.apache.org/repos/asf/lucene/dev/branches/lucene

RE: will score get changed as document continuously added.

2014-06-11 Thread Uwe Schindler
Yes the score will change, because the new documents change the statistics. In general, scores cannot be seen as absolute numbers, they are only useful to compare between search results of the exact same query at the same index snapshot. They have no global meaning. Uwe - Uwe Schindler H.-

Re: ShingleAnalyzerWrapper question

2014-06-11 Thread Steve Rowe
You should give sw rather than analyzer in the IndexWriter actor. Steve www.lucidworks.com On Jun 11, 2014 2:24 AM, "Manjula Wijewickrema" wrote: > Hi, > > In my programme, I can index and search a document based on unigrams. I > modified the code as follows to obtain the results based on bigra

Exact Phrase Search returning in correct results

2014-06-11 Thread Scott Selvia
I’m having an issue searching for an exact phrase with Lucene 4.7. My use case loaded the Declaration of Independence into a Lucene search database. I search for “it becomes” and I get two hits; one for “it, becomes” and another for a line that just has “becomes” at the end of the line. Expec

RE: Exact Phrase Search returning in correct results

2014-06-11 Thread Allison, Timothy B.
StandardAnalyzer with that configuration drops stop words at both index and search time. So, in effect, you really are just searching for "becomes". If your use case requires you to be able to search stop words consider adding CharArraySet.EMPTY_SET to the StandardAnalyzer's initializer. -

Re: Exact Phrase Search returning in correct results

2014-06-11 Thread Scott Selvia
Thank you will give it a try On Jun 11, 2014, at 12:58 PM, Allison, Timothy B. wrote: > StandardAnalyzer with that configuration drops stop words at both index and > search time. So, in effect, you really are just searching for "becomes". If > your use case requires you to be able to search

RE: will score get changed as document continuously added.

2014-06-11 Thread Chris Hostetter
: Yes the score will change, because the new documents change the : statistics. In general, scores cannot be seen as absolute numbers, they : are only useful to compare between search results of the exact same : query at the same index snapshot. They have no global meaning. This wiki page goes

[ISSUE] Setting index time boost on StoredField

2014-06-11 Thread Ethsaam Javaid
Hi, I am trying to boost an already indexed document that has three fields, 'id' -> LongField (stored), 'timestamp' -> LongField (tored), 'text' -> TextField (indexed, not stored) so my documents are of the form doc1 doc2 ... Now, with a document how can I possible set a boost, or vote up a docum

timing merges

2014-06-11 Thread Jamie
Hi All, What's the best way to control the timing when merges occur? In particular, I'd like less merges to occur when the rate of indexing new documents is high, and more merges to occurs when the indexing rate drops. What's the best way to accomplish this? Do I need to implement a custom me