dqfaom241360 2015-05-04 13:58
浏览 39
已采纳

如何在Zend Lucene中将一组值存储到一个索引文档中?

I've got a database with a list of registrations. Each of the registrations has 0..* tickets codes. How can I store it into an index document to be able to find a registration by one of the codes?

enter image description here

  • 写回答

1条回答 默认 最新

  • doujian1954 2015-05-06 08:35
    关注

    I found the solution, I put all tickets into one column tickets and I store ticket codes there and each of them divided by space. I made that column with type Text (Understanding Field Types). So, it allows me to search by the tickets and registration information.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?