Skip to main content
May 25, 2010
Question

Query only selecting last item of results

  • May 25, 2010
  • 2 replies
  • 475 views

Hello

I'm building the index of my search engine. I select a few columns from two tables and join on a ID

select DISTINCT a.tclm, a.tableid, a.tid, b.oid,  b.tid, b.subcname, b.pro4, b.subcid
from tblinfo a,  subc b
where a.tid = b.tid


after I dump the results it looks ok... but when I search for a part number from a group of the same ID number, it only returns the last part of the list... the search doesnt see all the parts.

any help would be appreciated

Thanks!

    This topic has been closed for replies.

    2 replies

    May 25, 2010

    I think I'm getting it... Im passing the column through Custom1 and seems to be working..

    Need a little more testing here

    Inspiring
    May 25, 2010

    How are you doing this search?

    May 25, 2010

    hi Dan

    Ugh...

    I think the problem is index building is handled a little differently than a column query


    I have multiple rows (part numbers) that are tied to a single (part name)


    With these column search results it doesnt look like I can return the results I want
    query
      AUTHOR CATEGORY CATEGORYTREE CONTEXT CUSTOM1 CUSTOM2 CUSTOM3 CUSTOM4 KEY RANK RECORDSSEARCHED SCORE SIZE SUMMARY TITLE TYPE URL

    Thanks,

    Jeff