Best practice: Autosuggest/autocomplete vs. "real search"

2014-11-09 Thread Thomas Michael Engelke
We're using Solr as a backend for an ECommerce site/system. The Solr index stores products with selected attributes, as well as a dedicated field for autocomplete suggestions (Done via AJAX request when typing in the search box without pressing return). The autosuggest field is supplied by cop

Ask Question

2014-11-09 Thread duan duan
Solr :use DIH to update indexes to SolrCloud in the Specified shard? Case: i want to insert indexes to solrcloud inspecified shard ,the shard was that what i dynamically added. Can solr

Proper way to backup solr.

2014-11-09 Thread elmerfudd
What is the proper way to backup Solr while running, in the index level and in the node level. How do you restore it afterwards ? thanks ahead. -- View this message in context: http://lucene.472066.n3.nabble.com/Proper-way-to-backup-solr-tp4168498.html Sent from the Solr - User mailing list a

Re: Search for partial name in Solr 4.x

2014-11-09 Thread Jack Krupansky
Please post some examples of titles and queries that you expect should match. How "partial" can the title be? How "full" does it need to be? When there are multiple partial matches how are you expecting them to be ranked? -- Jack Krupansky -Original Message- From: PeriS Sent: Sunday,

Re: indexing errors when storeOffsetsWithPositions="true" in solr 4.9.1

2014-11-09 Thread Min L
Thanks for the replies. I found out that although we are using solr 4.9.1, the luceneMatchVersion specified in the solrconfig is still 4.7 which doesn't have the bug fix. On Sun, Nov 9, 2014 at 10:24 AM, Anurag Sharma wrote: > Is it possible to share the sequence of steps with data causing this

Parsing Faceted Search output in Solr

2014-11-09 Thread Mayuri Laxman Gadsing
Hi all, I'm using the faceted search in Solr. I wanted to know if there's a way to display selective records in the sublist. I've tried this query - localhost:8983/solr/select?q=*:*&facet=true&facet.pivot=city,jobtype&facet.field=jobtype&facet.query=jobtype:Tiempo&fl=title I want to display jobs

Re: High system cpu usage while starting solr

2014-11-09 Thread William Bell
See recent post about AutoSuggest from Yonik. On Fri, Nov 7, 2014 at 12:10 PM, Erick Erickson wrote: > Another thing is to put in some autowarming, both > on the caches and firstSearcher and newSearcher. > These will pre-fill the caches before having new > searchers handle queries. > > Don't go

Re: Search for partial name in Solr 4.x

2014-11-09 Thread Otis Gospodnetic
Hi, You may be looking for wildcard queries or ngrams. Otis > On Nov 9, 2014, at 3:26 PM, PeriS wrote: > > I was wondering if there is a way to search on partial names? Ex; Field is a > string and stores values like titles of a book; When searching part of the > title may be supplied; How

Re: Search for partial name in Solr 4.x

2014-11-09 Thread Jorge Luis Betancourt Gonzalez
The whole idea behind Solr is to solve the problem that you just explain, in particular what you need is to define the title field as a solr.TextField and then define a tokenizer. The tokenizer essentially will transform the initial text into tokens. Solr has several tokenizers, each which its s

Re: How to choose only one best hit from several ones ?

2014-11-09 Thread Jorge Luis Betancourt Gonzalez
How would you measure which snippet is the best? On Nov 9, 2014, at 1:59 PM, SolrUser1543 wrote: > Lets say that for some query there are several results , with several hits > for each one , which shown in hightligth section of the response. > > Is it possible to select only one best hit for e

Re: Help with SolrCloud exceptions while recovering

2014-11-09 Thread Bruno Osiek
Erick, Once again thank you very much for your attention. Now my pseudo-distributed SolrCloud is configured with no inconsistency. An additional problem was starting Jboss with "solr.data.dir" set to a path not expected by Solr (actually it was not even underneath solr.home directory). This thre

Re: import 2 mysql tables into Solr 4

2014-11-09 Thread Tim Dunphy
Hi Alex, On Tue, Nov 4, 2014 at 4:10 PM, Alexandre Rafalovitch wrote: > Looks right. Just remember to double check the preImportDeleteQuery > documentation to avoid surprises later > > Regards, >Alex. > Personal: http://www.outerthoughts.com/ and @arafalov > Solr resources and newsletter

