Re: change in field_type

2011-02-20 Thread Sachin
Rebuild - the tokenizers/analyzers for string type would be different for string and text type. -Original Message- From: Isha Garg To: solr-user Sent: Mon, Feb 21, 2011 10:51 am Subject: change in field_type Hii, I want to confirm that if a change the type of a f

change in field_type

2011-02-20 Thread Isha Garg
Hii, I want to confirm that if a change the type of a field from "sting" to "text" in schema.xml then whether i have rebuild the index or will it works fine with previous index.

Re: Query performance very slow even after autowarming

2011-02-20 Thread linkedLetter
Johnny: Are you still looking for help? Wease - NOT always nice. When are we getting better releases? -- View this message in context: http://lucene.472066.n3.nabble.com/Query-performance-very-slow-even-after-autowarming-tp2010384p2542789.html Sent from the Solr - User mailing list archi

Re: DIH threads

2011-02-20 Thread Lance Norskog
It does not substitute values correctly in many cases. It seems to work at a top level, but not in sub-levels. On Fri, Feb 18, 2011 at 5:41 PM, Bill Bell wrote: > I used it on 4,0 and it did not help us. We were bound on SQL io > > Bill Bell > Sent from mobile > > > On Feb 18, 2011, at 4:47 PM, M

Re: Solr 4.0 trunk in production

2011-02-20 Thread Mark
Thanks for the adivce. Where can I find stable snapshots, I only know of checking out from head? On 2/20/11 11:56 AM, Ryan McKinley wrote: Not crazy -- but be aware of a few *key* caviates. 1. Do good testing on a stable snapshot. 2. Don't get surprised if you have to rebuild the index from sc

Re: Solr 4.0 trunk in production

2011-02-20 Thread Ryan McKinley
Not crazy -- but be aware of a few *key* caviates. 1. Do good testing on a stable snapshot. 2. Don't get surprised if you have to rebuild the index from scratch to upgrade in the future. The official releases will upgrade smoothly -- but within dev builds, anything may happen. On Sat, Feb 19,

Re: SolrCloud new....

2011-02-20 Thread Stijn Vanhoorelbeke
Hi, Can I edit the SolrCloud page? I never thought about it - but since it's a wiki -- everyone can edit, right? For the moment I'll not write stuff onto it - but if you need some help, I can share you some of my ( little, but some ) experience. 2011/2/20 Otis Gospodnetic-2 [via Lucene] < ml-no

Re: Synonyms.txt

2011-02-20 Thread Marc Kalberer
Thanks Lee ! Your are right, I'm new to solr, and I didn't think about that point. But in my case, target is newspaper articles, so it's more generic contents that specialized contents and I suppose that a generic synonym dictionnary should fit my needs. Thanks for the link ! Marc Programmers.ch

Re: How to get a field that starts with a minus?

2011-02-20 Thread Paul Tomblin
As I said in my original post, I'd already tried various methods of escaping: :call that using key = "id" and value = :"-3f66fdfb1ef5f8719f65a7403e93cc9d" and I get an exception. If I :change value to "\"-3f66fdfb1ef5f8719f65a7403e93cc9d\"", I get no :results. If I change value to "\-3f66fdfb1ef5

Re: How to get a field that starts with a minus?

2011-02-20 Thread Ahmet Arslan
> He could also just escape it or am i > missing something? Yes, he can also just escape minus sign using back slash.

Re: Synonyms.txt

2011-02-20 Thread lee carroll
Hi Marc, I don't want to sound to prissy and also assume to much about your application but a generic synonym file could do more harm than good. Lots of applications have specific vocabularies and a specific synonym list is what is needed. Remember synonyms increase recall but reduce precision. The

Re: How to get a field that starts with a minus?

2011-02-20 Thread Markus Jelsma
He could also just escape it or am i missing something? > --- On Sun, 2/20/11, Paul Tomblin wrote: > > From: Paul Tomblin > > Subject: Re: How to get a field that starts with a minus? > > To: solr-user@lucene.apache.org > > Date: Sunday, February 20, 2011, 5:53 PM > > Yes, it's string: > >

Re: How to get a field that starts with a minus?

2011-02-20 Thread Paul Tomblin
On Sun, Feb 20, 2011 at 10:15 AM, Paul Tomblin wrote: > I have a field in my database, "id", which is the unique key.  The id > is generated as an MD5 hash of some of the other data in the record, > and unfortunately the way I converted it to hex meant that sometimes I > get a negative value.  I'm

Re: How to get a field that starts with a minus?

