Trim and copy a solr field

2011-12-11 Thread Swapna Vuppala
Hi, I have a Solr field that contains the absolute path of the file that is indexed, which will be something like file:/myserver/Folder1/SubFol1/Sub-Fol2/Test.msg. Am interested in indexing the location in a separate field. I was looking for some way to trim the field value from last occu

Highlighter highlighting terms which are not part of the search

2011-12-11 Thread Shyam Bhaskaran
Hi We recently upgraded our Solr to the latest 4.0 trunk and we are seeing a weird behavior with highlighting which was not seen earlier. When a search query for example "generate test pattern" is passed in the results et obtained the first few results shows the highlighting properly but in th

Re: NRT or similar for Solr 3.5?

2011-12-11 Thread Nagendra Nagarajayya
Steven: There is an onclick handler that allows you to download the src. BTW, an early access Solr 3.5 with RankingAlgorithm 1.3 (NRT) release is available for download. So please give it a try. Regards, - Nagendra Nagarajayya http://solr-ra.tgels.org http://rankingalgorithm.tgels.org On 12/10

Quick relevance question

2011-12-11 Thread Ryan Gehring
Hello! SOLR Newbie here. I managed to pick a use case that is a little goofy for my first SOLR voyage and would love help. I'd like to rank documents by the total matching term count rather than the usual cosine similarity stuff. I have a field named "all" which has all my searchable fields cop

Re: cache monitoring tools?

2011-12-11 Thread Paul Libbrecht
Justin, I am not sure this answers the question: is there a graph view (of some measurements) which can be synched to one or several logs? I'd like to click on a spike of CPU to see the log around the time of that spike. Does munin or any other do that? paul Le 11 déc. 2011 à 17:39, Justin C

MySQL data import

2011-12-11 Thread Brian Lamb
Hi all, I have a few questions about how the MySQL data import works. It seems it creates a separate connection for each entity I create. Is there any way to avoid this? By nature of my schema, I have several multivalued fields. Each one I populate with a separate entity. Is there a better way to

Solr-3.5.0/Nutch-1.4 - SolrDeleteDuplicates fails

2011-12-11 Thread Patrick Durusau
Greetings! This may be a Nutch question and if so, I will repost to the Nutch list. I can run the following commands with Solr-3.5.0/Nutch-1.4: bin/nutch crawl urls -dir crawl -depth 3 -topN 5 then: bin/nutch solrindex http://127.0.0.1:8983/solr/ crawl/crawldb -linkdb crawl/linkdb crawl/seg

Re: Possible to facet across two indices, or document types in single index?

2011-12-11 Thread Jeff Schmidt
Hi again: I figured it'd be bad form to hijack Kashif's thread, so I"ll just leverage some of its content here. :) Chris, you replied: > : But there is a workaround: > : 1) Do a normal query without facets (you only need to request doc ids > : at this point) > : 2) Collect all the IDs of the do

performance of json vs xml?

2011-12-11 Thread Jason Toy
I'm thinking about modifying my index process to use json because all my docs are originally in json anyway . Are there any performance issues if I insert json docs instead of xml docs? A colleague recommended to me to stay with xml because solr is highly optimized for xml.

Re: Possible to facet across two indices, or document types in single index?

2011-12-11 Thread Jeff Schmidt
Thanks Chris. I was just going to sit down and see if I could get join to do what I want within a single index. I'm glad I checked my email first. :) However, I need to see how else to solve the problem, and it looks likes the most apropriate line of reasoning is in your response to Kashif Kah

Re: codec="Pulsing" per field broken?

2011-12-11 Thread eks dev
Thanks Robert, I've missed LUCENE-3490... Awesome! On Sun, Dec 11, 2011 at 6:37 PM, Robert Muir wrote: > On Sun, Dec 11, 2011 at 11:34 AM, eks dev wrote: >> on the latest trunk, my schema.xml with field type declaration >> containing //codec="Pulsing"// does not work any more (throws >> excepti

