Re: Baseline vs. Incremental Indexing

2011-04-29 Thread Satish Kumar
thanks Markus and Otis! This link was helpful: http://wiki.apache.org/solr/SolrPerformanceFactors#Optimization_Considerations On Fri, Apr 29, 2011 at 3:12 PM, Markus Jelsma wrote: > The only thing you'd periodically do is optimizing the existing index. > > > Hi Satish, > > > > I can't think of a

Re: Baseline vs. Incremental Indexing

2011-04-29 Thread Markus Jelsma
The only thing you'd periodically do is optimizing the existing index. > Hi Satish, > > I can't think of any benefits you'd reap by complete/full reindexing into a > new index. Incremental indexing will be faster. > > > Otis > > Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch >

Re: Baseline vs. Incremental Indexing

2011-04-29 Thread Otis Gospodnetic
Hi Satish, I can't think of any benefits you'd reap by complete/full reindexing into a new index. Incremental indexing will be faster. Otis Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem search :: http://search-lucene.com/ - Original Message > From:

Baseline vs. Incremental Indexing

2011-04-29 Thread Satish Kumar
Hi, Currently we index new/updated records every 30 minutes (I am referring to this as incremental/partial index) -- i.e., records will be added to an existing index. Are there any benefits in creating a new index (i.e., delete the existing index and create it) from a performance point of view eve

Re: querying in Java

2011-04-29 Thread Anuj Kumar
Hi Jeff, In that case, you can create a new index field (set indexed to true and stored to false) and copy all your fields to it using copyField. Also make this new field as your default search field. This will handle your case. Regards, Anuj On Fri, Apr 29, 2011 at 11:36 PM, Saler, Jeff wrote

Re: querying in Java

2011-04-29 Thread Rob Casson
copyField should do the trick: http://wiki.apache.org/solr/SchemaXml#Copy_Fields "A common requirement is to copy or merge all input fields into a single solr field. This can be done as follows:- " hth, rob On Fri, Apr 29, 2011 at 2:06 PM, Saler, Jeff wrote: > Thanks for the reply.

RE: querying in Java

2011-04-29 Thread Saler, Jeff
Thanks for the reply. What I want is for the query to search all fields for the specified value. -Original Message- From: Anuj Kumar [mailto:anujs...@gmail.com] Sent: Friday, April 29, 2011 1:51 PM To: solr-user@lucene.apache.org Subject: Re: querying in Java Hi Jeff, In that case, it

Re: querying in Java

2011-04-29 Thread Anuj Kumar
Hi Jeff, In that case, it will query w.r.t default field. What is your default search field in the schema? Regards, Anuj On Fri, Apr 29, 2011 at 11:10 PM, Saler, Jeff wrote: > Is there any way to query for data that is in any field, i.e. not using > a specific field name? > > > > For example,

querying in Java

2011-04-29 Thread Saler, Jeff
Is there any way to query for data that is in any field, i.e. not using a specific field name? For example, when I use the following statements: SolrQuery query = new SolrQuery(); Query.setQuery("ANALYST:John Schummers"); QueryResponse rsp = server

Re: Autocomplete(terms) middle of words

2011-04-29 Thread Grijesh
solr-1.4 version does not support terms.regex .So you need to upgrade your version to solr-3.1. -Thanx: Grijesh www.gettinhahead.co.in -- View this message in context: http://lucene.472066.n3.nabble.com/Autocomplete-terms-middle-of-words-tp2878694p2880040.html Sent from the Solr - User mail

Re: SOLR startup problem

2011-04-29 Thread Grijesh
it seems jar files related to DataImport Handler are not being loaded in memory.Try to copy Data Import Handler related jars to solr_home/lib directory and restart the servlet container. -Thanx: Grijesh www.gettinhahead.co.in -- View this message in context: http://lucene.472066.n3.nabble.co

Re: Problem with Master

2011-04-29 Thread Ezequiel Calderara
Just to add more info... this is the result of a Replication / Command=Details I'm really confused by the masterDetails/indexSize being 52 byts (its correct), but the indexSize being 303.8 KB - - 0 15 - 303.8 KB D:\Solr\data\solr\index false true 1301331343628 3 - -

Problem with Master

2011-04-29 Thread Ezequiel Calderara
Hello, i'm having some issues with replication in my production environment. I have a master and 4 slaves. I had some data indexed and was replicated successfully. We are close to make the production environment public, so i deleted the old data deleting the data folder in the master Then i reloa

Re: Autocomplete(terms) middle of words

