Re: Sum of one field

2008-08-06 Thread Svein Parnas
The easiest solution would probably be to have a facet on the quantity field and calculate the total quantity on the client side. Svein On 4. aug.. 2008, at 21.47, Otis Gospodnetic wrote: Leonardo, You'd have to read that "quantity" fields for all matching documents one way or the other. O

Re: Replacing FAST functionality at sesam.no

2008-08-27 Thread Svein Parnas
On 27. aug.. 2008, at 19.44, Glenn-Erik Sandbakken wrote: At sesam.no we want to replace a FAST (fast.no) Query Matching Server with a Solr index. The index we are trying to replace is not a regular index, but specially configured to perform phrases (and sub-phrases) matches against severa

Re: Querying multivalued field - can scoring formula consider only matched values?

2008-10-11 Thread Svein Parnas
On 7. okt.. 2008, at 21.49, abhishek007 wrote: Hi, My application needs to handle synonyms for courses. The most natural way to achieve this would be having the field "course" to be multivalued. Now, say I add documents like: John Dane Algorithms Theory Computability, Complexity and

Re: Querying multivalued field - can scoring formula consider only matched values?

2008-10-14 Thread Svein Parnas
On Oct 13, 2008, at 9:34 PM, abhishek007 wrote: Svein Parnas-2 wrote: One way to boost exact match of one occurrence of a multivalued field is to add some kind of special start-of-field token and end-of-field token in the data, eg: John Dane softok Algorithms eoftok softok Theory

Re: exact field match

2009-01-26 Thread Svein Parnas
Another solution is to put a special token in front and end of every occurence of the field, eg aastartaa in front an zzendzz in the end (a solution looking like Fasts boundary match feature behind the hood), You could then search for exact match ("aastartaa your phrase zzendzz"), and you w

Re: Embedded Solr search query

2010-05-07 Thread Svein Parnas
Or send the queries in parallell from the PHP script (use CURL). Svein 2010/5/7 caman : > > Why not write a custom request handler which can parse, split, execute and > combine results to your queries? > > > > > > > > From: Eric Grobler [via Lucene] > [mailto:ml-node+783150-1027691461-124...@n3.

Re: SOLR X FAST

2007-12-12 Thread Svein Parnas
On Dec 12, 2007, at 2:50 AM, Nuno Leitao wrote: FAST uses two pipelines - an ingestion pipeline (for document feeding) and a query pipeline which are fully programmable (i.e., you can customize it fully). At ingestion time you typically prepare documents for indexing (tokenize, character