Re: Combining Proximity & Range search

2007-09-18 Thread Bharani
I am trying my best to figure out the correct way to do this http://www.nabble.com/forum/ViewPost.jtp?post=12456399&framed=y I just came across the collapseFilter ( solr 236). I think i will give that a try. Thanks hossman for the reply Bharani hossman wrote: > > > : My document will hav

commit, concurrency, full text search

2007-09-18 Thread Dilip.TS
Hi, I have a query, when u try for bulk updates, using autoCommit option (which does commit on regular basis). Suppose if another request tries to update before the record is committed by the first request, a) Dont u think these requests step on each other and corrupt the index files? b) Is ther

Re: commit, concurrency, full text search

2007-09-18 Thread Venkatraman S
Before a COMMIT is done , lock is obtained and its released after the operation - hence no corruption happens. On 9/18/07, Dilip.TS <[EMAIL PROTECTED]> wrote: > > Hi, > > I have a query, when u try for bulk updates, using autoCommit option > (which > does commit on regular basis). > > Suppose if

Re: Searching items with in the search results with SOLR

2007-09-18 Thread Erik Hatcher
On Sep 18, 2007, at 2:45 AM, Dilip.TS wrote: Is it possible to "Search items with in the search results" using SOLR. If so how? Simply " AND " the previous query to the new query, or use the previous query as a filter query (&fq=...) parameter. Erik

Search for Java Programming vs "Java Programming"

2007-09-18 Thread Dilip.TS
Hi, I have the following requirement: When the user searches for the keyword say Java Programming , the user should be shown the results satisfying the condition Java AND Programming. But when he types "Java Programming" (i.e within double quotes), the user should be shown with the results ex

Re: Search for Java Programming vs "Java Programming"

