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

图片转代码服务由CSDN问答提供 功能建议

我有一个包含注册列表的数据库。 每个注册都有 0 .. * 门票代码。 如何将其存储到索引文档中以便能够通过其中一个代码找到注册?

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

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.

    点赞 打赏 评论

相关推荐 更多相似问题