Re: Solr Quoted search confusions

2009-08-21 Thread Chris Male
Hi, I think the cause of the problem is the WordDelimiterFilterFactory. With your current configuration indexing i-like results in 3 terms being indexed - i, like and ilike. Then when you query for ilike, you match the 3rd term. The term ilike is created by the WordDelimiterFilter due to the ca

Re: Remove data from index

2009-08-21 Thread clico
hossman wrote: > > : > The request I would like to write is > : > > : > "Delete from my solr Index the id that are no longer present in my > : > table_document" > : > > : > With Lucene I had a way to do that : > : > open IndexReader, > : > for each lucene document : check in table_document and r

Get used indices

2009-08-21 Thread Alexander Herzog
Hi I'm using dynamic fields and was wandering how to retrieve information about used indices (wether they are empty and what actually do exist) via a a rest call? I get a list of fieldnames at the admin location and I wanted to retrieve this information in my php application. Thanks, Alexander

Re: Remove data from index

2009-08-21 Thread Noble Paul നോബിള്‍ नोब्ळ्
you can write a onImportEnd event handler also On Fri, Aug 21, 2009 at 3:28 PM, clico wrote: > > > hossman wrote: >> >> : > The request I would like to write is >> : > >> : > "Delete from my solr Index the id that are no longer present in my >> : > table_document" >> : > >> : > With Lucene I had a

Re: Implementing customized Scorer with solr API 1.4