2011-02-20 Thread Ahmet Arslan
--- On Sun, 2/20/11, Paul Tomblin wrote: > From: Paul Tomblin > Subject: Re: How to get a field that starts with a minus? > To: solr-user@lucene.apache.org > Date: Sunday, February 20, 2011, 5:53 PM > Yes, it's string: >         class="solr.StrField" >             > sortMissingLast="true" omitN

Synonyms.txt

2011-02-20 Thread Marc Kalberer
Hello, Is there any free Synonyms.txt available on internet ? Wasn't able to find any. Specially interested by the french version. ++ Marc -- *Programmers.ch* Développement WEB Solutions libres et Opensources Tel: ++41 76 44 888 72 Site: http://www.programmers.ch

Re: How to get a field that starts with a minus?

2011-02-20 Thread Paul Tomblin
Yes, it's string: Is there a better field definition I should be using? On Sun, Feb 20, 2011 at 10:37 AM, Ahmet Arslan wrote: > > What is the field type of if field? Is it string? > > What happens when you do : > > &q={!raw f=id}-3f66fdfb1ef5f8719f65a7403e93cc9d > > query.setQue

Re: How to get a field that starts with a minus?

2011-02-20 Thread Ahmet Arslan
What is the field type of if field? Is it string? What happens when you do : &q={!raw f=id}-3f66fdfb1ef5f8719f65a7403e93cc9d query.setQuery("{!raw f=id}-3f66fdfb1ef5f8719f65a7403e93cc9d"); --- On Sun, 2/20/11, Paul Tomblin wrote: > From: Paul Tomblin > Subject: How to get a field that sta

How to get a field that starts with a minus?

2011-02-20 Thread Paul Tomblin
I have a field in my database, "id", which is the unique key. The id is generated as an MD5 hash of some of the other data in the record, and unfortunately the way I converted it to hex meant that sometimes I get a negative value. I'm having a real hard time figuring out the right combination of

Re: fine tuning the solr search

2011-02-20 Thread Otis Gospodnetic
Hi, In short, the bigger the overlap of query and document, the higher the document's relevance to the query. This is an oversimplification, of course, but that's the general idea (and it doesn't match what you listed below). Otis Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch

Re: SolrCloud new....

2011-02-20 Thread Otis Gospodnetic
Hi Stijn, Thank you for sharing this. Would it at all be possible for you to update the parts of SolrCloud page that are incorrect and that you figured out or add anything new that's not on that page yet? Thanks! Otis Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosys

Re: string field_type query

2011-02-20 Thread Otis Gospodnetic
Isha, Could be a case sensitivity thing. Try "crime" if that's what's that field (you can look manually when you run *:* or with Luke. Otis Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem search :: http://search-lucene.com/ - Original Message > From:

Re: Understanding multi-field queries with q and fq

2011-02-20 Thread Otis Gospodnetic
Hi mrw, It sounds like you (e)dismax is what you should look into. You didn't mention it/them, so I'm assuming you're not aware of them. See: http://search-lucene.com/?q=dismax+OR+edismax&fc_project=Solr Otis Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem searc

Re: XML Stripping from DIH

2011-02-20 Thread Otis Gospodnetic
Ron, http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.HTMLStripCharFilterFactory Otis Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem search :: http://search-lucene.com/ - Original Message > From: "Olson, Ron" > To: "solr-user@lucene.a

Re: adding a TimerTask

2011-02-20 Thread Otis Gospodnetic
Tri, What you are you trying to accomplish? Otis --- Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem search :: http://search-lucene.com/ - Original Message > From: Tri Nguyen > To: solr user > Sent: Fri, February 18, 2011 9:02:44 PM > Subject: adding a Tim

Re: Remove part of keywords from existing index and merging new index

2011-02-20 Thread Otis Gospodnetic
Ryan, It's not possible out of the box, no. If your docs with abc* keywords have all fields stored, you could get them from the index, modify them in memory to remove abc*, and send them back to Solr for indexing. It's still reindexing, but only of those particular documents and without havin

Re: Problems with ant test : No tests found

2011-02-20 Thread Otis Gospodnetic
Jurgen, > svn co https://svn.apache.org/repos/asf/lucene/dev/trunk solr_svn > > According to the book I am reading I should be able to run the tests > succesfully, so I did a > > /var/solr_svn# ant test Between the above 2 commands you need to: /var/solr_svn# cd solr Otis Sematext :: h

Re: Field Collapsing on 1.4.1

2011-02-20 Thread Otis Gospodnetic
Hi Mark, I don't think there's anything for 1.4.1. There are SOLR-236 and SOLR-1682 (in trunk). Neither one works for distributed search. SOLR-2066 has a patch for field collapsing / results grouping in distributed search, but it doesn't seem to work well. Otis Sematext :: http://semat