tjake / Solandra

Solandra = Solr + Cassandra
Apache License 2.0
882 stars 150 forks source link

Terms Query Not Working #85

Closed jschappet closed 13 years ago

jschappet commented 13 years ago

Should this query work in Solandra?

http://localhost:8983/solandra/reuters/terms?terms.fl=combo&terms.regex=Coffee.*&terms.regex.flag=case_insensitive

I saw the comment in solrconfig.xml, about terms, but I am not sure if this is a distributed search.

Right now I am getting empty results:

<?xml version="1.0" encoding="UTF-8"?> <response> <lst name="responseHeader"><int name="status">0</int><int name="QTime">1</int></lst><lst name="terms"><lst name="combo"/></lst> </response>

jschappet commented 13 years ago

In the Cassandra Log:

INFO [347500362@qtp-698491110-3] 2011-05-10 08:05:53,005 SolrCore.java (line 1370) [reuters] webapp=/solandra path=/terms params={terms.regex=Coffee.*&terms.regex.flag=case_insensitive&terms.fl=combo} status=0 QTime=170

tjake commented 13 years ago

I have't tried that search type is that new in 3.1? In theory it should work.

Let me add a test case and see what's happening

jschappet commented 13 years ago

Jake,

Is there anything I might be able to try on my side to get this working?

--Jimmy

tjake commented 13 years ago

Hi Jimmy,

Working on a different issue atm. I will get to this soon after.

Thanks!

tjake commented 13 years ago

Hi Jimmy,

This requires a custom TermsComponent, I'll work on it this week.

tjake commented 13 years ago

Just committed. Please take a look.

jschappet commented 13 years ago

Search terms are working.

Thanks for the updates Jake.