Re: Sample code for some examples for using solr in applications

2008-12-14 Thread Andre Hagenbruch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sajith Vimukthi schrieb: Hi Sajith, > I need some sample code of some examples done using solr. I need to get an > idea on how I can use solr in my application. Please be kind enough to reply > me asap. It would be a grt help. did you already have a

Sample code for some examples for using solr in applications

2008-12-14 Thread Sajith Vimukthi
Hi all, I need some sample code of some examples done using solr. I need to get an idea on how I can use solr in my application. Please be kind enough to reply me asap. It would be a grt help. Regads, Sajith Vimukthi Weerakoon Associate Software Engineer | ZONE24X7 | Tel: +94 11 2882390 ext

Re: Dynamic Boosting at query time with boost value as another fieldvalue

2008-12-14 Thread Akshay
On Mon, Dec 15, 2008 at 12:36 PM, Pooja Verlani wrote: > ohk.. that means I can't use colon in the fieldname ever in such a scenario > ? probably we can use colon in fieldname. are you using the special keyword "_val_" for recip function query? http://wiki.apache.org/solr/FunctionQuery#head-df060

Re: Dynamic Boosting at query time with boost value as another fieldvalue

2008-12-14 Thread Pooja Verlani
ohk.. that means I can't use colon in the fieldname ever in such a scenario ? On Mon, Dec 15, 2008 at 12:24 PM, Akshay wrote: > The colon is used to specify value for a field. E.g. in the query box of > solr admin you would type something like fieldName: > (title:Java). You can use hypen '-' or

Re: Dynamic Boosting at query time with boost value as another fieldvalue

2008-12-14 Thread Akshay
The colon is used to specify value for a field. E.g. in the query box of solr admin you would type something like fieldName: (title:Java). You can use hypen '-' or some other character in the field name instead of colon. On Mon, Dec 15, 2008 at 12:11 PM, Pooja Verlani wrote: > hi, > Is it possibl

Re: Dynamic Boosting at query time with boost value as another fieldvalue

2008-12-14 Thread Pooja Verlani
hi, Is it possible to have a fieldname with colon for example "source:site"? I want to apply query time boost as per recency to this field with the recency function. Recip function with rord isn't taking my source:site fieldname, its throwing an exception. I have tried with escape characters too. P

Sample code

2008-12-14 Thread Sajith Vimukthi
Hi all, Can someone of you give me a sample code on a search function done with solr so that I can get an idea on how I can use it. Regards, Sajith Vimukthi Weerakoon Associate Software Engineer | ZONE24X7 | Tel: +94 11 2882390 ext 101 | Fax: +94 11 2878261 | http://www.zone24x7.com

RE: How can i indexing MS-Outlook files?

2008-12-14 Thread Jana, Kumar Raja
Apache Tika is integrated with Solr in Solr 1.4. Check out ExtractingRequestHandler aka Solr-Cell project. http://wiki.apache.org/solr/ExtractingRequestHandler -Original Message- From: RaghavPrabhu [mailto:raghavprabh...@gmail.com] Sent: Monday, December 15, 2008 10:46 AM To: solr-use

Re: scoring individual values in a multivalued field

2008-12-14 Thread ayyanar
Hi Sebastin, did you find solution for your problem. Kindly post the code examples. This will help me lot. -- View this message in context: http://www.nabble.com/scoring-individual-values-in-a-multivalued-field-tp19212800p21008475.html Sent from the Solr - User mailing list archive at Nabble.co

Re: How can i indexing MS-Outlook files?

2008-12-14 Thread RaghavPrabhu
Any idea about Apache Tika integration with Solr. I heard indexing MS-Outlook files is possible with Tika. Reply pls... Thanks & Regards Prabhu.K Kay Kay-3 wrote: > > You can check out the format of the MS-Outlook files. If they happen to > be plain text - may be a little bit of parsing to

Re: scoring individual values in a multivalued field

2008-12-14 Thread ayyanar
Hi Hossman, you suggested two solutions. Can you explain little bit more on the second option? Iam not able to understand. Kindly explain with an example At the moment, the simplest mechanisms for achieving something like what you are describing that i know of are: 1) repetitive values. Add

