Because the mobile phone info has many fields (>40), I don't want to repeatedly submit it to Solr.
On 9/13/06, Yonik Seeley <[EMAIL PROTECTED]> wrote:
On 9/12/06, climbingrose <[EMAIL PROTECTED]> wrote: > Obviously, I need to publish the mobile phone > catalogue to Solr. How about the information that users submit when they > sell the phone? Should I publish them to Solr as well? It can often make a system simpler if the web front-end only has one data source to worry about. > Can Solr produce something like: > > red(3) > chocolate(1) > black(1) Yes, it was always able to (with custom Java code), but it just got a lot easier for simple things like this. It's now supported out-of-the-box: http://wiki.apache.org/solr/SimpleFacetParameters > Because the website is currently being developed in Java, I'm a little bit > worried about the use of curl. Curl is just a tool that talks HTTP.. it's not "part" of Solr at all - just a convenient way of testing things. > I want to be able to programmatically > submit/delete document from Java code rather than through command line. I > read JavaSolr page but it seems that the code isn't stable enough for > production. CNET's in-house client was too tied up with other stuff to cleanly separate out and open-source. As you can see, an open source client is being worked on: http://issues.apache.org/jira/browse/SOLR-20 -Yonik
-- Regards, Cuong Hoang