Try storing the field with the FarCry type as "file" (in this case the
field name is called filename).  It should have the extension I was
referring to.  You can do a simple listLast with a period delimiter on it
to get the extension.

--
Jeff Coughlin

On Nov 7, 2012, at 20:18, AJ Mercer <[email protected]> wrote:

I did not describe my question very well on the other thread (did not have
farcry in front of me at the type)

With Solr admin, you add 'Content Type' for each Farcry type you would like
to have indexed.
I have added dmFile and called it 'Document' - this is what I would like to
show in my search results

<sidenote>
I am thinking I may have multiple (custom) files uploaded into the system,
dmFile1, dmFile2 for want of a better example, and add them to Solr and
label them all 'Document'. So in the search results ALL files display as
'Document'
<sidenote>


This is what I get in stObj from search results.

stObj Struct
Entries:14createdby string <snip>datetimecreated string{ts '2012-10-24
19:39:46'} datetimelastupdated string{ts '2012-11-05 17:56:02'}
fcsp_benablesearch stringtrue fcsp_documentsize string
228131fcsp_highlight Array
(List)1 stringThis form authorises<snip>. 2 stringpdf 3
string/dmfile/Letter_of_Authorisation_-_Accountant_or_SMSF_Administrator.pdf4
string <snip>5 string 6 string Letter of Authorisation – SMSF Administrator
or Accountant 7 string Letter of Authorisation – SMSF Administrator or
Accountant fcsp_id string
corporate_5D4D0C00-1DB6-11E2-8C03005056830000fcsp_sitename
string corporatelabel stringLetter of Authorisation – SMSF Administrator or
Accountant lastupdatedby string<snip> objectid
string5D4D0C00-1DB6-11E2-8C03005056830000ownedby
string 2744CAC0-B462-11E1-80B6005056830000 score string 214.395370483398
typename stringdmFile



There is no File Extension

<image.png>


<image.png>

-- 

*AJ Mercer*
<webonix:net strength="Industrial" /> <http://webonix.net> | <webonix:org
community="Open" /> <http://webonix.org>
http://twitter.com/webonix
Railo Community Manager <http://www.getrailo.org/index.cfm/community/team/>

 --
You received this message cos you are subscribed to "farcry-dev" Google
group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry


Reply via email to