Re: codec="Pulsing" per field broken?

2011-12-11 Thread Robert Muir
On Sun, Dec 11, 2011 at 11:34 AM, eks dev wrote: > on the latest trunk, my schema.xml with field type declaration > containing //codec="Pulsing"// does not work any more (throws > exception from FieldType). It used to work wit approx. a month old > trunk version. > > I didn't dig deeper, can be th

Function Query

2011-12-11 Thread John
Hi all, Some help with function queries. I am trying to use a custom function query where the field is declared as: In the code, I am trying to retrieve the string value of this field by: DocValues token = vs.getValues(context, reader); ... String str = token.strVal(docNum); But getting th

Re: Return message from XmlUpdateRequestHandler

2011-12-11 Thread O. Klein
I was wondering if there was some way to know whether a delete action was successful or not. I want to delete a document from index and get a response "1 document deleted" or whatever. -- View this message in context: http://lucene.472066.n3.nabble.com/Return-message-from-XmlUpdateRequestHandl

Re: cache monitoring tools?

2011-12-11 Thread Justin Caratzas
At my work, we use Munin and Nagio for monitoring and alerts. Munin is great because writing a plugin for it so simple, and with Solr's statistics handler, we can track almost any solr stat we want. It also comes with included plugins for load, file system stats, processes, etc. http://munin-mon

codec="Pulsing" per field broken?

2011-12-11 Thread eks dev
on the latest trunk, my schema.xml with field type declaration containing //codec="Pulsing"// does not work any more (throws exception from FieldType). It used to work wit approx. a month old trunk version. I didn't dig deeper, can be that the old schema.xml was broken and worked by accident. --

Re: How to boost score of documents with a field equal to a special value

2011-12-11 Thread Erick Erickson
Does adding something like &bq=type:1^1.5 type:2^1.3 work? Best Erick On Sun, Dec 11, 2011 at 10:19 AM, Mohsen Saboorian wrote: > Hi, > > I have documents with id, type, date and body fields. type has values from 1 > to 10. I want to boos results with type=1,2 at query time. Is this possible > u

Re: Return message from XmlUpdateRequestHandler

2011-12-11 Thread Erick Erickson
I honestly have no idea what you're asking for here. Please review: http://wiki.apache.org/solr/UsingMailingLists Best Erick On Dec 10, 2011 8:46 AM, "O. Klein" wrote:

Re: Suggester for Numbers

2011-12-11 Thread Erick Erickson
Well, by setting generateNumberParts="0" you've excluded numbers from the index, so they aren't there for auto-suggest. Try setting it to "1" and reindexing Best Erick On Dec 9, 2011 4:57 PM, "Awasthi, Shishir" wrote: > Is there a way to make suggester return suggestion for numbers also? > >

Re: filterQuery (fq=) vs q differences other than scoring.

2011-12-11 Thread Erick Erickson
Hmmm, are you talking about SOLR--2429? Some context would help here... But if you are, that capability was added to deal with situations where calculating the fq for the entire corpus *then* applying it to the query results was too expensive. So when you specify one of these "high cost" filters,

How to boost score of documents with a field equal to a special value

2011-12-11 Thread Mohsen Saboorian
Hi, I have documents with id, type, date and body fields. type has values from 1 to 10. I want to boos results with type=1,2 at query time. Is this possible using function query or similar solr tricks? I want something similar to this but for specific integer values: http://wiki.apache.org/solr/S

RE: Virtual Memory very high

2011-12-11 Thread Rohit
What are the difference in the different DirectoryFactory? Regards, Rohit Mobile: +91-9901768202 About Me: http://about.me/rohitg -Original Message- From: Yury Kats [mailto:yuryk...@yahoo.com] Sent: 10 December 2011 12:11 To: solr-user@lucene.apache.org Subject: Re: Virtual Memory very