Re: field collapse using 'adjacent' 'includeCollapsedDocs' + 'sort' query field

2009-11-15 Thread michael8
Hi Martijn, Thanks for your insight of collapsedDocs, and what I need to modify if I need the functionality I want. Michael Martijn v Groningen wrote: Hi Micheal, What you are saying seems logical, but that is currently not the case with the collapsedDocs functionality. This

solr stops running periodically

2009-11-15 Thread athir nuaimi
We have 4 machines running solr. On one of the machines, every 2-3 days solr stops running. By that I mean that the java/tomcat process just disappears. If I look at the catalina logs, I see normal log entries and then nothing. There is no shutdown messages like you would normally see

Re: Spell check suggestion and correct way of implementation and some Questions

2009-11-15 Thread Shalin Shekhar Mangar
On Wed, Nov 4, 2009 at 12:31 AM, darniz rnizamud...@edmunds.com wrote: Thanks i included the buildOncommit and buildOnOptimize as true and indexed some documents and it automatically builds the dictionary. Are there any performance issues we should be aware of, with this approach. Well,

Newbie tips: migrating from mysql fulltext search / PHP integration

2009-11-15 Thread mbneto
Hi, I am looking for alternatives to MySQL fulltext searches. The combo Lucene/Solr is one of my options and I'd like to gather as much information I can before choosing and even build a prototype. My current need does not seem to be different. - fast response time (currently some searches can

[OT] Webinar on spatial search using Lucene and Solr

2009-11-15 Thread Grant Ingersoll
From Here to There, You Can Find it Anywhere: Building Local/Geo-Search with Apache Lucene and Solr Join us for a free webinar hosted by TechTarget / TheServerSide.com Wednesday, November 18th 2009 10:00 AM PST / 1:00 PM EST Click here to sign up

Re: solr stops running periodically

2009-11-15 Thread Grant Ingersoll
Have you looked in other logs, like your syslogs? I've never seen Solr/Tomcat just disappear w/o so much as a blip. I'd think if a process just died from an error condition there would be some note of it somewhere. I'd try to find some other events taking place at that time which might give

RE: Segment file not found error - after replicating

