Reading directly from the Doctrine Searchable index table
        Posted  
        
            by phidah
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by phidah
        
        
        
        Published on 2010-03-26T18:36:11Z
        Indexed on 
            2010/04/06
            22:53 UTC
        
        
        Read the original article
        Hit count: 324
        
I've got a Doctrine table with the Searchable behavior enabled.
Whenever a record is created, an index is made in another table. I have a model called Entry and the behavior automatically created the table entry_index.
My question now is: How can I - without using the search(...) methods of my model use the data from this table?
I want to create a tag cloud of the words most used, and the data in the index table is exactly what I need.
© Stack Overflow or respective owner