2009-08-21 Thread Jérôme Etévé
Hi , Thanks for your help. So do I have to do: public Scorer scorer(IndexReader reader) throws IOException { SolrIndexReader solrReader = (SolrIndexReader) reader; int offset = solrReader.getBase() ; Or is it a bit more complex than that? Jerome. 2009/8/20 Mark Miller : > Jérôme Etévé wrot

Re: Solr Quoted search confusions

2009-08-21 Thread Vannia Rajan
Thank you for your response, it just worked! On Fri, Aug 21, 2009 at 1:29 PM, Chris Male wrote: > Hi, > > I think the cause of the problem is the WordDelimiterFilterFactory. With > your current configuration indexing i-like results in 3 terms being indexed > - i, like and ilike. Then when you

Re: Remove data from index

2009-08-21 Thread clico
I don't understand this point. -- View this message in context: http://www.nabble.com/Remove-data-from-index-tp25063736p25080669.html Sent from the Solr - User mailing list archive at Nabble.com.

RE: Remove data from index

2009-08-21 Thread Fuad Efendi
I had similar task but I simply used SolrJ client for that; I was forced to keep track on deleted docs in table_document... now, I am using "delete by query" (with SolrJ) - each document has a timestamp which I query... For instance, you can update (allowOverwrite=true) whole SOLR index, but put c

RE: Implementing a logout

2009-08-21 Thread Fuad Efendi
I can't understand: do you use several web applications in a same container? Are you trying to close shared SolrCore when one of many users (of another application) logs off? Usually one needs to clean up only user-session specific objects (such as non-persistent shopping cart)... -Original

RE: [ANNOUNCEMENT] Newly released book: Solr 1.4 Enterprise Search Server

2009-08-21 Thread Fuad Efendi
I was joking [off-topic]; "faceting" as a DocSet intersections' replaced by trivial term count calcs which is extremely faster in some (if not all) use cases, including possibly even NON-tokenized (with standard faceting we can use FilterCache)... http://issues.apache.org/jira/browse/SOLR-475 (and

Re: [ANNOUNCEMENT] Newly released book: Solr 1.4 Enterprise Search Server

2009-08-21 Thread Yonik Seeley
On Fri, Aug 21, 2009 at 11:25 AM, Fuad Efendi wrote: > I was joking [off-topic]; "faceting" as a DocSet intersections' replaced by > trivial term count calcs which is extremely faster in some (if not all) use > cases, including possibly even NON-tokenized (with standard faceting we can > use Filter

RE: [ANNOUNCEMENT] Newly released book: Solr 1.4 Enterprise Search Server

2009-08-21 Thread Fuad Efendi
>actually a hybrid that goes back to DocSet intersections when it's more efficient I noticed that too when I played with it, for large query results DocSet intersections are de-facto standard; but when "faceting" started CNET had only 400,000 documents :) Nowadays even 2-3 seconds response time i

Re: Using Lucene's payload in Solr

2009-08-21 Thread Bill Au
I ended up not using an XML attribute for the payload since I need to return the payload in query response. So I ended up going with: 2.0|Solr In Action My payload is numeric so I can pick a non-numeric delimiter (ie '|'). Putting the payload in front means I don't have to worry about the delimi

RE: [ANNOUNCEMENT] Newly released book: Solr 1.4 Enterprise Search Server

2009-08-21 Thread Fuad Efendi
Ok, some improvement; "Faceting" as an end-user interface feature (or may be "Filtering"?): A. Faceting (for further filtering) 1. We are counting "facets" 2. Sorting by "counts" in descending order 3. Presenting top-N to user for possible filtering/narrowing search results B. "Simplified Lucene

Return all docs

2009-08-21 Thread Elaine Li
I want the query to return all the found docs, not just 10 of them by default. It could be in the thousands. So i can furture process the returned json structure in my javascript. Is such option? What should i do with the 'rows' number in the solrconfig.xml file? Thanks. - fast_warm 0 10 -

Re: Return all docs

2009-08-21 Thread Jason Rutherglen
I guess you'd set the the rows parameter in the HTTP request to a high number? Check out /solr/admin/form.jsp which has the rows text field visible. On Fri, Aug 21, 2009 at 9:30 AM, Elaine Li wrote: > I want the query to return all the found docs, not just 10 of them by > default. It could be in

Re: [ANNOUNCEMENT] Newly released book: Solr 1.4 Enterprise Search Server

2009-08-21 Thread Jason Rutherglen
It seems possible to cache the results of facet queries on a per segment basis, providing the caching you're describing. On Fri, Aug 21, 2009 at 8:42 AM, Fuad Efendi wrote: >>actually a hybrid that goes back to DocSet intersections when it's more > efficient > > I noticed that too when I played wi

Re: Common Solr Question

2009-08-21 Thread darniz
Coming back to Question one This is how my standard handler looks like 12 explicit make,model i added fl parameter which return me those fields described, for this also i have to delete my browser cache and after that by defatul only those two fields a

Re: Return all docs

2009-08-21 Thread Chris Hostetter
: I want the query to return all the found docs, not just 10 of them by : default. It could be in the thousands. So i can furture process the : returned json structure in my javascript. FAQ... http://wiki.apache.org/solr/FAQ http://wiki.apache.org/solr/FAQ#head-ad538363dc33eba936af39b95ad0f0e719

RE: [ANNOUNCEMENT] Newly released book: Solr 1.4 Enterprise Search Server

2009-08-21 Thread Fuad Efendi
Imagine we have following sorted table for a whole Lucene index on term values for a field, and a need to have top-10 facets for large resultset: Digital: 1,700,000 Books: 1,000,000 Computers: 900,000 ... (term:count) sorted in desc order by "count" for a whole index; FilterCache etc Suppose that

Re: Return all docs

2009-08-21 Thread Elaine Li
thanks for the info. On Fri, Aug 21, 2009 at 1:42 PM, Chris Hostetter wrote: > > : I want the query to return all the found docs, not just 10 of them by > : default. It could be in the thousands. So i can furture process the > : returned json structure in my javascript. > > FAQ... > > http://wiki.

Not return my expected contents

2009-08-21 Thread Elaine Li
Hi, In every doc of mine, there is a sentence. I tried to set the sentence to fieldtype as one of the three 'text', 'text_ws' and 'textTight'. None of them produce the correct result. For eg. "The Arab Presense" is returned when I search for ("arabic"). "to confirm the existence of many communi

Re: Passing a Cookie in SolrJ

2009-08-21 Thread Shalin Shekhar Mangar
On Fri, Aug 21, 2009 at 8:31 AM, Chris Hostetter wrote: > > If he really needs to hardcode the cookie value into code, wouldn't it be > easier to extend HttpClient and modify the methods which take in an > HttpMethod object to first set the cookie on those obejcts before > delegating to super? > >

Re: Get used indices

2009-08-21 Thread Shalin Shekhar Mangar
On Fri, Aug 21, 2009 at 3:31 PM, Alexander Herzog wrote: > Hi > > I'm using dynamic fields and was wandering how to retrieve information > about used indices (wether they are empty and what actually do exist) > via a a rest call? > Did you mean used field names instead of indices? I think /admi

Re: Multi-shard query with error on one shard

2009-08-21 Thread Shalin Shekhar Mangar
On Fri, Aug 21, 2009 at 2:38 AM, Phillip Farber wrote: > > What will the client receive from the primary solr instance if that > instance doesn't get HTTP 200 from all the shards in a multi-shard query? > > An exception is thrown. There's an open issue on returning partial responses: https://iss

RE: Passing a Cookie in SolrJ

2009-08-21 Thread Fuad Efendi
And another option: implement simple proxy between SolrJ and rest of world... As I understand in your design SOLR is behind Proxy which needs Cookie. What I can't understand is: your web application uses SSO for authentication, and it uses SolrJ to retrieve results from SOLR and present it to

Re: Not return my expected contents

2009-08-21 Thread Avlesh Singh
> > "The Arab Presense" is returned when I search for ("arabic"). > "to confirm the existence of many communities.." is returned when i search > for ("the existing"). > All such results are returned back due to something known as stemming. The stock "text" field definition comes bundled with a ste

Re: Release Date Solr 1.4

2009-08-21 Thread Yonik Seeley
FYI, I'm on vacation in Ocean City MD starting tomorrow - but I will have internet access. The goal of releasing a week after 2.9 still seems very realistic - we just need to decide to finish all open issues one week from Lucene's code freeze. And all of a sudden, Lucene went from 0 open issues, b

AW: Re: Get used indices / field names [solve d]

2009-08-21 Thread herzoga
yes, i meant field names. Thanks for the information, that's perfect regards, Alexander Shalin Shekhar Mangar schrieb: > On Fri, Aug 21, 2009 at 3:31 PM, Alexander Herzog > wrote: > > > Hi > > > > I'm using dynamic fields and was wandering how to retrieve information > > about used indices (weth