2009-11-15 Thread Maduranga Kannangara
Yes. We have tried Solr 1.4 and so far its been great success. Still I am investigating why Solr 1.3 gave an issue like before. Currently seems to me org.apache.lucene.index.SegmentInfos.FindSegmentFile.run() is not able to figure out correct segment file name. (May be index replication issue

RE: Segment file not found error - after replicating

2009-11-15 Thread Maduranga Kannangara
Just found out the root cause: * The segments.gen file does not get replicated to slave all the time. For some reason, this small (20bytes) file lives in memory and does not get updated to the master's hard disk. Therefore it is not obviously transferred to slaves. Solution was to shut down

Re: Segment file not found error - after replicating

2009-11-15 Thread Mark Miller
Thats odd - that file is normally not used - its a backup method to figure out the current generation in case it cannot be determined with a directory listing - its basically for NFS. Maduranga Kannangara wrote: Just found out the root cause: * The segments.gen file does not get replicated to

RE: Segment file not found error - after replicating

2009-11-15 Thread Maduranga Kannangara
Yes, I too believed so.. The logic in earlier said method does the gen number calculation using segment files available (genA) and using segment.gen file content (genB). Which ever larger, would be the gen number used to look up for segment file. When the file is not properly replicated (due

Re: Newbie Solr questions

2009-11-15 Thread Peter Wolanin
Take a look at the example schema - you can have dynamic fields that are used based on wildcard matching to the field name if a field doesn't mtach the name of an existing field. -Peter On Sun, Nov 15, 2009 at 10:50 AM, yz5od2 woods5242-outdo...@yahoo.com wrote: Thanks for the reply: I follow

Re: Newbie Solr questions

2009-11-15 Thread yz5od2
ok, so what I am hearing, there is no way to create custom documents/ fields via the SolrJ client @ runtime. Instead you have to use the schema.xml ahead of time OR create a custom index via the lucene APIs then import the indexes into Solr for searching? On Nov 15, 2009, at 9:16 PM,

Re: solr stops running periodically

2009-11-15 Thread Otis Gospodnetic
Look for the HotSpot dump files that Sun's Java leaves on disk when it dies. I think their names start with hs. Luckily, I don't have any of them handy to tell you the exact name pattern. Otis -- Sematext is hiring -- http://sematext.com/about/jobs.html?mls Lucene, Solr, Nutch, Katta, Hadoop,

Re: Newbie tips: migrating from mysql fulltext search / PHP integration

2009-11-15 Thread Otis Gospodnetic
Hi, I'm not sure if you have a specific question there. But regarding PHP integration part, I just learned PHP now has native Solr (1.3 and 1.4) support: http://twitter.com/otisg/status/5757184282 Otis -- Sematext is hiring -- http://sematext.com/about/jobs.html?mls Lucene, Solr, Nutch,

Re: Is there a way to skip cache for a query

2009-11-15 Thread Otis Gospodnetic
I don't think that is supported today. It might be useful, though (e.g. something I'd use with an external monitoring service, so that it doesn't always get fast results from the cache). Otis -- Sematext is hiring -- http://sematext.com/about/jobs.html?mls Lucene, Solr, Nutch, Katta, Hadoop,

Re: converting over from sphinx

2009-11-15 Thread Otis Gospodnetic
Something doesn't sound right here. Why do you need wildcards for queries in the first place? Are you finding that with stopword removal and stemming you are not matching some docs that you think should be matched? If so, we may be able to help if you provide a few examples. Otis -- Sematext

RE: Is there a way to skip cache for a query

2009-11-15 Thread Jake Brownell
See https://issues.apache.org/jira/browse/SOLR-1363 -- it's currently scheduled for 1.5. Jake -Original Message- From: Otis Gospodnetic [mailto:otis_gospodne...@yahoo.com] Sent: Sunday, November 15, 2009 11:17 PM To: solr-user@lucene.apache.org Subject: Re: Is there a way to skip cache

Re: Some guide about setting up local/geo search at solr

2009-11-15 Thread Otis Gospodnetic
Nota bene: My understanding is the external versions of Local Lucene/Solr are eventually going to be deprecated in favour of what we have in contrib. Here's a stub page with a link to the spatial JIRA issue: http://wiki.apache.org/solr/SpatialSearch Otis -- Sematext is hiring --

Re: exclude some fields from copying dynamic fields | schema.xml

2009-11-15 Thread Vicky_Dev
Thanks for response Defining field is not working :( Is there any way to stop copy task for particular set of values Thanks ~Vikrant Lance Norskog-2 wrote: There is no direct way. Let's say you have a nocopy_s and you do not want a copy nocopy_str_s. This might work: declare

Re: javabin in .NET?

2009-11-15 Thread Noble Paul നോബിള്‍ नोब्ळ्
For a client the marshal() part is not important.unmarshal() is probably all you need On Sun, Nov 15, 2009 at 12:36 AM, Mauricio Scheffer mauricioschef...@gmail.com wrote: Original code is here: http://bit.ly/hkCbI I just started porting it here: http://bit.ly/37hiOs It needs: tests/debugging,

Re: javabin in .NET?

2009-11-15 Thread Noble Paul നോബിള്‍ नोब्ळ्
start with a JavabinDecoder only so that the class is simple to start with. 2009/11/16 Noble Paul നോബിള്‍ नोब्ळ् noble.p...@corp.aol.com: For a client the marshal() part is not important.unmarshal() is probably all you need On Sun, Nov 15, 2009 at 12:36 AM, Mauricio Scheffer

Re: Solr date and string search problem

2009-11-15 Thread ashokcz
Hi Lance Norskog , Thanks for your reply. Let me first put the config files details. These are the fields i have defined fieldType class=solr.TextField name=alphaOnlySort omitNorms=true sortMissingLast=true analyzer type=query tokenizer class=solr.WhitespaceTokenizerFactory/

Re: Newbie tips: migrating from mysql fulltext search / PHP integration

2009-11-15 Thread Israel Ekpo
On Mon, Nov 16, 2009 at 12:34 AM, Mattmann, Chris A (388J) chris.a.mattm...@jpl.nasa.gov wrote: WOW, +1!! Great job, PHP! Cheers, Chris On 11/15/09 10:13 PM, Otis Gospodnetic otis_gospodne...@yahoo.com wrote: Hi, I'm not sure if you have a specific question there. But regarding PHP