can solr do it?

2007-09-24 Thread James liu
if use multi solr with one index, it will cache individually. so i think can it share their cache.(they have same config) -- regards jl

Re: real time search

2007-09-24 Thread James liu
if new data come in and drive index it, load new search it. if more docs, optimize time will cost much, so can't do search like real time. so i think new solr instance only for newest information. the docs will be ~10K. if it arrive 10k, it should be closed and rebuild new instance. (if we have m

Re: real time search

2007-09-24 Thread James liu
it seems use somthing like ajax... if so, it not what i wanna 2007/9/25, Matthew Runo <[EMAIL PROTECTED]>: > > I assume you mean something like this: > > http://addictedtonew.com/archives/145/wordpress-live-search-plugin/ > > Take a look at how the search box works - is that what you mean? > > >

Re: How to get all the search results - python

2007-09-24 Thread Roopesh P Raj
Thanks a lot for your replies. I will follow the paginated search. Thanks and Regards Roopesh -- DigitalGlue, India

Re: Index files not being deleted

2007-09-24 Thread AgentHubcap
I'm running 1.2. Acutally, i am doing an optimize after I delete the indexes. (twice, as I read there was an issue with the optimize). Do I need to close something manually? Here's my optimize code: private void optimize() throws IOException { UpdateHandler upd

Re: Index files not being deleted

2007-09-24 Thread Ryan McKinley
- Delete all index files via a delete command make sure to optimize after deleting the docs -- optimize has lucene get rid of deleted files rather then appending them to the end of the index. what version of solr are you running? if you are running 1.3-dev deleting *:* is fast -- if you ar

Index files not being deleted

2007-09-24 Thread AgentHubcap
I've got an issue with my index files not being deleted. I have a cron job set up to kick off the index process every 5 minutes (test box, with little data). The process is as follows: - Delete all index files via a delete command - Loop through all the records in the database and index them -

Re: Facets and sort

2007-09-24 Thread Guillaume Smet
On 9/24/07, Chris Hostetter <[EMAIL PROTECTED]> wrote: > sorting on a tokenized field is definitely a no-no ... the only situation > in which that will work is if your tokenizer produces only one token per > document (ie: KeywrodTokenizer) Yes, it works now. I have now based my sort field on the a

Re: Solrsharp culture problems

2007-09-24 Thread Jeff Rodenburg
Yes, that would be the right solution. I'm not sure if, in order to use french culture settings on xp, you would require corresponding changes in culture settings for the solr instance. Hope this helps. -- j On 9/24/07, JP Genty - LibertySurf <[EMAIL PROTECTED]> wrote: > > > I use solrsharp

Re: Facets and sort

2007-09-24 Thread Chris Hostetter
: late here. After a few hours of sleep, I think the problem is that I : sort on a tokenized value. Without a facet filter, I have enough sorting on a tokenized field is definitely a no-no ... the only situation in which that will work is if your tokenizer produces only one token per document (i

Re: real time search

2007-09-24 Thread Matthew Runo
I assume you mean something like this: http://addictedtonew.com/archives/145/wordpress-live-search-plugin/ Take a look at how the search box works - is that what you mean? ++ | Matthew Runo | Zappos Development | [EMAIL PROTECTED] | 7

Solrsharp culture problems

2007-09-24 Thread JP Genty - LibertySurf
I use solrsharp on a french XP and I have problems with the float conversion to text. I modified ExempleIndexDocument constructor to force the "en-US" culture. CultureInfo MyCulture = new CultureInfo("en-US"); . . this.Add(new IndexFieldValue("weight", weight.ToString(MyC

Re: real time search

2007-09-24 Thread Grant Ingersoll
Hi James, Can you provide more information about what you are trying to do? By real time search, do you mean you want indexed documents to be available immediately? Or is a minute or two acceptable? Do all users need to see them immediately, or just the current user? We can better help

Re: How to get all the search results - python

2007-09-24 Thread Jérôme Etévé
By design, it's not very efficient to ask for a large number of results with solr/lucene. I think you will face performance and memory problems if you do that. On 9/24/07, Thorsten Scherler <[EMAIL PROTECTED]> wrote: > On Mon, 2007-09-24 at 16:29 +0530, Roopesh P Raj wrote: > > > Hi Roopesh, > >

Re: How to get all the search results - python

2007-09-24 Thread Thorsten Scherler
On Mon, 2007-09-24 at 16:29 +0530, Roopesh P Raj wrote: > > Hi Roopesh, > > > I am not sure whether I understand your problem. > > > Is it the limitation of rows/pagination? > > If so why not using a real high number (like rows=100)? > > > salu2 > > Hi, > > Assigning a high number wi

Re: How to get all the search results - python

2007-09-24 Thread Roopesh P Raj
Hi Roopesh, I am not sure whether I understand your problem. Is it the limitation of rows/pagination? If so why not using a real high number (like rows=100)? salu2 Hi, Assigning a high number will solve my problem. (I thought that there will something like rows='all' to do it)

Re: How to get all the search results - python

2007-09-24 Thread Thorsten Scherler
On Mon, 2007-09-24 at 14:34 +0530, Roopesh P Raj wrote: > Hi, > > I am using solr setup in Tomcat 5.5 with python 2.4 using python client > solr.py. > > When I search, all the results are not returned. > > The method call for searching is as follows : rows specifies the number of > rows. > d

How to get all the search results - python

2007-09-24 Thread Roopesh P Raj
Hi, I am using solr setup in Tomcat 5.5 with python 2.4 using python client solr.py. When I search, all the results are not returned. The method call for searching is as follows : rows specifies the number of rows. data = c.search(q='query', fl='id score unique_id Message-ID To From Subject

Re: Facets and sort

2007-09-24 Thread Guillaume Smet
Hi Chris, On 9/24/07, Chris Hostetter <[EMAIL PROTECTED]> wrote: > 1) > 2) In fact both were typos in my email: the code is right. It was a bit late here. After a few hours of sleep, I think the problem is that I sort on a tokenized value. Without a facet filter, I have enough results to have o