Re: How can i indexing MS-Outlook files?

2008-12-14 Thread Otis Gospodnetic
Perhaps an easier alternative is to index not the MS-Outlook files themselves, but email messages pulled from the IMAP or POP servers, if that's where the original emails live. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: RaghavPrabhu

Re: ExtractingRequestHandler and XmlUpdateHandler

2008-12-14 Thread Jacob Singh
Hey, thanks! This is good stuff. I didn't expect you to just make the fix! If I can find the bandwidth, I'd like to make something which allows file uploads via the XMLUpdateHandler as well... Do you have any ideas here? I was thinking we could just send the XML payload as another POST field.

RE: minimum match issue with dismax

2008-12-14 Thread vinay kumar kaku
Thank you chris, I tried you suggestion it worked but one more problem for me is that i have defined my request handler in solrConfig.xml as below explicit 0 txt1^1.1 txt2^1.2 txt3^1.3 txt4^1.4 txt5^1.5 txt4^1.4 txt5^1.5 1 to

Re: Solrconfig clarification: ColdSearcher/MaxWarmingSearcher

2008-12-14 Thread Jim Murphy
Thanks for the clarification and for untangling my questions. :) I'm in the process of finding out why our snapshot installs take so long to commit and didn't feel so confident about my settings, thanks. In terms of long snapshot commits - I've isolated it to long warming times. But since the w

Re: Multi tokenizer

2008-12-14 Thread Chris Hostetter
: I need to tokenize my field on whitespaces, html, punctuation, apostrophe : but if I use HTMLStripStandardTokenizerFactory it strips only html : but no apostrophes you might consider using one of the HTML Tokenizers, and then use a PatternReplaceFilterFilter ... or if you know java write

Re: Solrconfig clarification: ColdSearcher/MaxWarmingSearcher

2008-12-14 Thread Chris Hostetter
: maxWarmingSearchers: 1 - becasue I can't see why I would ever have more than : one but I'm concerned since the docs advise otherwise for high throughput : masters which applies in my case. the concern is that if that if there is any warming going on on your master you don't want a low maxWarmi

Re: DIH - duplicate xpaths on HttpDataSource

2008-12-14 Thread Erik Hatcher
Thanks again, Noble. All is working fine for me now. Erik On Dec 14, 2008, at 10:33 AM, Noble Paul നോബിള്‍ नोब्ळ् wrote: Also, I want to add in date transformation like in the example above commented out. How would I use both the TemplateTransformer and the DateFormatTransformer,

Re: Using Regex fragmenter to extract paragraphs

2008-12-14 Thread Erick Erickson
Shouldn't you escape the question mark at the end too? On Fri, Dec 12, 2008 at 6:22 PM, Mark Ferguson wrote: > Someone helped me with the regex and pointed out a couple mistakes, most > notably the extra quantifier in .*{400,600}. My new regex is this: > > \w.{400,600}[\.!?] > > Unfortunately, my

Re: DIH - duplicate xpaths on HttpDataSource

2008-12-14 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Sun, Dec 14, 2008 at 8:43 PM, Erik Hatcher wrote: > On Dec 14, 2008, at 6:15 AM, Noble Paul നോബിള്‍ नोब्ळ् wrote: >> >> one xpath can be mapped to only one name. > > That's a bizarre restriction. A shame. hmmm Understandale . XPathRecordReader is a custom minimal implementation for stream

Re: DIH - duplicate xpaths on HttpDataSource

2008-12-14 Thread Erik Hatcher
On Dec 14, 2008, at 6:15 AM, Noble Paul നോബിള്‍ नोब्ळ् wrote: one xpath can be mapped to only one name. That's a bizarre restriction. A shame. If you want to copy one to another use something like a TemplateTransformer Thanks!, I got it to work like this: http://server/rss/";

Re: DIH - duplicate xpaths on HttpDataSource

2008-12-14 Thread Noble Paul നോബിള്‍ नोब्ळ्
one xpath can be mapped to only one name. If you want to copy one to another use something like a TemplateTransformer On Sun, Dec 14, 2008 at 7:18 AM, Erik Hatcher wrote: > I'm trying to index a blog with DIH, and have this: > > > > > If I comment out the url line it