core icon indicating copy to clipboard operation
core copied to clipboard

Sort By is not working on lucene queries

Open mabouza opened this issue 14 years ago • 2 comments

I'm using release master 2.0 branch and testing a query in lucene and in the Query test tool.

If I use modDate desc it works but when I use News.title it doesn't return anything.

This doesn't throw errors on the logs.

This is what I'm doing

foreach($con in $dotcontent.pull("+structureName:News +(conhost:48190c8c-42c4-46af-8d1a-0cd5db894797 conhost:SYSTEM*HOST) +News.title:*gas_",10,"News.title"))

And even on the Content search, I search for gas and it returns one result I click on Headline to sort by it and it doesn't return anything. I'm copying the code from the Search Query popup to test and its not returning anything unless I use modDate on the sort by.

mabouza avatar Apr 27 '12 22:04 mabouza

this seems to work. I did both the content search tab and the from velocity.

I wonder if you were not updated or something weird locally with your index or we fixed already.

I a, running release-2.0-master pulled to the most recent as of 8:40 AM EST 30 April

jtesser avatar Apr 30 '12 12:04 jtesser

I'll clean up my install and try again because I couldn't make it work at all on Friday. Thanks :)

mabouza avatar Apr 30 '12 16:04 mabouza