Query speed decreased dramatically, not sure why though?

2010-08-24 Thread C0re
We have a query which takes the form of ".../select?q=*&sort=evalDate+desc,score+desc&start=0&rows=10" This query takes around 5 seconds to complete. I changed the query to the following; ".../select?q=[* TO NOW]&sort=evalDate+desc,score+desc&start=0&rows=10" The query now returns in around 6

Handling incomplete/malformed queries

2010-10-14 Thread C0re
Queries such as: Cat AND (i.e the query is malformed with no second term provided) Causes a ParseException. Of course I could parse the query for sanity before it is submitted to Solr but I wondered if there is a good practice way of checking/dealing with queries which are incomplete? Perha

Wildcard weirdness

2010-11-05 Thread C0re
Hi, I'm trying to understand what Solr is doing when a search for O'Connor and O'Conn* is done. The first search returns 4 results, which is fine. I would expect the second search to return at least 4 (the same) results, however it fails to return any. I've debugged the query and this is the ou

Re: Wildcard weirdness

2010-11-05 Thread C0re
Hi Savvas, Thanks for the reply. Yep I've been trying out the Analysis tool. As you say the index does lowercase the terms. Field Name: surname Index Value: O'Connor Query Value: connor The Index Analyzer creates: o connor Which the query value above will match on. However, if the quer