DocValues: Which format is better Default or Memory?

2015-07-01 Thread Aman Tandon
Hi, I tried to use the docValues to reduce the search time, but when I am using the default format for docValues it is taking more time as compared to normal faceting technique (without docValues). Should I go for Memory format or there is something missing? *Note:-* I am doing the indexing at e

how to

2015-07-01 Thread rulinma
search "iphone" but I don't want "iphone test" content is the first record, I want minus "test" weights , how to do this. thanks. -- View this message in context: http://lucene.472066.n3.nabble.com/how-to-tp4215345.html Sent from the Solr - User mailing list archive at Nabble.com.

spellcheck suggestions not sorted correctly

2015-07-01 Thread সৌভিক
Hi, I'm using solr 4.6.1 spellcheck component for spelling suggestions. I configured it to use DirectSolrSpellChecker with default distance function and the comparator, which, as I understand, means the suggestions are ranked by Levenshtein edit distance (primary key), followed by document frequen

Re: Bug: replies mixed up with concurrent requests from the same host

2015-07-01 Thread Chris Hostetter
: Hmm, interesting. That particular bug was fixed by upgrading to Jetty : 4.1.7 in https://issues.apache.org/jira/browse/SOLR-4031 1st) Typo - Shalin ment 8.1.7 above. 2nd) If you note the details of both issues, no root cause was ever identified as being "fixed" -- all that hapened was that Pe

Re: Using Facets to Limit the Scope of a Search

2015-07-01 Thread Toke Eskildsen
Paden wrote: > How would I perform a http request that would say return the documents of > previous query but ONLY the documents where author = (author with 31 > documents) Simplest thing is to add it as a filter query: q=fairy+tales&fq=author:"H. C. Andersen" - Toke Eskildsen

Suggester duplicating values

2015-07-01 Thread Rafael
Hi, I'm building a autocomplete solution on top of Solr for an ebook seller, but my database is complete denormalized, for example, I have this kind of records: *author | title | price* -+-+- J. R. R. Tolkien | Lor

Using Facets to Limit the Scope of a Search

2015-07-01 Thread Paden
Hello, I feel like this is a really basic question but I'm struggling to find the answer. I'm trying to figure out what the HTTP request is would limit the scope of a search based on the facet. Say I performed a query and the facet field request returns the top ten authors of the facet count and

Re: optimize status

2015-07-01 Thread Shawn Heisey
On 6/30/2015 6:23 AM, Erick Erickson wrote: > I've actually seen this happen right in front of my eyes "in the > field". However, that was a very high-performance environment. My > assumption was that fragmented index files were causing more disk > seeks especially for the first-pass query response

Lucene API - ConstantScoreQuery

2015-07-01 Thread Bob Cook
I'm upgrading a plugin from Solr 4.3.1 to Solr 5.2.1 that uses the Lucene API "ConstantScoreQuery class". The code calls, "getFilter()" on a ConstantScoreQuery object which was available from 4.3.1 to Solr 5.0.0 as shown in the API documentation, but has been removed in 5.1.0. I tried to look at

RE: optimize status

2015-07-01 Thread Reitzel, Charles
Thanks, Upayavira and Shawn, for sharing what is happening internally. Your points (cluster state explosion, segment per commit, solr/lucene split) are well taken. Wishful thinking aside, my gut instinct is that such a scheme would cause Solr's stellar indexing speed drop dramatically to matc

Re: Bug: replies mixed up with concurrent requests from the same host

2015-07-01 Thread Shalin Shekhar Mangar
Hmm, interesting. That particular bug was fixed by upgrading to Jetty 4.1.7 in https://issues.apache.org/jira/browse/SOLR-4031 Solr uses Jetty 8.1.10.v20130312 in 5.0 but we upgraded further to 9.2.10.v20150310 in 5.2. Can you upgrade Solr to 5.2 and see if this still reproduces? I'll also try to

Re: Solr DIH from MySQL with unique ID

2015-07-01 Thread kurt
The solution was to delete the tlog. Although it was not very big, it seemed to be caught-up on a previous indexing error and that kept trying to load. Many thanks again. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-DIH-from-MySQL-with-unique-ID-tp4214872p4215246.htm

