Re: retrieving range of fields for the results

2007-08-08 Thread Yu-Hui Jin
Sounds good. Many thanks, guys! regards, -Hui On 8/8/07, Pieter Berkel <[EMAIL PROTECTED]> wrote: > > On 09/08/07, Mike Klaas <[EMAIL PROTECTED]> wrote: > > > > Faceting ignores pagenation/startat/maxresults/etc. > > > > > This is correct, the facet information returned is based on the entire >

Re: Wildcard queries with spaces in them

2007-08-08 Thread Yonik Seeley
On 8/8/07, Matthew Runo <[EMAIL PROTECTED]> wrote: > Yes. I definitely cannot get this to work for terms that have spaces > in them. Did you try escaping the space with a backslash? I think this should be made easier for future releases. One way is something like q=hey, no escaping required http:

Re: retrieving range of fields for the results

2007-08-08 Thread Pieter Berkel
On 09/08/07, Mike Klaas <[EMAIL PROTECTED]> wrote: > > Faceting ignores pagenation/startat/maxresults/etc. > This is correct, the facet information returned is based on the entire result set matching the query rather than the document set returned by the query. The start and row parameters have

Re: Retrieving a float field

2007-08-08 Thread Yonik Seeley
On 8/8/07, Seema Khandkar <[EMAIL PROTECTED]> wrote: > Hi solr-users, > > If I have a float field (sfloat) stored and indexed in a solr index, how > can I retrieve it within a plugin?=20 > > Example: > Document doc =3D solrIndexSearcher.doc(id);=20 String price =3D > doc.get("price");=20 > > The "p

Retrieving a float field

2007-08-08 Thread Seema Khandkar
Hi solr-users, If I have a float field (sfloat) stored and indexed in a solr index, how can I retrieve it within a plugin?=20 Example: Document doc =3D solrIndexSearcher.doc(id);=20 String price =3D doc.get("price");=20 The "price" string contains garbage value. I even tried to getField and then

Re: retrieving range of fields for the results

2007-08-08 Thread Mike Klaas
On 8-Aug-07, at 6:05 PM, Yu-Hui Jin wrote: Thanks, Piete, Yes, that's how I imagine I would do it now. Only that on a second thought, I think i need to issue a second query for the faceting params, since the original query would be paginated (with start and row params); while for faceting

Re: retrieving range of fields for the results

2007-08-08 Thread Yu-Hui Jin
Thanks, Piete, Yes, that's how I imagine I would do it now. Only that on a second thought, I think i need to issue a second query for the faceting params, since the original query would be paginated (with start and row params); while for faceting, we should only append to the original query withou

Wildcard queries with spaces in them

2007-08-08 Thread Matthew Runo
Yes. I definitely cannot get this to work for terms that have spaces in them. ++ | Matthew Runo | Zappos Development | [EMAIL PROTECTED] | 702-943-7833 ++ On Aug 8, 2007, at 2:5

RE: Optimize index

