Re: Solr statistics of top searches and results returned

2009-05-22 Thread Umar Shah
Hi, good feature to have, maintaining top N would also require storing all the search queries done so far and keep updating (or atleast in some time window). having pluggable persistent storage for all time search queries would be great. tell me how can I help? -umar On Fri, May 22, 2009 at

Re: custome query parser.

2009-05-01 Thread Umar Shah
at Nabble.com. -- Umar Shah Research Engineer Wisdomtap Solutions India (P) Ltd. --- Get WisdomRank for your products @ http://services.wisdomtap.com View opinions and recommendations about: Point and Shoot Cameras

Re: function query scoring

2009-04-29 Thread Umar Shah
function query seems have to do is to find ONLY socks and assign constant score to all of them. Isn't it correct? I took  function query with constant value just as an example. -- Andrew Klochkov -- Umar Shah Research Engineer Wisdomtap Solutions India (P) Ltd

Re: function query scoring

2009-04-29 Thread Umar Shah
On Wed, Apr 29, 2009 at 8:34 PM, Andrey Klochkov akloch...@griddynamics.com wrote: On Wed, Apr 29, 2009 at 6:44 PM, Umar Shah u...@wisdomtap.com wrote: On Wed, Apr 29, 2009 at 7:16 PM, Andrey Klochkov akloch...@griddynamics.com wrote: Hi! Base on docs in the wiki I thought

Re: Pgination in Solr

2009-01-02 Thread Umar Shah
at Nabble.com. -- Umar Shah Research Engineer Wisdomtap Solutions India (P) Ltd. --- Get WisdomRank for your products @ http://services.wisdomtap.com View opinions and recommendations about: Point and Shoot Cameras

Re: starting solr hangs

2008-07-10 Thread Umar Shah
On Fri, Jul 11, 2008 at 3:11 AM, Chris Hostetter [EMAIL PROTECTED] wrote: : I am using the same folder to start solr/ jetty on many local machines : running same version of linux. if the same solr + jetty + solr.solr.home combination is working for you on other machines, then i don't think

starting solr hangs

2008-07-01 Thread Umar Shah
Hi, I am experiencing a strange behavior while using the default example solr/ jetty container on a hosted ubuntu 7.10 linux machine after running java -jar start.jar from the example folder, it just outputs 2 lines and hangs 2008-07-01 09:46:35.299::INFO: Logging to STDERR via

Re: how to get the count of returned results

2008-06-14 Thread Umar Shah
thanks Hoss, once again. -umar On Sat, Jun 14, 2008 at 4:06 AM, Chris Hostetter [EMAIL PROTECTED] wrote: : I am using a servlet filter to alter the query parms sent to the solr , : now I have a problem where I want to take some extra action (like drop some : query terms or filters ) if

Re: Overall

2008-06-09 Thread Umar Shah
2008/6/9 Mihails Agafonovs [EMAIL PROTECTED]: Hi! Some questions: 1) Is it possible to make Solr to use, for example, MySQL database, or it only supports *.xml files as a database? you can use DataImportHandler to index from MySql (or other databases) 2) Is there a way to add data in

Re: what is null value behavior in function queries?

2008-06-05 Thread Umar Shah
thanks hoss, will surely do that. -umar On Thu, Jun 5, 2008 at 4:35 AM, Chris Hostetter [EMAIL PROTECTED] wrote: : I am using function queries to rank the results, : if some/ allthe fields (used in the function ) are missing from the document : what will be the ranking behavior for such

how to get the count of returned results

2008-06-05 Thread Umar Shah
Hi, I am using a servlet filter to alter the query parms sent to the solr , now I have a problem where I want to take some extra action (like drop some query terms or filters ) if the current query returns no reults. Now my question is How can i efficiently get the count of the results for a

Re: what is null value behavior in function queries?

2008-06-05 Thread Umar Shah
outside via a properties file or something similar) On Thu, Jun 5, 2008 at 12:42 PM, Umar Shah [EMAIL PROTECTED] wrote: thanks hoss, will surely do that. -umar On Thu, Jun 5, 2008 at 4:35 AM, Chris Hostetter [EMAIL PROTECTED] wrote: : I am using function queries to rank the results

what is null value behavior in function queries?

2008-05-30 Thread Umar Shah
Hi, I am using function queries to rank the results, if some/ allthe fields (used in the function ) are missing from the document what will be the ranking behavior for such documents? thanks -umar

threshold of result rankings

2008-05-30 Thread Umar Shah
Hi, is there some way of limiting the results above some fixed threshold? thanks in anticipation -umar

Filter query and facet counts

2008-05-29 Thread Umar Shah
Hi, I have a problem wherein I have field 'type' which can have value A, B C, I want to return facet count for each type but need only show one type of result ( say with max count) so if i have following counts type:A = 300 type:B = 400 type:D = 100 I should only show type:B results