Re: Correcting text at index time

2015-07-01 Thread Jack Krupansky
Absolutely - I'm always in favor of coming up with additional work for other people to do. -- Jack Krupansky On Wed, Jul 1, 2015 at 6:04 AM, Alessandro Benedetti < benedetti.ale...@gmail.com> wrote: > Honestly, if I had to write a custom UpdateRequestProcessor I would go for > a SynonymUpdatePro

Re: Suggester configuration queries.

2015-07-01 Thread Erick Erickson
that's where I'd start at least. Erick On Wed, Jul 1, 2015 at 6:56 AM, ssharma7...@gmail.com wrote: > Erick, > As per your reply - *"So for your situation, I'd use a copyField to a > minimally-analyzed field > and use the index-based suggesters."* > > Are you suggesting use of "spellCheck" c

Re: Restricting fields returned by Suggester reult.

2015-07-01 Thread ssharma7...@gmail.com
Alessandro Benedetti, Thanks for the reply, it answered my query. Thanks, Sachin Vyas. -- View this message in context: http://lucene.472066.n3.nabble.com/Restricting-fields-returned-by-Suggester-reult-tp4214948p4215193.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Suggester configuration queries.

2015-07-01 Thread ssharma7...@gmail.com
Erick, As per your reply - *"So for your situation, I'd use a copyField to a minimally-analyzed field and use the index-based suggesters."* Are you suggesting use of "spellCheck" component in Solr, and in it "DirectSolrSpellChecker"? Regards, Sachin Vyas. -- View this message in context:

Re: Correcting text at index time

2015-07-01 Thread Alessandro Benedetti
Honestly, if I had to write a custom UpdateRequestProcessor I would go for a SynonymUpdateProcessor, taking in input the same Synonim file style SynonimTokenFilter is using. Would be much easier to configure and use it! Cheers 2015-07-01 2:55 GMT+01:00 Jack Krupansky : > You would have to have

Bug: replies mixed up with concurrent requests from the same host

2015-07-01 Thread Kevin Perros
Hello, I'm new to the solr mailing list, and I have not used solr for much time, so I might be wrong. I may have found a bug whose symptoms look that one in jetty https://bugs.eclipse.org/bugs/show_bug.cgi?id=392936 I am using solr 5.0.0 (the one with the great packaging and deployment wor

Re: Restricting fields returned by Suggester reult.

2015-07-01 Thread Alessandro Benedetti
I think you don't have the Suggester Solr Component clear… The suggester works on "terms" not on documents. The results returned are a list of terms per dictionary. Because we are not returning documents, you can not filter by field ( actually a suggester has knowledge of its Dictionary, not about

Re: DIH deletes cause opening of searchers

2015-07-01 Thread Mikhail Khludnev
On Tue, Jun 30, 2015 at 7:17 PM, Shawn Heisey wrote: > On 6/25/2015 2:20 AM, Mikhail Khludnev wrote: > >> On Tue, Jun 23, 2015 at 9:23 AM, Rudolf Grigeľ >> wrote: >> >>> How can I prevent opening new searcher after >>> every delete statement ? >>> >> comment tag in solrconfig.xml (it always hel

Re: cursorMark and timeAllowed are mutually exclusive?

2015-07-01 Thread Bernd Fehling
Hi Chris, another question pops up, is cursorMark cloud aware? And if so, who is handling the cursorMark and what if a shard goes down and comes up again? Regards Bernd Am 30.06.2015 um 08:43 schrieb Bernd Fehling: > Thanks for your explanation. > Right out of your head, are there any other opt

RE: Attaching payload on spatial RPT?

2015-07-01 Thread Markus Jelsma
Apologies for the bump, but there should be someone with a clever idea? :) Cheers, Markus -Original message- > From:Markus Jelsma > Sent: Wednesday 24th June 2015 11:20 > To: solr-user > Subject: Attaching payload on spatial RPT? > > Hi we have a multiValued spatial RPT field. Each do