Re: question about fl=score

2008-03-19 Thread 李银松
My customer want to get the 1th-10010th added docs So I have to sort by timestamp, to get top10010 docs' timestamp …… 2008/3/20, Walter Underwood <[EMAIL PROTECTED]>: > > Why do you want the 10,000th most relevant result? > That seems very, very odd. Most people need the most > relevant resul

Re: question about fl=score

2008-03-19 Thread Walter Underwood
Why do you want the 10,000th most relevant result? That seems very, very odd. Most people need the most relevant result. Maybe the ten most relevant results. "I'm searching for the movie 'Ratatouille', but please give me the 10,001st result instead of that movie." If you explain your desire, we m

Re: question about fl=score

2008-03-19 Thread 李银松
I am not getting 1 records I am getting records from 1-10010 So I need the top10010 records' *sort field* to merge and get final results,just like the distributed search the data to transport is about 500k(1 docs' scores) and the QTime is about 100ms but the total time I used is about

Re: question about fl=score

2008-03-19 Thread Walter Underwood
Getting 10,000 records will be slow. What are you doing with 10,000 records? wunder On 3/19/08 10:07 PM, "李银松" <[EMAIL PROTECTED]> wrote: > I want to get the top 1-10010 record from two different servers,So Ihave > to get top10010 scores from each server and merge them to get the results.

Re: question about fl=score

2008-03-19 Thread 李银松
I want to get the top 1-10010 record from two different servers,So I have to get top10010 scores from each server and merge them to get the results. I found the cost time was mostly used in XMLResponseParser while parsing the inputstream. I wander whether the costtime was used for net transpor

Help Requested

2008-03-19 Thread Raghav Kapoor
Hi All: I am new to Solr and I am facing a question if solr can be helpful in a project that I'm working on. The project is a client/server app that requires a client app to index the documents and send the results in rdf to server. The client needs to be smart enough to know when a new documen

Re: question about fl=score

2008-03-19 Thread Yonik Seeley
2008/3/19 李银松 <[EMAIL PROTECTED]>: > 1、When I set fl=score ,solr returns just as fl=*,score ,not just scores > Is it a bug or just do it on purpose? On purpose... a score alone with no other context doesn't seem useful. > 2、I'm using solrj to get about 1 docs' score in LAN. It costs me abou

question about fl=score

2008-03-19 Thread 李银松
1、When I set fl=score ,solr returns just as fl=*,score ,not just scores Is it a bug or just do it on purpose? 2、I'm using solrj to get about 1 docs' score in LAN. It costs me about 10+ seconds first time(QTime is less than 100ms) , but 1-2 seconds second time with the same querystring. It seems

Minimum should match and PhraseQuery

2008-03-19 Thread climbingrose
Hi all, I thought many people would encounter the situation I'm having here. Basically, we'd like to have a PhraseQuery with "minimum should match" property similar to BooleanQuery. Consider the query "Senior Java Developer": 1) I'd like to do a PhraseQuery on "Senior Java Developer" with a slop

RAM Based Index for Solr

2008-03-19 Thread swarag
In Lucene there is a Ram Based Index "org.apache.lucene.store.RAMDirectory". Is there a way to setup my index in solr to use a RAMDirectory? -- View this message in context: http://www.nabble.com/RAM-Based-Index-for-Solr-tp16166036p16166036.html Sent from the Solr - User mailing list archive at

Re: Tomcat 6.0 solr home not set (solved)

2008-03-19 Thread Matthew Runo
Go for it! Matthew Runo On Mar 19, 2008, at 12:17 PM, David Arpad Geller wrote: Hallelujah! So, it's clear to me that neither the Tomcat docs or the Solr/Tomcat wiki page is completely clear on this topic. Specifically, the parts about: a) the way to specify webapps using Catalina/localh

Re: Tomcat 6.0 solr home not set (solved)

2008-03-19 Thread David Arpad Geller
Hallelujah! So, it's clear to me that neither the Tomcat docs or the Solr/Tomcat wiki page is completely clear on this topic. Specifically, the parts about: a) the way to specify webapps using Catalina/localhost/.xml (and how it relates to solr) b) the need for a solr home directory and what

what's up with: java -Ddata=args -jar post.jar ""