Re: Release date of SOLR 1.3

2008-05-21 Thread Umar Shah
On Wed, May 21, 2008 at 7:40 PM, Andrew Savory [EMAIL PROTECTED] wrote: Hi, 2008/5/21 Dan Thomas [EMAIL PROTECTED]: One year between releases is a very long time for such a useful and dynamic system. Are project leaders willing to (re)consider the development process to prioritize

Re: solr search

2008-05-16 Thread Umar Shah
On Fri, May 16, 2008 at 5:26 PM, dharhsana [EMAIL PROTECTED] wrote: hi umar, thanks for ur reply ... As per ur sugesstion i have done the search,it perfectly worked well... i have two more question 1) how to delete an id in a solr

Re: solr search

2008-05-15 Thread Umar Shah
On Thu, May 15, 2008 at 3:16 PM, dharhsana [EMAIL PROTECTED] wrote: hi this is rekha,iam new to solr.. I need to search the solr with limits,for example if we are going to get 100 records ,those records should be seperated to 10 records each in seperate xml .can any one give me the sample

Re: solr search

2008-05-15 Thread Umar Shah
On Thu, May 15, 2008 at 6:56 PM, dharhsana [EMAIL PROTECTED] wrote: hello umar, Thank u so much for replying me. I have a requirement that i have to display first 10 values in jsp page . In that page itself i have (NEXT) button while clicking, it should query the next 10 records from

Release date of SOLR 1.3

2008-05-14 Thread Umar Shah
Hi, I'm using the latest trunk code from SOLR . I am basically using function queries (sum, product, scale) for my project which are not present in 1.2. I wanted to know if there is some decided date for release of Solr1.3. If the date is far/ not decide, what should be the best practice to adopt

Re: help for preprocessing the query

2008-05-13 Thread Umar Shah
in the contents of the file.. thanks for your help -umar Look at http://www.onjava.com/pub/a/onjava/2001/05/10/servlet_filters.html?page=1for more details. On Mon, May 12, 2008 at 8:51 PM, Umar Shah [EMAIL PROTECTED] wrote: On Mon, May 12, 2008 at 8:42 PM, Shalin Shekhar Mangar

Re: help for preprocessing the query

2008-05-13 Thread Umar Shah
On Tue, May 13, 2008 at 4:39 PM, Shalin Shekhar Mangar [EMAIL PROTECTED] wrote: Did you put a filter-mapping in web.xml? no, I just did that and it seems to be working... what is filter-mapping required for? On Tue, May 13, 2008 at 4:20 PM, Umar Shah [EMAIL PROTECTED] wrote: On Mon

help for preprocessing the query

2008-05-12 Thread Umar Shah
Hi, Due some requirement I need to transform the user queries before passing it to the standard handler in Solr, can anyone suggest me the best way to do this. I will need to use a transfomation class that would provide functions to process the input query 'qIn' and transform it to the

Re: help for preprocessing the query

2008-05-12 Thread Umar Shah
? : chain.doFilter( myRequest, response ); And you have MyServletRequestWrapper that extends ServletRequestWrapper. Then you can get|set q* parameters through getParameter() method. Hope this helps, Koji Umar Shah wrote: Hi, Due some requirement I need to transform the user

Re: help for preprocessing the query

2008-05-12 Thread Umar Shah
to solr request handler and I need to pack this servlet class file into Solr war file. But How would I ensure that my servlet is called instead of solr request handler? On Mon, May 12, 2008 at 8:36 PM, Umar Shah [EMAIL PROTECTED] wrote: On Mon, May 12, 2008 at 2:50 PM, Koji Sekiguchi [EMAIL

Re: Function Query result

2008-05-09 Thread Umar Shah
thanks mike, some how it was not evident from the wiki example, or i was too presumptious ;-). -umar On Fri, May 9, 2008 at 2:53 AM, Mike Klaas [EMAIL PROTECTED] wrote: On 7-May-08, at 11:40 PM, Umar Shah wrote: That would be sufficient for my requirements, I'm using the following

Re: Function Query result

2008-05-09 Thread Umar Shah
for developers who are very familiar with a system to write good documentation for beginners, alas.) -Mike On 8-May-08, at 11:44 PM, Umar Shah wrote: thanks mike, some how it was not evident from the wiki example, or i was too presumptious ;-). -umar On Fri, May 9, 2008 at 2:53 AM

Re: Function Query result

2008-05-08 Thread Umar Shah
On Wed, May 7, 2008 at 11:34 PM, Mike Klaas [EMAIL PROTECTED] wrote: On 7-May-08, at 5:01 AM, Umar Shah wrote: Hi, I want to use result of a function query based on multiple field values for ranking the results, can I also return the value of the computed function along with other

Function Query result

2008-05-07 Thread Umar Shah
Hi, I want to use result of a function query based on multiple field values for ranking the results, can I also return the value of the computed function along with other fields of the documents returned. thanks in anticipation -umar

Re: solr performance for documents with hundreds of fields

2008-04-25 Thread Umar Shah
wondering if there will be a performance problem? -Grant On Apr 24, 2008, at 7:08 AM, Umar Shah wrote: Hi, I wanted to know what would be the performance of SOLR for the following scenario: the documents contain say 200 fields with say 100 of the fields (containing numbers) and rest

solr performance for documents with hundreds of fields

2008-04-24 Thread Umar Shah
Hi, I wanted to know what would be the performance of SOLR for the following scenario: the documents contain say 200 fields with say 100 of the fields (containing numbers) and rest containing short strings of 40-50 character length. the sparseness of the data can be assumed to be as

Re: Return the result only field A or field B is non-zero?

2008-04-11 Thread Umar Shah
hi, a related question: is there some way where we can specify action based on whether field A exists or not? -umar On Fri, Apr 11, 2008 at 8:27 AM, Chris Hostetter [EMAIL PROTECTED] wrote: If every document will definitely have a value for both fields, you can do... q =

Can I find the which field matched?

2008-04-09 Thread Umar Shah
Hi, If i through a query at the solr index , is there a mechanism where i can find out which fields matced the query... (score of that match). Example: for Fields A,B and C, if query q has term1 term2 term3 Field A matches term1 term 2 Field C matches term3 can i get component scores of the

Re: sorting on aggregate averages

2008-04-02 Thread Umar Shah
Thanks! I'll have a look at that. On Wed, Apr 2, 2008 at 6:25 AM, Chris Hostetter [EMAIL PROTECTED] wrote: : I am computing a sorted rank list and returning a slice (for pagination) but : have to recompute the result for each request, although the actual q : parameter and fq would be

Re: Search exact terms

2008-04-02 Thread Umar Shah
If you want this behavior then the field type should not be 'text'. for default fieldtype=text there are many filters applied before the values are indexed, this includes stemming (reducing the word to root word, removing s in ur case. try using fieldtype=string instead. this will match strictly

Re: Can We append a field to the response that is not in the index but computed at runtime.

2008-04-01 Thread Umar Shah
thanks ryan seems like this would be helpful. will try it out. thanks again. -umar On Tue, Apr 1, 2008 at 12:13 AM, Chris Hostetter [EMAIL PROTECTED] wrote: : 2. Augment the documents with a field value -- this is a bit more : complex and runs the risk of name collisions with fields in

Re: sorting on aggregate averages

2008-03-31 Thread Umar Shah
Hi, it took me some but I implemented the required function by developing a custom plugin for our specific example. However Now I have another issue: I am computing a sorted rank list and returning a slice (for pagination) but have to recompute the result for each request, although the actual q

Re: Can We append a field to the response that is not in the index but computed at runtime.

2008-03-31 Thread Umar Shah
the field.. any specific methods to do that? If #1 works, go with that... ryan On Mar 31, 2008, at 9:51 AM, Umar Shah wrote: thanks ryan for the reply. I have looked at the prepare and process methods in SearchComponents(Query, Filter etc). I'm using all the default components

Re: solr.search.function

2008-03-25 Thread Umar Shah
On 3/21/08, Chris Hostetter [EMAIL PROTECTED] wrote: : I am investigating to implement an aggregate average function for a document : and require help for the same. First off: please don't repost the same email with a different subject (on either solr list) just because you don't recieve

solr.search.function

2008-03-19 Thread Umar Shah
Hi, I am investigating to implement an aggregate average function for a document and require help for the same. The problem is that I have documents containing manufacturer, product, rating (m,p,r) and i want to find the top manufacturers for product (p1,p2,...) can be around 10 to 20 products

sorting on aggregate averages

2008-03-17 Thread Umar Shah
Hi, I have a problem of returning an list of results which is sorted on a average of ranks returned from aggregates. the qury would be something like ? q=product:p1+product:p2+product:p3; sort score desc To explain Supose I have documents with fields Product, Manufacturer, Rank and I want to

Re: ranking on Multivalued fields

2008-03-12 Thread Umar Shah
sense. Keep those two (cat and catrank) as two distinct fields and I think you'll have what you are after. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: Umar Shah [EMAIL PROTECTED] To: solr-user@lucene.apache.org Sent: Saturday, March

Re: ranking on Multivalued fields

2008-03-08 Thread Umar Shah
second question, just add category:X to your query and you'll get matches ordered/ranked by score by default. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: Umar Shah [EMAIL PROTECTED] To: solr-user@lucene.apache.org Sent: Friday, March

ranking on Multivalued fields

2008-03-06 Thread Umar Shah
Umar Shah