2011-04-29 Thread ramires
hi I tried before both %20 and " " terms it didn`t work. Also regex=(.*)(book) delete spaces and merge results like thebook asbook atbook songbook yearbook-- View this message in context: http://lucene.472066.n3.nabble.com/Autocomplete-terms-middle-of-words-tp2878694p2879375.html Sent from

Re: Autocomplete(terms) middle of words

2011-04-29 Thread Quentin Proust
@roySolr : terms.regex exits from Solr 3.1. Doesn't seem compatible. @ramires : Did you try with space in your regex. Something like terms.regex=(.*) book (.*) <-- I put space before and after book. If it doesn't work, try to replace space with %20. I didn't try so I don't know if it work. 2011/4

Re: Can the Suggester be updated incrementally?

2011-04-29 Thread Jason Rutherglen
Good question, you could be correct about that. It's possible that part hasn't been built yet? If not then you could create a patch? On Thu, Apr 28, 2011 at 10:13 PM, Andy wrote: > > --- On Fri, 4/29/11, Jason Rutherglen wrote: > >> It's answered on the wiki site: >> >> "TSTLookup - ternary tr

Re: Autocomplete(terms) middle of words

2011-04-29 Thread ramires
hi I have question about regex terms. I try to find terms before and after word'ing but can't sand blank char. how can I send through ?? terms?terms=true&terms.fl=content&terms.regex=(.*)( book)&terms.regex.flag=case_insensitive&terms.limit=50-- View this message in context: http://lucene.47206

Re: Strange performance behaviour when concurrent requests are done

2011-04-29 Thread Erick Erickson
I'd guess that what's happening is that you're pegging the CPU with 4 threads, serving up the absolute maximum that the machine will handle. The thing to look at is the throughput rather than avg response time (although that's going down but not as rapidly, which is still a bit puzzling). Usually,

Re: manual background re-indexing

2011-04-29 Thread Erick Erickson
I'm a little confused about your use of the word "reload", see below. But if this doesn't clarify things, or your experiments give strange results, could you please start posting sample configurations so we can be sure we're talking about the same thing? Best Erick On Fri, Apr 29, 2011 at 5:15 A

Re: Autocomplete(terms) middle of words

2011-04-29 Thread roySolr
terms.regex doesn´t work for me. Prefix works fine. I use SOLR 1.4.. Is it compatible?-- View this message in context: http://lucene.472066.n3.nabble.com/Autocomplete-terms-middle-of-words-tp2878694p2878948.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Autocomplete(terms) middle of words

2011-04-29 Thread roySolr
The words are now splitted in the index(nGram). It looks like this: m ma man manc manch manche manches manchest mancheste manchester The termsComponent does not see it as one word(manchester). It gives me the results back in NGrams(m,ma,man etc)-- View this message in context: http://lucene.

Re: Autocomplete(terms) middle of words

2011-04-29 Thread Quentin Proust
You can do it without NGram with a query like this : http://localhost:8983/solr/terms?terms=true&terms.fl=suggestionField&terms.regex=(.*)chest(.*)&terms.regex.flag=case_insensitive In my case, I had to encode (.*) so replace it with %28.*%29 if needed. It use a regex. I don't know if it has an im

Re: Autocomplete(terms) middle of words

2011-04-29 Thread Grijesh
Hello , If you are using NGram then do not use TermsComponent, Query normally like http://localhost:8983/solr/select?q=suggestionField:chest It will give you the desired suggestions -Thanx: Grijesh www.gettinhahead.co.in -- View this message in context: http://lucene.472066.n3.nabble.com/Au

Re: Autocomplete(terms) middle of words

2011-04-29 Thread lboutros
you could use EdgeNGramFilterFactory : http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.EdgeNGramFilterFactory And you should mix front and back ngram process in your analyzer : is it better ? Ludovic. -Jouve France.-- View this message in context: http://lucene.472066.n

Re: Autocomplete(terms) middle of words

2011-04-29 Thread roySolr
Ok, i try NGrams. My configuration looks like this: i try to run the query: http:/

Re: Strange performance behaviour when concurrent requests are done

2011-04-29 Thread Marc Sturlese
That's true. But the degradation is so big. If you use lunch concurrent requests to a web app taht doesn't use Solr the time per request won't degradate that much. For me, it looks more like a synchronized is happening somewhere in Solr or Lucene and is causing this.-- View this message in context:

Re: Strange performance behaviour when concurrent requests are done

2011-04-29 Thread Grijesh
You have 4 core machine that can execute 4 threads parallel. After 4 threads it will start context switching between threads. -Thanx: Grijesh www.gettinhahead.co.in -- View this message in context: http://lucene.472066.n3.nabble.com/Strange-performance-behaviour-when-concurrent-requests-are

Re: Strange performance behaviour when concurrent requests are done

2011-04-29 Thread Marc Sturlese
Any suggestion about this issue?-- View this message in context: http://lucene.472066.n3.nabble.com/Strange-performance-behaviour-when-concurrent-requests-are-done-tp505478p2878758.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Autocomplete(terms) middle of words

2011-04-29 Thread Grijesh
NGram will work for you if you want to search in middle of the word .You can also look for wildcard search for that. NGram will increase the size of index while wildcard queries are slow. -Thanx: Grijesh www.gettinhahead.co.in -- View this message in context: http://lucene.472066.n3.nabble

Autocomplete(terms) middle of words

2011-04-29 Thread roySolr
Hello, I use the termsComponent to fix some autocomplete on my website. I use the prefix and get the following results: searching for manch: manchester city(10) manchester united(2) When a user search for ches i want the following results: chesterfield united(13) manchester united(2) I want t

Re: manual background re-indexing

2011-04-29 Thread Paul Libbrecht
I understand that multicores allows met o create two cores which are just normal solr-homes. That's easy. However I'm only interested to the reload command and, in particular, to reload the underlying index segment files. Do I understand correctly that the following is what I should do? - still

Re: Spatial Search

2011-04-29 Thread Jonas Lanzendörfer
I did the String Solution, works great, thank you! Am 29.04.2011 um 00:25 schrieb Jan Høydahl: > 1) Create an extra String field on your bean as Yonik suggests or > 2) Write an UpdateRequestHandler which reads the doubles and creates the > LatLon from that > > -- > Jan Høydahl, search solution

Re: Location of Solr Logs

2011-04-29 Thread Stefan Matheis
Geeta, have a look on the the following wiki pages: http://wiki.apache.org/solr/SolrLogging http://wiki.apache.org/solr/LoggingInDefaultJettySetup Regards Stefan On Fri, Apr 29, 2011 at 8:35 AM, Grijesh wrote: > You can see solr logs at your servlet container's log file i.e. if you are > using