NumberFormat exception when trying to use recip function query

2007-05-14 Thread Mekin Maheshwari
Hi, I am getting the following exception when I try run any query : java.lang.NumberFormatException: empty String at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:994) at java.lang.Float.parseFloat(Float.java:394) at

Documenting function queries [was Re: NumberFormat exception when trying to use recip function query]

2007-05-14 Thread Mekin Maheshwari
2) eliminate the space inside the recip functions This solved it :) I would like to document this along with a little detail about function queries may be if I get enough time, simple graphs that I created to help people choose the right values for using in the function queries. I dont see

Re: NumberFormat exception when trying to use recip function query

2007-05-14 Thread Mekin Maheshwari
Done. Please check - http://wiki.apache.org/solr/FunctionQuery and send me your comments (or improve the wiki ) Right now its more of a aggregation of all relevant information. I hope people will be able to add notes like what values to use, pitfalls to avoid, behaviour in special cases as

More about function queries

2007-05-07 Thread Mekin Maheshwari
Hi, Just wanted to check if there is more documentation about function queries besides the java doc at http://lucene.apache.org/solr/api/org/apache/solr/search/QueryParsing.html#parseFunction(java.lang.String,%20org.apache.solr.schema.IndexSchema) Starting with what the fields for all the

Re: Tagging

2007-02-22 Thread Mekin Maheshwari
For a more general solution, I'm thinking a separate lucene index might be ideal. -Yonik I dont know if this will work for others, below is what we do. Also, if there are things I can improve, do let me know. All tag inserts go to a small DB table. And I reindex the docs that these tags

Re: Searching multiple indices (solr newbie)

2007-01-09 Thread Mekin Maheshwari
: http://cnet.search.com/search?chkpt=astg.cnet.fd.search.cnetq=canontag=srch I just so happen to have a bit of insight into how that page works, and while it's true that it queries multiple indexes with differnet schemas, it makes no attepts to merge the results -- the product results come from

Re: Searching multiple indices (solr newbie)

2007-01-04 Thread Mekin Maheshwari
Thanks Chris. http://wiki.apache.org/solr/FederatedSearch Thats useful I might be getting close to that size soon. The issue is best described with an example: search for canon - matches multiple categories, which will have very different schemas