Main Overview Wiki Issues Forum Build Fisheye

Welcome, Guest
Guest Settings

Compass Support Forums » Compass » Compass Users

Thread: how to search in the result?

This question is not answered. Helpful answers available: 2. Correct answers available: 1.

Permlink Replies: 1 - Pages: 1 - Last Post: May 30, 2008 1:03 PM Last Post By: vam

Posts: 13
Registered: 3/28/08
how to search in the result?
Posted: May 26, 2008 9:48 PM
  Click to reply to this thread Reply
I want to use compass to search a wiki-like site. because of every pages consist of many fields. In my database, I save one field as one record. one page's fields have the same pageid, so when I search by the key, the results only have one field for every page, but I want get the page's all fields. I want do as follow:
first: use search by the key, and get the pageid from result.
second, use the pageid to search again, and get the page's all field, and then return the second result to use.

Is it possible, and how should I do? I will appreciate your solution or any tips.

Posts: 259
Registered: 1/2/07
Re: how to search in the result?
Posted: May 30, 2008 1:03 PM   in response to: ssl in response to: ssl
  Click to reply to this thread Reply
It is possible but all can be done in one search.

Are you using a JDBC GPS, JPA, or pure hibernate. Can you describe your environment?
Guru: 2001 + pts
Expert: 501 - 2000 pts
Super-star: 101 - 500 pts
Assistant: 51 - 100 pts
Participant: 0 - 50 pts
Helpful Answer (5 pts)
Correct Answer (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums