Re: Autosuggest

2010-05-14 Thread Blargy
Thanks for your help and especially your analyzer.. probably saved me a full-import or two :) -- View this message in context: http://lucene.472066.n3.nabble.com/Autosuggest-tp818430p818712.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Autosuggest

2010-05-14 Thread Blargy
"Easiest and oldest is wildcards on facets. " - Does this allow partial matching or is this only prefix matching? "It and facets allow limiting the database with searches. Using the spelling database does not allow this." - What do you mean? So there is no generally accepted preferred way to do

Re: Autosuggest

2010-05-14 Thread Tim Garton
I think terms component is the recommended way. That's how we have implemented it and from the solr wiki page http://wiki.apache.org/solr/TermsComponent: ... each term. This can be useful for doing auto-suggest or other things that operate ... Have to be careful how you filter the field during i

Re: Autosuggest

2010-05-14 Thread Lance Norskog
Easiest and oldest is wildcards on facets. Next easiest and more useful is from spelling suggestions: but, might be slow. Terms component? I guess. It and facets allow limiting the database with searches. Using the spelling database does not allow this. On Fri, May 14, 2010 at 2:39 PM, Blargy w

Re: bi-directional replication on solr 1.4?

2010-05-14 Thread Chris Hostetter
: It looks like SnapPuller.java doesn't allow for the possibility of the : slave having a later index version than the master. It only checks : whether the versions are equal. : : It's easy enough to add that check and prevent the index fetch when : the slave has a later version (in fact I'm runn

Autosuggest

2010-05-14 Thread Blargy
What is the preferred way to implement this feature? Using facets or the terms component (or maybe something entirely different). Thanks in advance! -- View this message in context: http://lucene.472066.n3.nabble.com/Autosuggest-tp818430p818430.html Sent from the Solr - User mailing list archive

Re: How to tell which field matched?

2010-05-14 Thread Jon Baer
Does the standard debug component (?debugQuery=on) give you what you need? http://wiki.apache.org/solr/SolrRelevancyFAQ#Why_does_id:archangel_come_before_id:hawkgirl_when_querying_for_.22wings.22 - Jon On May 14, 2010, at 4:03 PM, Tim Garton wrote: > All, > I've searched around for help wit

How to tell which field matched?

2010-05-14 Thread Tim Garton
All,     I've searched around for help with something we are trying to do and haven't come across much.  We are running solr 1.4. Here is a summary of the issue we are facing: A simplified example of our schema is something like this:             When someone does a search we search acros

Re: Recommended MySQL JDBC driver

2010-05-14 Thread Shawn Heisey
Lucas.. was there a reason you went with 5.1.10 or was it just the latest when you started your Solr project? just what was recent when i set things up. Also, how many items are in your index and how big is your index size? index size is 4.6GB with about 16M entities. I

Re: Recommended MySQL JDBC driver

2010-05-14 Thread Lukas Kahwe Smith
On 14.05.2010, at 19:16, Blargy wrote: > > Lucas.. was there a reason you went with 5.1.10 or was it just the latest > when you started your Solr project? just what was recent when i set things up. > Also, how many items are in your index and how big is your index size? index size is 4.6GB w

Re: Recommended MySQL JDBC driver

2010-05-14 Thread Blargy
Lucas.. was there a reason you went with 5.1.10 or was it just the latest when you started your Solr project? Also, how many items are in your index and how big is your index size? Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/Recommended-MySQL-JDBC-driver-tp817458p

Re: Recommended MySQL JDBC driver

2010-05-14 Thread Lukas Kahwe Smith
Hi, just FYI I am using mysql-connector-java-5.1.10-bin.jar and I my full import takes about 3 hours and I am not experiencing crashes. regards, Lukas

Re: Recommended MySQL JDBC driver

2010-05-14 Thread Blargy
Shawn, first off thanks for the reply and links! "As far as the error in the 5.0.8 version, does the import work, or does it fail when the exception is thrown?" - The import "works" for about 5-10 minutes then it fails and everything is rolled-back one the above exception is thrown. " You might

Re: Recommended MySQL JDBC driver

2010-05-14 Thread Shawn Heisey
I would like to know the same thing. I'm using 5.1.12 myself. A full reindex of one of my shards takes 4-6 hours for 7 million rows, depending on whether I run them one at a time or all at once. If I run the same query on the same machine with the commandline client and write the results to

Recommended MySQL JDBC driver

2010-05-14 Thread Blargy
Which driver is the "best" for use with solr? I am currently using mysql-connector-java-5.1.12-bin.jar in my production setting. However I recently tried downgrading and did some quick indexing using mysql-connector-java-5.0.8-bin.jar and I close to a 2x improvement in speed!!! Unfortunately I ke

Re: Connection Pool

2010-05-14 Thread gabriele renzi
On Fri, May 14, 2010 at 3:35 PM, Anderson vasconcelos wrote: > Hi > I wanna to know if has any connection pool client to manage the connections > with solr. In my system, we have a lot of concurrency index request. I cant > shared my  connection, i need to create one per transaction. But if i crea

Connection Pool

2010-05-14 Thread Anderson vasconcelos
Hi I wanna to know if has any connection pool client to manage the connections with solr. In my system, we have a lot of concurrency index request. I cant shared my connection, i need to create one per transaction. But if i create one per transaction, i think the performance will down. How you re

Re: SolrUser - ERROR:SCHEMA-INDEX-MISMATCH

2010-05-14 Thread Anderson vasconcelos
Thanks for the helps. The field is just for filter my data. They are: client_id, instance_id. When i index my data, i put de identifier of client (Because my application is a multiclient). When i search in solr, i wanna to find the docs where client_id:1, as example. Put the field as string, this w

Re: Facet Queries

2010-05-14 Thread Rakhi Khatwani
Hi, Thanks a lot...had a look @ tht... it solved my problem Thanks once again Regards Raakhi On Fri, May 14, 2010 at 2:13 PM, Leonardo Menezes < leonardo.menez...@googlemail.com> wrote: > Hey, >there´s plenty of documentation about that... > > http://wiki.apache.org/solr/SimpleFacetParame

disable caches in real time

2010-05-14 Thread Marco Martinez
Hi, I want to know if there is any approach to disable caches in a specific core from a multicore server. My situation is the next: I have a multicore server where the core0 will be listen to the queries and other core (core1) that will be replicated from a master server. Once the replication ha

Re: Facet Queries

2010-05-14 Thread Leonardo Menezes
Hey, there´s plenty of documentation about that... http://wiki.apache.org/solr/SimpleFacetParameters#Field_Value_Faceting_Parameters On Fri, May 14, 2010 at 10:38 AM, Rakhi Khatwani wrote: > Hi, >whn i use facet queries, whats the default size of the results > returned? how do we conf

Facet Queries

2010-05-14 Thread Rakhi Khatwani
Hi, whn i use facet queries, whats the default size of the results returned? how do we configure if we want all the results shown? Regards Raakhi

Issues With Solr Cloud Setup

2010-05-14 Thread Rakhi Khatwani
Hi, I was going through solr cloud documentation ( http://wiki.apache.org/solr/SolrCloud). and was trying out a simple setup. I could execute example A and B successfully. However whn i try example C, i get the following exception: 2010 12:22:29 PM org.apache.log4j.Category warn WARNING: Excep