Re: run on reboot on windows

2010-05-01 Thread Dave Searle
Set tomcat6 service to auto start on boot (if running tomat) Sent from my iPhone On 2 May 2010, at 02:31, "S Ahmed" wrote: > Hi, > > I'm trying to get Solr to run on windows, such that if it reboots > the Solr > service will be running. > > How can I do this?

Re: Solr commit issue

2010-05-01 Thread Indika Tantrigoda
Thanks for the reply. Here is another thread I found similar to this http://www.mail-archive.com/solr-user@lucene.apache.org/msg28236.html >From what I understand the IndexReaders get reopened after a commit. Regards, Indika On 2 May 2010 00:29, Erick Erickson wrote: > The underlying IndexRead

RE: Embedded Server and Webapp using same Index???

2010-05-01 Thread Titash Neogi
You could even do the indexing via csv update handler. Something like this - http://:/solr/update/csv?commit=true&separator=~&escape="&stream .contentType=text/plain;charset=utf-8&stream.file= via a backend process. This lets the document be available for searching as soon as the commit happens.

run on reboot on windows

2010-05-01 Thread S Ahmed
Hi, I'm trying to get Solr to run on windows, such that if it reboots the Solr service will be running. How can I do this?

Re: Embedded Server and Webapp using same Index???

2010-05-01 Thread Erick Erickson
The problem here, I think, is that you're updating the index in a manner that the regular SOLR webapp doesn't know about. So the index changes without SOLR knowing it has to reopen the index to see the modifications. Something to try: curl http://localhost:8983/solr/update -F stream.body=' ' This

Embedded Server and Webapp using same Index???

2010-05-01 Thread John Gillies
I've been searching in vain for an answer to my question so hopefully someone on the mail list has the answer or a solution. I am attempting to use the Solr Embedded Server to generate my index and then utilize the Solr Web Application to query the same index and it works great if I restart the

Re: Solr commit issue

2010-05-01 Thread Erick Erickson
The underlying IndexReader must be reopened. If you're searching for a document with a searcher that was opened before the document was indexed, it won't show up on the search results. I'm guessing that your statement that when you search for it with some test is coincidence, but that's just a gue

Re: Random Field

2010-05-01 Thread Static Void
Example use case: We have a bunch of items sold by multiple sellers. I would rather show closely related items distributed by seller rather than clumps of items by the same seller. This will be more of a "fair" scoring for sellers. The scores should be within a certain percentage of each o

Solr commit issue

2010-05-01 Thread Indika Tantrigoda
Hi all, I've been working with Solr for a few weeks and have gotten SolrJ to connect to it, index, search documents. However I am having an issue when a document is committed. When a document is committed it does not show in the search results if I do a *:* search, but if I search for it with som

Re: Random Field

2010-05-01 Thread Yonik Seeley
On Sat, May 1, 2010 at 12:32 PM, Static Void wrote: > What would be more useful would be randomizing closely related hits. IE hits > within 5% of each other This is not the use case I've encountered multiple times in the past, but it should also be doable by using the random field in a function q

Re: Random Field

2010-05-01 Thread Static Void
What would be more useful would be randomizing closely related hits. IE hits within 5% of each other Sent from my iPhone On May 1, 2010, at 7:37 AM, Yonik Seeley wrote: On Sat, May 1, 2010 at 10:23 AM, Blargy wrote: Can someone explain a useful case for the RandomSortField? People so

Re: Solr Dismax query - prefix matching

2010-05-01 Thread Ahmet Arslan
> Folks, > Greetings. > Using dismax query parser is there a way to perform prefix > match. For > example: If I have a field called 'booktitle' with the > actual values as > 'Code Complete', 'Coding standard 101', then I'd like to > search for the > query string 'cod' and have the dismax match ag

Re: Random Field

2010-05-01 Thread Yonik Seeley
On Sat, May 1, 2010 at 10:23 AM, Blargy wrote: > Can someone explain a useful case for the RandomSortField? People sometimes have requirements to show different results to everyone (essentially randomly shuffling matches per person). -Yonik Apache Lucene Eurocon 2010 18-21 May 2010 | Prague >

Random Field

2010-05-01 Thread Blargy
Can someone explain a useful case for the RandomSortField? -- View this message in context: http://lucene.472066.n3.nabble.com/Random-Field-tp770087p770087.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: thresholding results by percentage drop from maxScore in lucene/solr

2010-05-01 Thread MitchK
I am curious: What is your usecase or what type of data is this? Web-Pages? Blog-posts? Product-items? Can you provide some real examples so that we can discuss other ideas than doing it by the score? Because I think this is not possible or really difficult to achieve, since you don't know what t