tjake / Solandra

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

Search function does not fully support (?q=) #80

Closed Gasol closed 13 years ago

Gasol commented 13 years ago

index some text like "first second third"

curl 'http://localhost:8983/solandra/reuters/analysis/field?analysis.fieldtype=text&q=first second third&analysis.fieldvalue=first&wt=json&indent=true&analysis.showmatch=true'

i got "first" match.

but i can not query like below:

curl 'http://localhost:8983/solandra/reuters/select?q=first second' // numFound=0, expect 1 but curl 'http://localhost:8983/solandra/reuters/select?q=first' // numFound=1

davidstrauss commented 13 years ago

@Gasol Does this problem still occur for you when you escape the space with "%20" or "+"? I can't reproduce this issue using normal URL escaping.

Gasol commented 13 years ago

i'll give it a try...