Search for partial name in Solr 4.x

2014-11-09 Thread PeriS
I was wondering if there is a way to search on partial names? Ex; Field is a string and stores values like titles of a book; When searching part of the title may be supplied; How do I resolve this? Please let me know Thanks -PeriS *** DISCLAIMER *** This is a PRIVATE message. If you are n

Document versioning support

2014-11-09 Thread SolrUser1543
Suppose I have a text field called "myTextField" . Sometimes the field content may change . I would like to have all versions of this field be indexed in Solr . What I want to do , is to make 'myTextField' contain the latest version of the content and create additional multivalued field called 'm

Re: Migrating from master/slave to solrcloud.

2014-11-09 Thread Noble Paul
yeah , . start a zookeeper server. stop your solr servers and start the server with the -Dzkhost system property On Sun, Nov 9, 2014 at 11:15 PM, mike st. john wrote: > Is there a quick way to go from single index master/slave to solrcloud > without a full reindex? > > > thanks. > > Msj > --

How to choose only one best hit from several ones ?

2014-11-09 Thread SolrUser1543
Lets say that for some query there are several results , with several hits for each one , which shown in hightligth section of the response. Is it possible to select only one best hit for every result ? there are hl.snippets parameter which controls number of snippets . hl.snippets=1 , will show t

Re: Analytics result for each Result Group

2014-11-09 Thread Anurag Sharma
Can a function query(http://wiki.apache.org/solr/FunctionQuery) serves your use case On Wed, Nov 5, 2014 at 3:36 PM, Talat Uyarer wrote: > I searched wiki pages about that. I do not find any documentation. If > you help me I will be glad. > > Thanks > > 2014-11-04 11:34 GMT+02:00 Talat Uyarer :

Re: indexing errors when storeOffsetsWithPositions="true" in solr 4.9.1

2014-11-09 Thread Anurag Sharma
Is it possible to share the sequence of steps with data causing this issue On Wed, Nov 5, 2014 at 4:51 PM, Alan Woodward wrote: > Hi Min, > > Do you have the specific bit of text that caused this exception to be > thrown? > > Alan Woodward > www.flax.co.uk > > > On 4 Nov 2014, at 23:15, Min L wr

Re: Best way to map holidays to corresponding date

2014-11-09 Thread Jack Krupansky
Try writing a few examples. Try christmas, easter, and memorial day. -- Jack Krupansky -Original Message- From: Anurag Sharma Sent: Sunday, November 9, 2014 12:54 PM To: solr-user@lucene.apache.org Subject: Re: Best way to map holidays to corresponding date Not sure this is the correc

Re: Best way to map holidays to corresponding date

2014-11-09 Thread Anurag Sharma
Not sure this is the correct way but can we use synonyms here On Wed, Nov 5, 2014 at 6:14 PM, Jack Krupansky wrote: > Unfortunately, a date is a non-analyzed field, so you can't do something > like a synonym. > > Further, Holidays are repeating - every year - and the dates can vary, so > they wo

Migrating from master/slave to solrcloud.

2014-11-09 Thread mike st. john
Is there a quick way to go from single index master/slave to solrcloud without a full reindex? thanks. Msj

Re: Help with SolrCloud exceptions while recovering

2014-11-09 Thread Erick Erickson
OK, we're _definitely_ in the speculative realm here, so don't think I know more than I do ;)... The next thing I'd try is to go back to "native" as the lock type on the theory that the lock type wasn't your problem, it was the too-frequent commits. bq: This file "_1.nvm" once existed. Was delete

Re: Help with SolrCloud exceptions while recovering

2014-11-09 Thread Bruno Osiek
Hi Erick, Thank you very much for your reply. I disabled client commit while setting commits at solconfig.xml as follows: ${solr.autoCommit.maxTime:30} false ${solr.autoSoftCommit.maxTime:6} The picture changed for the better. No more index c

Re: Solr 4.10 very slow on build()

2014-11-09 Thread Mohsen Saboorian
​Thanks for the answer. Voted for the issue.​ On Sat, Nov 8, 2014 at 11:38 PM, Yonik Seeley-5 [via Lucene] < ml-node+s472066n4168375...@n3.nabble.com> wrote: > Try commenting out the suggester component & handler in solrconfig.xml: > https://issues.apache.org/jira/browse/SOLR-6679 > > -Yonik > ht