2008-03-19 Thread johnmunir
Hi, I'm a new Solr user. I figured my way around Solr just fine (I think) ... I can index and search ets. And so far I have indexed over 300k documents. What I can't figure out is the following. I'm using: ??? java -Ddata=args -jar post.jar "" to post an optimize command. What I'm find

RE: Connection reset exception

2008-03-19 Thread Sundar Sankaranarayanan
Otis, There is one more funny thing that I observed when this happened. The error seems to occur when I commit data into the solr server and not when I read it. Am not sure is this is still a problem with JBOSS. Warm Regards, Sundar Sankarnarayanan Software Engineer @University of Phoenix ---

Language support

2008-03-19 Thread David King
This has probably been asked before, but I'm having trouble finding it. Basically, we want to be able to search for content across several languages, given that we know what language a datum and a query are in. Is there an obvious way to do this? Here's the longer version: I am trying to in

Re: Tomcat 6.0 solr home not set

2008-03-19 Thread Jayson Minard
I'll take the Tomcat question first: --- snip --- Also, the Tomcat page for Context says: - You may define as many *Context* elements as you wish. Each such Context MUST have a unique context path. In addition, a Context must be present with a context path equal to a zero-length string. This

RE: sort by index id descending?

2008-03-19 Thread Lance Norskog
... another "magic" field name like "score" ... This could be done with a separate "magic" punctuation like $score, $mean (the mean score), etc.so $docid would work. Cheers, Lance -Original Message- From: Chris Hostetter [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 18, 2008 9:01 PM T

Re: Tomcat 6.0 solr home not set

2008-03-19 Thread David Arpad Geller
So it seems that I got Tomcat to recognize where solr is with this conf/Catalina/localhost/solr.xml: But still, there's still some problem (see below). Thank you for all of the help, it's good stuff to know. Also, the Tomcat page for Context says: - You may define as many *Context

Re: sort by index id descending?

2008-03-19 Thread Chris Hostetter
: Oops, nevermind you said _descending_. : : However, you can configure a timestamp field and sort by that: for the record: this wouldn't be quite as effecient as if we had a true sort by internal id option (which would not need to build up a FieldCache) -Hoss

RE: sort by index id descending?

2008-03-19 Thread Chris Hostetter
: ... another "magic" field name like "score" ... : : This could be done with a separate "magic" punctuation like $score, : $mean (the mean score), etc.so $docid would work. "$" (and all other punctuation) is a legal character in field names ... whitespace is even legal in fieldnames, but some o

RE: sort by index id descending?

2008-03-19 Thread Norskog, Lance
... another "magic" field name like "score" ... This could be done with a separate "magic" punctuation like $score, $mean (the mean score), etc.so $docid would work. Cheers, Lance -Original Message- From: Chris Hostetter [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 18, 2008 9:01 PM T

Slow Highlighting -> CopyField maxSize property

2008-03-19 Thread nicolas . dessaigne
Hi all, I would like to propose a new property on copy fields that limit the number of characters that are copied. The use case is the following: Among other documents, we index very big documents (several Mo of text) and want to be able to use highlighting. However, as soon as one or more

Re: field collapsing

2008-03-19 Thread Doug Steigerwald
We're on r614955. On Wednesday 19 March 2008 11:33:36 am muddassir hasan wrote: > Hi Doug, > > Please let me know on which solr revision you applied patch. > > Thanks. > M. Hasan > > Doug Steigerwald <[EMAIL PROTECTED]> wrote: The latest > one won't apply to the trunk because it's too old. It has

Re: field collapsing

2008-03-19 Thread muddassir hasan
Hi Doug, Please let me know on which solr revision you applied patch. Thanks. M. Hasan Doug Steigerwald <[EMAIL PROTECTED]> wrote: The latest one won't apply to the trunk because it's too old. It hasn't been updated to match changes made to Solr since mid-February. One of the things I know h

solr.search.function

2008-03-19 Thread Umar Shah
Hi, I am investigating to implement an aggregate average function for a document and require help for the same. The problem is that I have documents containing manufacturer, product, rating (m,p,r) and i want to find the top manufacturers for product (p1,p2,...) can be around 10 to 20 products

Re: Quoted searches

2008-03-19 Thread Yonik Seeley
On Wed, Mar 19, 2008 at 10:39 AM, Justin <[EMAIL PROTECTED]> wrote: > When I issue a search in quotes, like "tay sachs" > lucene is returning results as if it were written: tay OR sachs If you are using the standard request handler, the default operator is OR (I assume you didn't use quotes in yo

Quoted searches

2008-03-19 Thread Justin
When I issue a search in quotes, like "tay sachs" lucene is returning results as if it were written: tay OR sachs Any reason why? Any way to stop it?

Re: introduction and help!

2008-03-19 Thread Yonik Seeley
On Wed, Mar 19, 2008 at 1:51 AM, David Geller <[EMAIL PROTECTED]> wrote: > Honestly. Any help would be *much* appreciated but shouldn't Tomcat be > the easiest way to run SOLR? The easiest way to run Solr is: cd example java -jar start.jar If you want to set it up with Tomcat yourself, see the

highlighting pt2: returning tokens out of order from PhraseQuery

2008-03-19 Thread Brian Whitman
Another highlighting question unrelated to my previous one: Say we search for the band "I Love You But I've Chosen Darkness" .../select?rows=100&q=%22I%20Love%20You%20But%20I\'ve%20Chosen %20Darkness %22 &fq = type:html &hl=true&hl.fl=content&hl.fragsize=500&hl.snippets=5&hl.simple.pre= %3

highlighting: requireFieldMatch not returning anything even if field matches

2008-03-19 Thread Brian Whitman
on a solr "text" fieldtype called content, I have text like the following: "Bono (L), Irish lead singer of the band U2 and Kurt Beck, chairman of the German Social Democratic Party (SPD) address the media at the party?s headquarters in Berlin May 14, 2007." A query with highlighting and req

Faceting Problem

2008-03-19 Thread Tejaswi_Haramurali
Hi , I am facing a problem in using solrj. I am using java (solrj) to index as well as search data in the solr search engine. This is some of the code exer.setField("name","DOC"+identity); exer.setField("features","The Mellon Foundation"); exer.setField("language",langmap.get("008lang")); exer

Re: Smart way of indexing for Better performance

2008-03-19 Thread Yerraguntla
data set(number of documents) is not large - 100k. Number of fields could max to 10 . With average size of indexed field could be 200 characters. I tried creating using multiple indexes by using copy field. Let me see how the performance will be with EdgeNGramTokenFilter or EdgeNGramTokenizer T

Re: Tomcat 6.0 solr home not set

2008-03-19 Thread Jayson Minard
David, I wanted to answer some of your other points so to clarify how Tomcat 6 works: >> 1. What the heck is a "conf/Catalina/localhost?" Is it a directory? A file? I have neither a Catalina or a localhost directory there. You have to create these directories for Tomcat 6, they already exist

Re: Tomcat 6.0 solr home not set

2008-03-19 Thread Jayson Minard
David, Here are notes on running under Tomcat 6... First, untar Tomcat somewhere. Now you can run tomcat either directly from the binary directories, or relocate the CATALINA_BASE and run it elsewhere sharing the binaries (good for multiple instances). If running Tomcat, as-is out of the binary

Re: sort by index id descending?

2008-03-19 Thread Erik Hatcher
Oops, nevermind you said _descending_. However, you can configure a timestamp field and sort by that: default="NOW" multiValued="false"/> Erik On Mar 19, 2008, at 8:29 AM, Erik Hatcher wrote: Wouldn't it sort by index id if you query for *:* and move any actual queries to

Re: sort by index id descending?

2008-03-19 Thread Erik Hatcher
Wouldn't it sort by index id if you query for *:* and move any actual queries to fq parameters? Erik On Mar 19, 2008, at 12:00 AM, Chris Hostetter wrote: : Is there any way to sort by index id - descending? (by order of indexed) Not that i can think of. Lucene already has suppor

synonym dictionary inclusion

2008-03-19 Thread Sushan Rungta
Hi all, I am a newbie in lucene and currently working to deploy a search module for our classified search in clickindia.com. I would like to incorporate a synonym dictionary! Is there any readymade synonym dictionary/list available.. which i can incorporate in my search module With regards,