2007-08-08 Thread Jae Joo
The subject is the "Company name". If you are going to our web site www.manta.com/mb we do need the "FAST" search for company name. Thanks, Jae -Original Message- From: Stu Hood [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 08, 2007 6:08 PM To: solr-user@lucene.apache.org Subject: R

Re: Optimize index

2007-08-08 Thread Jae Joo
No, I am merging any index at all. Just want to know how much faster than non optimized index. And how to do that. Also, want to know exactly what the compound format optimization and standard format one. Here is the part of solrconfig.xml file which mentions Optimization. From: Mike Klaas <

Re: Optimize index

2007-08-08 Thread Stu Hood
While we're on the subject of optimizing: Are there any benefits to optimizing an index before merging it into another index? Thanks, Stu -Original Message- From: Mike Klaas <[EMAIL PROTECTED]> Sent: Wed, August 8, 2007 5:16 pm To: solr-user@lucene.apache.org Subject: Re: Optimize ind

Re: Best use of wildcard searches

2007-08-08 Thread Matthew Runo
OK. So a followup question.. ?q=department_exact:Apparel%3EMen's% 20Apparel*&fq=country_code:US&fq=brand_exact:adidas&fq=hibernated:true returns 0 results. Note the %20 in there for the space character. ?q=department_exact:Apparel% 3EMen's*&fq=country_code:US&fq=brand_exact:adidas&fq=hibern

Re: Best use of wildcard searches

2007-08-08 Thread Yonik Seeley
On 8/8/07, Matthew Runo <[EMAIL PROTECTED]> wrote: > I've been using the standard query handler to do searches like > > q=department_exact:"Foo>Bar>Baz>Qux" > > Now, lets assume I have lots of records, with various department > trees... > 1. Foo>Bar>Baz>Qux > 2. Foo>Bar>Baz>Put > 3. Foo>Bar>Somethi

Best use of wildcard searches

2007-08-08 Thread Matthew Runo
Hello! I've been using the standard query handler to do searches like q=department_exact:"Foo>Bar>Baz>Qux" Now, lets assume I have lots of records, with various department trees... 1. Foo>Bar>Baz>Qux 2. Foo>Bar>Baz>Put 3. Foo>Bar>Something With Spaces>Elese 4. Foo>Totaly>Different>Tree I'd

Re: Optimize index

2007-08-08 Thread Mike Klaas
On 8-Aug-07, at 2:09 PM, Jae Joo wrote: How about standformat optimizion? Jae Optimized indexes are always faster at query time that their non- optimized counterparts. Sometimes significantly so. -Mike

RE: Optimize index

2007-08-08 Thread Jae Joo
How about standformat optimizion? Jae -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yonik Seeley Sent: Wednesday, August 08, 2007 5:07 PM To: solr-user@lucene.apache.org Subject: Re: Optimize index On 8/8/07, Jae Joo <[EMAIL PROTECTED]> wrote: > So, is

Re: Optimize index

2007-08-08 Thread Yonik Seeley
On 8/8/07, Jae Joo <[EMAIL PROTECTED]> wrote: > So, is compound index faster at query time? Slower (but very slightly). A little less concurrency under heavy load. -Yonik

RE: Optimize index

2007-08-08 Thread Jae Joo
So, is compound index faster at query time? Jae -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yonik Seeley Sent: Wednesday, August 08, 2007 4:32 PM To: solr-user@lucene.apache.org Subject: Re: Optimize index On 8/8/07, Jae Joo <[EMAIL PROTECTED]> wrote:

Re: Optimize index

2007-08-08 Thread Yonik Seeley
On 8/8/07, Jae Joo <[EMAIL PROTECTED]> wrote: > Does anyone know how to optimize the index and what the difference between > compound format and stand format? Compound index format squishes almost all the files of a segment into a single file. It's slower at index time. -Yonik

Re: Optimize index

2007-08-08 Thread Matthew Runo
You optimize by sending a command to the SOLR update handler. I'm not sure about the different index formats though.. ++ | Matthew Runo | Zappos Development | [EMAIL PROTECTED] | 702-943-7833 +-

Re: Delete of non-existent record succeeds

2007-08-08 Thread Yonik Seeley
On 8/8/07, Lance Norskog <[EMAIL PROTECTED]> wrote: > When I delete a record that does not exist, via delete-by-id, the status > returned is 0. Shouldn't the operation fail? No... delete means delete if it exists. Due to how lucene works, to get good performance deletes are actually buffered... wh

Delete of non-existent record succeeds

2007-08-08 Thread Lance Norskog
When I delete a record that does not exist, via delete-by-id, the status returned is 0. Shouldn't the operation fail? In fact, does any operation actually fail? Cheers, Lance

Optimize index

2007-08-08 Thread Jae Joo
Does anyone know how to optimize the index and what the difference between compound format and stand format? Thanks, Jae Joo

Re: [newbie] how to debug the schema?

2007-08-08 Thread Ryan McKinley
[QUESTION] What could be the problem? .Or what else can I do to debug this problem? In general 'luke' is a great tool to figure out what may be happening in the index. (assuming you are running 1.2) check your schema fields from: http://localhost:8983/solr/admin/luke?show=schema Usin

[slightly ot] Looking for Lucene/Solr consultant in Germany

2007-08-08 Thread Jan Miczaika
Hello, we are looking for a Lucene/Solr consultant in Germany. We have set up a Lucene/Solr server (currently live at http://www.hitflip.de). It returns search results, but the results are not really very good. We have been tweaking the parameters a bit, following suggestions from the mailing

Date rounding up

2007-08-08 Thread climbingrose
Hi all, I think there might be something wrong with the date time rounding up. I tried this query: "q=*:*&fq=listedDate:[NOW/DAY-1DAY TO *]" which I think should return results since yesterday. So if today is 9th of August, it should return all results from the 8th of August. However, Solr returns

[newbie] how to debug the schema?

2007-08-08 Thread franz see
Good day, [BACKGROUND] I am currently using hibernate-search for my web app, and now, I'm trying to use solr to search over the index generated by hibernate-search. [SCENARIO] Since I was a newbie, I first tried creating a basic solrconfig.xml ( identical to the one in the example, except that t

Re: Structured Lucene documents

2007-08-08 Thread Pieter Berkel
In theory, you could store all your pages in a single document using a dynamic field type: Store each page in a separate field (e.g. page1, page2, page3 .. pageN) then at query time, use the highlighting parameters to highlight matches in the page fields. You should be able to determine the page

Re: retrieving range of fields for the results

2007-08-08 Thread Pieter Berkel
You could probably achieve this using faceting, however it would not be a very efficient solution (although your multi-query idea isn't very efficient either). Since facets return result sets in field sort order if you specify facet.sort=false (setting that to try sorts the field by count), so you

Re: what's the difference between lucene2.1 and solr1.2

2007-08-08 Thread James liu
aha,,,little 。 i think it is same as lucene until sometime i read something from mail list. 2007/8/8, Grant Ingersoll <[EMAIL PROTECTED]>: > > Hi James, > > Could you be a little more clear about what you are asking? What are > you trying to calculate? > > FWIW, Lucene is a search library, Sol

RE: Updates from Multiple JVM

2007-08-08 Thread LP
Hi, The question is about Solr used in an embedded context (without using HTTP interface) and hence not using servlet containers. Thanks & Regards, Priya Lance Lance wrote: > > Is the question whether or not you can run solr in two different servlet > containers and index into the same data s

Re: what's the difference between lucene2.1 and solr1.2

2007-08-08 Thread Grant Ingersoll
Hi James, Could you be a little more clear about what you are asking? What are you trying to calculate? FWIW, Lucene is a search library, Solr is a search server that uses Lucene. Cheers, Grant On Aug 8, 2007, at 2:57 AM, James liu wrote: if i wanna calc it by my method, something i s

Structured Lucene documents

2007-08-08 Thread Pierre-Yves LANDRON
Hello,Is it possible to structure lucene documents via Solr, so one document coud fit into another one ?What I would like to do, for example :I want to retrieve full text articles, that fit on several pages for each of them. Results must take in account both the pages and the article from wich t