2007-09-18 Thread Erik Hatcher
On Sep 18, 2007, at 7:14 AM, Dilip.TS wrote: Hi, I have the following requirement: When the user searches for the keyword say Java Programming , the user should be shown the results satisfying the condition Java AND Programming. But when he types "Java Programming" (i.e within double q

Customize the way relevancy is calculated

2007-09-18 Thread Amitha Talasila
Hi, I have the following requirement. We have an option to sort the search results by relevance. Right now we are getting the search results making an http call If the user chooses that option, the results should be sorted based on the relevance. But the relevance should be calcul

Re: Customize the way relevancy is calculated

2007-09-18 Thread Yonik Seeley
On 9/18/07, Amitha Talasila <[EMAIL PROTECTED]> wrote: > The 65% of the relevance can be computed while indexing the document and > posted as a field. But the keyword match is a run time score .Is there any > way of getting the relevance score as a combination of this 65% and 35%? A FunctionQuer

RE: Search for Java Programming vs "Java Programming"

2007-09-18 Thread Dilip.TS
Hi, The first requirement works fine for me, but i was unaware of the Phrase Queries for the second one. I found this link very much useful regarding the same. http://wiki.apache.org/solr/SolrRelevancyCookbook Thanks for the help guys, Regards Dilip -Original Message- From: Erik Hat

Re: Search for Java Programming vs "Java Programming"

2007-09-18 Thread Venkatraman S
[ Kindly do try before posting in the forum or atleast try to look into the wiki and other resources ] nwayz... For the Former: use 'AND' and in the default query For the latter : use phrase queries - enclosing within double quotes should work. On 9/18/07, Dilip.TS <[EMAIL PROTECTED]> wrote: >

RE: Triggering snapshooter through web admin interface

2007-09-18 Thread Chris Hostetter
: [Wu, Daniel] That sounds great. Do I need to create a JIRA ticket? Sure, JIRA is a great way to track feature requests (since they can be "watched" and "voted" on, and if you want to start on an implementation you can attach patches... http://wiki.apache.org/solr/HowToContribute -Hoss

Solr as a transactional data store?

2007-09-18 Thread Ishtvan McGee
Our program has solved some pretty significant search problems using the Lucene search engine. We're getting ready to take the first step towards an SOA in our back-where we crank out the data that eventually becomes searchable via our website. We're looking for a transactional persistence soluti

Re: commit, concurrency, full text search

2007-09-18 Thread Chris Hostetter
: I have a query, when u try for bulk updates, using autoCommit option (which : does commit on regular basis). There is alot of complexity going on when dealing with concurrent updates -- some of it at the Lucene level, some at the Solr level. if you really want to udnerstand the details, I s

RE: Searching items with in the search results with SOLR

2007-09-18 Thread Lance Norskog
Question: if it is a filter query, it will be cached in the filter query cache? Follow-on questions if this is true: Is this the full results of the filter query? What exactly is cached? Thanks, Lance Norskog -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Tues

DisMax queries referencing undefined fields

2007-09-18 Thread Doug Daniels
Hi, I noticed that the "field list" (fl) parameter ignores field names that it cannot locate, while the "query fields" (qf) parameter throws an exception when fields cannot be located. Is there any way to override this behavior and have qf also ignore fields it cannot find? This would be pr

pluggable functions

2007-09-18 Thread Jon Pierce
I see Yonik recently opened an issue in JIRA to track the addition of pluggable functions (https://issues.apache.org/jira/browse/SOLR-356). Any chance this will be implemented soon? It would save users like me from having to hack the Solr source or write custom request handlers for trivial additio

Re: pluggable functions

2007-09-18 Thread Tom Hill
Hi - I'm not sure what you mean by a reflection based approach, but I've been thinking about doing this for a bit, since we needed it, too. I'd just thought about listing class names in the config file. The functions would probably need to extend a subclass of ValueSource which will handle argume

Re: pluggable functions

2007-09-18 Thread Jon Pierce
On 9/18/07, Tom Hill <[EMAIL PROTECTED]> wrote: > Hi - > > I'm not sure what you mean by a reflection based approach, but I've been > thinking about doing this for a bit, since we needed it, too. Reflection could be used to look up and invoke the constructor with appropriately-typed arguments. If

Formula for open file descriptors

2007-09-18 Thread Lance Norskog
Hi- In early June Mike Klass posted a formula for the number of file descriptors needed by Solr: For each segment, 7 + num indexed fields per segment. There should be log_{base mergefactor}(numDocs) * mergeFactor segments, approximately. Is this still true? Thanks, Lance N

Re: pluggable functions

2007-09-18 Thread Yonik Seeley
On 9/18/07, Jon Pierce <[EMAIL PROTECTED]> wrote: > Reflection could be used to look up and invoke the constructor with > appropriately-typed arguments. If we assume only "primitive" types > and ValueSources are used, I don't think it would be too hard to craft > a drop-in replacement that works w

Re: Formula for open file descriptors

2007-09-18 Thread Mike Klaas
On 18-Sep-07, at 5:39 PM, Lance Norskog wrote: Hi- In early June Mike Klass posted a formula for the number of file descriptors needed by Solr: For each segment, 7 + num indexed fields per segment. There should be log_{base mergefactor}(numDocs) * mergeFactor segments, appro

How can i make a distribute search on Solr?

2007-09-18 Thread 过佳
Hi everyone, I successfully do the Collection Distribution on two Linux servers - one master with one slave and sync the index data. How can I make a search request to master server and receive the response by all slave servers? OR it should be manually controlled? Thanks & Best Regard

Re: pluggable functions

2007-09-18 Thread Chris Hostetter
(NOTE: this discussion probably makes more sense on solr-dev. future replies should probably go there, or in SOLR-334.) : The parser is a quick hack I threw together, and any value source : factories should not be exposed to it. It seems like either : 1) a value source factory would expose th

RE: How can i make a distribute search on So lr?

2007-09-18 Thread Stu Hood
There are two federated/distributed search implementations that are still a few weeks away from maturity: https://issues.apache.org/jira/browse/SOLR-255https://issues.apache.org/jira/browse/SOLR-303Any help in testing them would definitely be appreciated. BUT, if you decide to roll your own, take

RE: How can i make a distribute search on Solr?

2007-09-18 Thread Jarvis
Helpful information. So it means that distributed search is not a basic component in Solr project. Thanks & Best Regards. Jarvis . -Original Message- From: Stu Hood [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 19, 2007 12:55 PM To: solr-user@lucene.apache.org Subject: RE: How

Re: How can i make a distribute search on Solr?

2007-09-18 Thread Ryan McKinley
So it means that distributed search is not a basic component in Solr project. I think you just need load balancing. Solr is not a load balancer, you need to find something that works for you and configure that elsewhere. Solr works fine without persistent connections, so simple round robin

RE: How can i make a distribute search on Solr?

2007-09-18 Thread Jarvis
Thanks for your reply, I need the Federated Search. You mean this is not yet supported out of the "box". So I have a question that in this situation what can Collection Distribution used for? Jarvis -Original Message- From: Ryan McKinley [mailto:[EMAIL PROTECTED] Sent: Wednesday, Septe