QUESTION OF FULL TEXT SEARCH IN R/3 4.6C USING TREX IN EP 6.0 SP9
Hi all:
I can use R/3(46c) plus content server(6.3) to store
Documents by KPRO.I've installed EP(6.0 sp9) plus Trex(6.1sp9).I want use this Trex to implement full text search,I can see the index id in the trex_xx\index directory.when I use tcode skpr07,I can find no problem,But when I use tcode cv04n,I can not find any document,the system does not display any error.
What's wrong?
hi there
can anyone help me with this...
How to integrate TREX in SAP R/3 System.
I found that u r discussing abt TREX in SAP R/3. Can u people help me with the basics required for that....
I have tried TREX in SAP Enterprise Portal and its working.
Now i would like to incorporate TREx in R/3 system.
How do we do that... Is it necessary that we need to install SAP Gateway in TREX host. Or is it possible without that.
Can anyone brief me on what are the important settings to be made for that.
Also i came across the RFC destination creation for connecting TREX with the R/3 system.
I would like to know what kind of data is commonly indexed in R/3 and that too how. What is it that provides an interface for the user.
In the case of portal we define a a KM repository as the datasource likewise in R/3 system what do we define as datasource.
I know these questions may sound very silly... pls do help
regards
Sasha
Similar Messages
-
hi experts,
i have some questions about full text search in cv04n, please bare with me as am new to dms.
1. what is the impact on the existing data if i activate the full text search.
2. how to activate the full text search - please mention step by step process
thanks in advance.Dear NAG
For text search you have activate TREX Server
follow the steps
Set TREX
A:- Transaction: SRMO
Install TREX , and create RFC destination to connect to
TREX.
B:- Transaction: SKPR06
Check the flag to Document Area "DMS" to utilize this document area for
document search.
For Indexing
A: Transaction: SE38
Run the report program "RSTIRIDX_REINDEX" to create Index.
Also, run the report program "RSTIRIDX" to create Index.
Set mime type for the text search
A: SPRO --
Cross-Application Components > Document Management System > General
Data > Settings for Storage Systems > Create MIME types for full
text search,
Enter MIME type like
"application/msword",
"application/pdf".
Retrive document via Test Search
A: Then, test retrieval document search using
Transaction: SKPR07.
Enter Document Class "DMS_PCD1", Language "EN", Document Class "DMS",
and try "TEST search".
Regards
Tushar Dave -
Full text search on varbinary max field containing RTF
I have a table in sql server 2008 (tblRTF) with the following columns
ID (numeric) (Primary key)
RTF (Varbinary(max)) (full text search index is created on this one)
Doctype (varchar) (contains the document type which is its extension. In my case it is .rtf)
I am storing RTF files in my 'RTF' field and the string '.rtf' in 'DocType' column. As mentioned, my fulltext search index is created on 'RTF' field. My problem is - when I write queries using fulltext search for searching for rows, then it returns
me rows even if I provide words that are supposed to be within RTF tags.
Following is an example of my query -
SELECT *
FROM tblRTF
WHERE CONTAINS(RTF, 'rtf1')
The above query ideally should not return me rows because the string 'rtf1' occurs within RTF tags of an rtf and not within the body or text. Yet, when I write the above query, it returns me all the rows from the table
as each RTF will begin with the string - {\rtf1\
Can anyone tell me what wrong am I doing here? The very purpose of fulltext search is defeated if the word is searched for within the tags.
Thanks in advance.Hello,
Check out the links and articles below. It may help you.
http://arcanecode.com/2009/05/28/full-text-searching-a-filestream-varbinary-max-column/
http://social.msdn.microsoft.com/Forums/is/sqldatabaseengine/thread/9695c531-ae1f-4dbc-82ba-9e73ac8349ce
http://stackoverflow.com/questions/726243/full-text-search-on-a-varbinary-column-is-it-possible-to-use-a-mime-type-rathe -
Hello,
I am trying to install Microsoft SQL Server 2008 R2. I get the error bellow (Database Services Engine Failed, SQL Server Replication Failed, Full Text Search Failed, Reporting Services Failed). I already have a copy of SQL Server 2008 R2 on the machine.
I want to create a new named instance of SQL Server for some software I'm installing.
The error is below.
Any help would be much appreciated, thanks!
Overall summary:
Final result: SQL Server installation failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then
rerun SQL Server Setup.
Exit code (Decimal): -595541211
Exit facility code: 1152
Exit error code: 49957
Exit message: SQL Server installation failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then
rerun SQL Server Setup.
Start time: 2014-02-06 09:14:09
End time: 2014-02-06 11:18:16
Requested action: Install
Log with failure: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140206_091302\Detail.txt
Exception help link: http%3a%2f%2fgo.microsoft.com%2ffwlink%3fLinkId%3d20476%26ProdName%3dMicrosoft%2bSQL%2bServer%26EvtSrc%3dsetup.rll%26EvtID%3d50000%26ProdVer%3d10.50.2500.0%26EvtType%3d0x44D4F75E%400xDC80C325
Machine Properties:
Machine name: BAHPBZ52TY
Machine processor count: 4
OS version: Windows 7
OS service pack: Service Pack 1
OS region: United States
OS language: English (United States)
OS architecture: x64
Process architecture: 64 Bit
OS clustered: No
Product features discovered:
Product Instance Instance ID
Feature Language
Edition Version Clustered
Sql Server 2008 R2 SQLEXPRESS MSSQL10_50.SQLEXPRESS Database Engine Services
1033 Express Edition 10.50.1600.1 No
Sql Server 2008 R2
Management Tools - Basic 1033 Express Edition
10.50.1600.1 No
Package properties:
Description: SQL Server Database Services 2008 R2
ProductName: SQL Server 2008 R2
Type: RTM
Version: 10
Installation location: c:\c7ced2c86d6b9813b28186cc831c2054\x64\setup\
Installation edition: EXPRESS_ADVANCED
Slipstream: True
SP Level 1
User Input Settings:
ACTION: Install
ADDCURRENTUSERASSQLADMIN: True
AGTSVCACCOUNT: NT AUTHORITY\NETWORK SERVICE
AGTSVCPASSWORD: *****
AGTSVCSTARTUPTYPE: Disabled
ASBACKUPDIR: Backup
ASCOLLATION: Latin1_General_CI_AS
ASCONFIGDIR: Config
ASDATADIR: Data
ASDOMAINGROUP: <empty>
ASLOGDIR: Log
ASPROVIDERMSOLAP: 1
ASSVCACCOUNT: <empty>
ASSVCPASSWORD: *****
ASSVCSTARTUPTYPE: Automatic
ASSYSADMINACCOUNTS: <empty>
ASTEMPDIR: Temp
BROWSERSVCSTARTUPTYPE: Disabled
CONFIGURATIONFILE:
CUSOURCE:
ENABLERANU: True
ENU: True
ERRORREPORTING: False
FARMACCOUNT: <empty>
FARMADMINPORT: 0
FARMPASSWORD: *****
FEATURES: SQLENGINE,REPLICATION,FULLTEXT,RS,SSMS,SNAC_SDK,OCS
FILESTREAMLEVEL: 0
FILESTREAMSHARENAME: <empty>
FTSVCACCOUNT: NT AUTHORITY\LOCAL SERVICE
FTSVCPASSWORD: *****
HELP: False
INDICATEPROGRESS: False
INSTALLSHAREDDIR: c:\Program Files\Microsoft SQL Server\
INSTALLSHAREDWOWDIR: c:\Program Files (x86)\Microsoft SQL Server\
INSTALLSQLDATADIR: <empty>
INSTANCEDIR: C:\Program Files\Microsoft SQL Server\
INSTANCEID: aedt2bSQL
INSTANCENAME: AEDT2BSQL
ISSVCACCOUNT: NT AUTHORITY\NetworkService
ISSVCPASSWORD: *****
ISSVCSTARTUPTYPE: Automatic
NPENABLED: 0
PASSPHRASE: *****
PCUSOURCE: c:\c7ced2c86d6b9813b28186cc831c2054\PCUSOURCE
PID: *****
QUIET: False
QUIETSIMPLE: False
ROLE: AllFeatures_WithDefaults
RSINSTALLMODE: DefaultNativeMode
RSSVCACCOUNT: NT AUTHORITY\NETWORK SERVICE
RSSVCPASSWORD: *****
RSSVCSTARTUPTYPE: Automatic
SAPWD: *****
SECURITYMODE: SQL
SQLBACKUPDIR: <empty>
SQLCOLLATION: SQL_Latin1_General_CP1_CI_AS
SQLSVCACCOUNT: NT AUTHORITY\NETWORK SERVICE
SQLSVCPASSWORD: *****
SQLSVCSTARTUPTYPE: Automatic
SQLSYSADMINACCOUNTS: BAH\568385
SQLTEMPDBDIR: <empty>
SQLTEMPDBLOGDIR: <empty>
SQLUSERDBDIR: <empty>
SQLUSERDBLOGDIR: <empty>
SQMREPORTING: False
TCPENABLED: 0
UIMODE: AutoAdvance
X86: False
Configuration file: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140206_091302\ConfigurationFile.ini
Detailed results:
Feature: Database Engine Services
Status: Failed: see logs for details
MSI status: Passed
Configuration status: Failed: see details below
Configuration error code: 0xDC80C325
Configuration error description: Access is denied
Configuration log: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140206_091302\Detail.txt
Feature: SQL Client Connectivity SDK
Status: Passed
MSI status: Passed
Configuration status: Passed
Feature: SQL Server Replication
Status: Failed: see logs for details
MSI status: Passed
Configuration status: Failed: see details below
Configuration error code: 0xDC80C325
Configuration error description: Access is denied
Configuration log: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140206_091302\Detail.txt
Feature: Full-Text Search
Status: Failed: see logs for details
MSI status: Passed
Configuration status: Failed: see details below
Configuration error code: 0xDC80C325
Configuration error description: Access is denied
Configuration log: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140206_091302\Detail.txt
Feature: Reporting Services
Status: Failed: see logs for details
MSI status: Passed
Configuration status: Failed: see details below
Configuration error code: 0xDC80C325
Configuration error description: Access is denied
Configuration log: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140206_091302\Detail.txt
Feature: Management Tools - Basic
Status: Passed
MSI status: Passed
Configuration status: Passed
Feature: Microsoft Sync Framework
Status: Passed
MSI status: Passed
Configuration status: Passed
Rules with failures:
Global rules:
Scenario specific rules:
Rules report file: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140206_091302\SystemConfigurationCheck_Report.htmHello,
If you see error descriptioon it gives access denied so basically it is because of some access issue.I guess You must be using some domin account for installation make sure it is added as local administrator also instead of using NT Authority network
service as SQL server service account use local system account .
Below link would help
http://serverfault.com/questions/212135/access-is-denied-error-installing-sql-server-2008-on-windows-7
You can also browse to setup.exe file and RK on it and select run as administrator
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
Full-Text Search has not worked since we upgraded to 2012
I have a filestream database and table. Our full-text searches have always worked until we upgraded to SQL 2012 in December. Now, no file that has been uploaded since December is searchable. What has gone wrong here. It should have been
a clean upgrade. We are not getting any error messages. We are just not getting any records returned when we search on a word that we know are in the documents we've uploaded since December (for instance, the word 'aluminum').
Filestream is enabled for the instance.
A full-text catalog exists and contains a full-text index (the same one we've always had). Full-text indexing is ENABLED.
I've tried rebuilding the catalog and the index. I've tried to do a FULL POPULATION on the table.
We haven't changed our queries nor the way the files are uploaded.
Nothing works. I have been a database administrator since the SQL 2005 days and I have never seen anything like this.
Please help.Hi GINGER PIERCE,
Since the issue regards SQL Server Search. I will help you post the question in the related forums. It is appropriate and more experts will assist you.
According to your description, in theory , if you can do a full-text search for SQL Server 2008, when upgrading the SQL Server version from 2008 to 2012, the Full text indexing feature should be run well in SQL Server 2012 databases. If not , you can try
to restore your database from SQL Server 2008 to SQL Server 2012, create an new Full-Text Catalog and Index on the table or view in the database, and then use Full Text Index to search words, phrases and multiple forms of word or phrase via FREETEXT() and
CANTAINS() with “and” or “or” operators. check if it is normal that the full-text search feature is enabled in the SQL Server 2012 instance. For more information , see:
Full Text Search step by step in SQL Server 2012.
Note: In SQL Server 2012 SP1 , the server will report that Full Text Search is not supported in this edition of SQL Server when it clearly is. The workaround is to create the initial catalog by using a T-SQL query:
CREATE FULLTEXT CATALOG
In addition, since it is a fileStream database, we need to verify if you do Full Text Searches on documents in FileTables, if yes, you should enable FileStream database for your SQL Server, and enable FileTable options for the database. For more information,
see:
Full Text Searches on Documents in FileTables.
Regards,
Sofiya Li
If you have any feedback on our support, please click here.
Sofiya Li
TechNet Community Support -
Information on full text search in Oralce Database
Hi,
We are looking to implement full text search using Oracle database. Where can I find info on this topic? Specifically, I'm looking for
1) an overview of how to implement them in Oracle database - column type, size/limitations etc.
2) does oracle database come with filters to extract and filter data from different file formats such as Ms office, PDF (images) etc.
Appreciate your replyLook into the Oracle Text documentation. It has the answers to your questions.
-
Full text search in Filenet via SAP DMS
Hello experts,
Hopefully you can help me with the following. My customer has SAP DMS and uses FileNet (v4.0) as content repository. They use Verity as tool for full text search (SAP and non-SAP). Verity has it's own user interface / search screen. Question is if it is possible for SAP (easy)DMS users to do full text search (via CV04N or EasyDMS searchscreen) and search in the FileNet repository (directly with TREX or via Verity). The customer has the ACSAP connector up and running.
I've implemented TREX with SAP content server and index server before, but I'm not familiar with FileNet possibilities in that area, so hopefully someone has experience with this?
thanks in advance, ErwinDear NAG
For text search you have activate TREX Server
follow the steps
Set TREX
A:- Transaction: SRMO
Install TREX , and create RFC destination to connect to
TREX.
B:- Transaction: SKPR06
Check the flag to Document Area "DMS" to utilize this document area for
document search.
For Indexing
A: Transaction: SE38
Run the report program "RSTIRIDX_REINDEX" to create Index.
Also, run the report program "RSTIRIDX" to create Index.
Set mime type for the text search
A: SPRO --
Cross-Application Components > Document Management System > General
Data > Settings for Storage Systems > Create MIME types for full
text search,
Enter MIME type like
"application/msword",
"application/pdf".
Retrive document via Test Search
A: Then, test retrieval document search using
Transaction: SKPR07.
Enter Document Class "DMS_PCD1", Language "EN", Document Class "DMS",
and try "TEST search".
Regards
Tushar Dave -
Can we enable full text search using TOAD ?
Hi, i m new to oracle, i come from sql server background
There is a server in israel where oracle 10 g is installed. I stay in india. i want to connect to that database(with valid credentials) and want to know if i can enable full text search feature or any other related feature so that i can search a few keywords as i dont know what tables contain what data.
Plz guideWhiteHat wrote:
923860 wrote:
Hi, i m new to oracle, i come from sql server background
There is a server in israel where oracle 10 g is installed. I stay in india. i want to connect to that database(with valid credentials) and want to know if i can enable full text search feature or any other related feature so that i can search a few keywords as i dont know what tables contain what data.
Plz guideyou want to be able to search all fields in all tables?
I don't think this is possible to do in any RDMS! to be a developer you must know the schema. When I was working with Toad it had such an option. I guess it is still there. And that was one of the things that was really really useful.
Of cause TOAD knows the schema. And you could choose where you want to search (include trigger code or not, include data, etc.).
But I'm not sure if there are any requirements for this option. The question should be better asked in a quest-TOAD forum.
Edited by: Sven W. on Mar 28, 2012 9:31 AM -
"Filter/partition key" for full-text searching
Hi there,
We have a challenge whereby we have a table of products by store, each store having say 200,000 products. Basically, for each store, we want to allow searching by product name. The best solution for this is to have full-text searching, but there
is no way to have a "filter" or "partition" key on the store ID.
So in essence what happens, the full-text search scans the entire full-text catalog for the products, then it uses the primary key to match to the table and then filters out the other stores. Considering we have hundreds of stores in the table, this
is not a good solution.
We contemplated adding separate indexed views and full-text catalogs for every store, but this would be a nightmare to manage.
I was expecting to see some sort of a "partition by Column" in the full-text indexes, but it doesn't exist. This basically means we have to scrap full-text and look for a third party solution.
Does anyone have any idea how we could achieve this with just standard SQL full-text searching?Hi Adam,
Thank you for your question. I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
Thank you for your understanding and support.
If you have any feedback on our support, please click
here.
Elvis Long
TechNet Community Support -
Is it possible to ignore noise words conditionally in working with Full text search containstable
I have a question on stoplist file. I need to search for exact phrase string("this is the incident") which contains noise words. As part of the FT search engine, during parsing it eliminates noise word and search on remaining string in
the given phrase.
let us say there are 10 rows which contains the term "incident" in the FT table . and 1 row which has the exact phrase.i.e."this is the incident".
if we use containstable() to search for "this is the incident", we are getting 10 rows instead of 1 row.
To resolve the issue, we have 3 solutions
1.either stoplist file needs to be modified to remove the words (this,is,the)
2. set stoplist = OFF.
3.empty stoplist.
Apart from the above solutions, is there any better solution with out touching noise words file list.
If any solution that provides flexibility to ignore noise words conditionally at one time and not to ignore them.
Please provide your suggestion.
kkprasadOne question that I ask is: Why would I want to exclude noise words?
Noise words were created to limit the size of the full text indexes and avoid processing the many 'this', 'is', and 'the' common words. But the disadvantage of doing so is that you cannot find some things as you would like.
My feeling is that computers are more powerful and have more storage and it is often better to just index everything. As long as your search does not include 'the', then the large number of 'the's in the system will pretty much be ignored.
NOTE: If you change the noise words, including SET STOPLIST = OFF, you have to rebuild the index in order for it to implement your decision.
Of course, for very, very large full text indexes you would need to test.
Is your full text search on relation database columns, e.g. Description NVARCHAR(1000) or are you searching Word, Excel, and other more complex data?
If your full text is relational columns, it might be that you could:
1. Select only the fulltextkey into a temp table (e.g. #FTSfulltextkey) from the full text index using noise words. That would give you 10 rows.
2. Then directly query the table to find the string as you define above. (But remember that punctuation and symbols are generally ignored by Full Text Indexing, but would still be there in the string of text.)
SELECT *
FROM MyTextTable T
JOIN #FTSfulltextkey K
ON T.fulltextkey = k.fulltextkey
WHERE T.Description like '%this is the incident%'
Full text search is powerful, but it has limits. And the behaviour changes depending on the Language of the search.
RLF -
Problems using and configuring Oracle 10gR2 database full-text search
I am having problems trying to set up full-text indexing and search with Universal Content Management (UCM). I followed the Oracle Content Server Installation Guide for windows at [http://download-west.oracle.com/docs/cd/E10316_01/cs/cs_doc_10/documentation/integrator/install_cserver_win_10en.pdf].
What I did was:
1. Modify E:\oracle\ucm\server\config\config.cfg by adding SearchIndexerEngineName=DATABASE.FULLTEXT to the end of the file.
2. Restart the content server.
3. Rebuild the search indexing using Repository Manager.
However, I keep seeing the following error when I query by entering words in the "Full-Text Search" box.
Unable to retrieve search results. Unable to retrieve search results. Unable to create result set for query 'SELECT IdcColl1.dID, dDocName, dDocTitle, dDocType, dRevisionID, dSecurityGroup, dDocAuthor, dDocAccount, dRevLabel, dFormat, dOriginalName, dExtension, dWebExtension, dInDate, dOutDate, dCreateDate, dPublishType, dRendition1, dRendition2, VaultFileSize, WebFileSize, URL, dFullTextFormat, dFullTextCharset, DocMeta.*
FROM IdcColl1, DocMeta
WHERE IdcColl1.dID=DocMeta.dID AND (((CONTAINS(dDocFullText,'test') > 0 ))) ORDER BY dInDate Desc'. ORA-20000: Oracle Text error:
DRG-10599: column is not indexed
Some web searches suggested the following (all of which I have tried but not resolved this problem).
1. Publish the schema using Configuration Manager (applet) and then rebuild index
2. Set the dDocFullText as a "zone field". This is not possible, because dDocFullText does not show up under the list of fields under "Database" or "DatabaseFullText" for the Search Engine drop down (when using Zone Fields Configuration).
3. Reboot the server (did not work either).
I logged onto the Oracle database and checked the IdcColl1 table. There is indeed, no index for the field, dDocFullText. There is only 1 index for the field, did. The field, dDocFullText, is a BLOB. The question is, if I am supposed to create an index manually for this field, how would I do it? A web search has not been fruitful in answering this question.
Here are my server settings.
For UCM:
Operating System: Windows 2003 Enterprise
UCM : 10gR3
Memory: 1 GB
Web Server: Apache 2.2.11
For Oracle:
Operating System: Windows 2003 Enterprise
Oracle: 10gR2
Memory: 1 GB
Thanks.I found out what the problem was. The problem was that I had to create the role, stellent_role, as described in the installation manual. After I created this role and assigned the database user to this role, a restart of the Content Server services and collection rebuild of the index fixed the problem.
However, I did notice one thing. I checked in 3 PDF files, and when I used Repository Manager to do a collection rebuild, I noticed that for Indexer Counters, the count for Full Text was 0 and the count for Meta Only was 3.
Anyone have any ideas? Is there something else that I missed? From reading the installation manual, it was not clear how database full-text indexing/searching would handle PDF files. -
Full-Text search is not working with PDF files - SQL Server 2012 64 bit
Hi,
We are in the process of storing PDF files in SQL Server 2012 with Full-Text search capability.
I followed the steps as below and it works fine with word document but not for PDF files. I tried with PDF ifiler 11 & 9 and both are unsuccessful.
Server/DB Level Settings:
1)
Enable FileStream
2)
Install Full-Text
then restart
3)
Use [specific db]
alter
database [db name]
add
filegroup Files
contains filestream;
alter
database [db name]
add
file (
name = N'Files',
filename =
N'D:\SQL\DATA') to
filegroup [Files];
3)
Database level
Settings:
FileStream:
FileStream
Directory name:
[Set the name]
FileStream
non-transacted
Access: [set Appropriate]
3a)
Add a
datafile to DB
with filestreamdata
filetype.
4)
Share D:\SQL\DATA
directory and
add specific accounts
with read/write
access
5)
Give bulkadmin
access to those
specific accounts
at server
level
6)
From the
page (link)
download and
install the *.pdf
IFilter for
FTS. Link:
http://www.adobe.com/support/downloads/detail.jsp?ftpID=5542
7)
To the
PATH global system
variable add
path to the
catalog,
where you installed
the plugin.
Default for
this version is:
C:\Program
Files\Adobe\Adobe
PDF iFilter 9
for 64-bit
platforms\bin
8)
From the
page (link)
download a
FilterPackx64.exe
and install
it. Link:
http://www.microsoft.com/en-us/download/confirmation.aspx?id=20109
9)
Now from
SSMS execute the following
procedures:
-sp_fulltext_service
'load_os_resources',1
-sp_fulltext_service
'verify_signature', 0
EXEC
sp_fulltext_service
'update_languages';
-- update language list
EXEC
sp_fulltext_service
'restart_all_fdhosts';
-- restart daemon
reconfigure
with override;
10)
Restart the
server
11)
select document_type,
path from
sys.fulltext_document_types
where document_type
= '.pdf'
-select
document_type,
path from sys.fulltext_document_types
where document_type
= '.docx'
12) Results are OK.
Following is my Table /Index/ catalog script:
CREATE
TABLE dbo.DocumentFilesTest
DocumentId INT
IDENTITY(1,1)
NOT NULL
PRIMARY KEY,
AddDate datetime
NOT NULL,
Name nvarchar(50)
NOT NULL,
Extension nvarchar(10)
NOT NULL,
Description nvarchar(1000)
NULL,
FileStream_Id UNIQUEIDENTIFIER
ROWGUIDCOL NOT
NULL UNIQUE DEFAULT
NEWSEQUENTIALID(),
FileSource varbinary(MAX)
FILESTREAM DEFAULT(0x)
go
--Add default add date for document
ALTER
TABLE dbo.DocumentFilesTest
ADD CONSTRAINT
DF_DocumentFilesTest_AddDate
DEFAULT sysdatetime()
FOR AddDate
EXEC
sp_fulltext_database
'enable'
GO
IF
NOT EXISTS
(SELECT
TOP 1 1 FROM sys.fulltext_catalogs
WHERE name
= 'Ducuments_Catalog_test')
BEGIN
EXEC sp_fulltext_catalog
'Ducuments_Catalog_test',
'create',
'D:\SQL\PDFBlob';
END
--EXEC sp_fulltext_catalog 'Ducuments_Catalog_test', 'drop'
DECLARE
@indexName nvarchar(255)
= (SELECT
Top 1 i.Name
from sys.indexes
i
Join sys.tables
t on
i.object_id
= t.object_id
WHERE t.Name
= 'DocumentFilesTest'
AND i.type_desc
= 'CLUSTERED')
PRINT @indexName
EXEC
sp_fulltext_table
'DocumentFilesTest',
'create',
'Ducuments_Catalog_test',
@indexName
EXEC
sp_fulltext_column
'DocumentFilesTest',
'FileSource',
'add', 0,
'Extension'
EXEC
sp_fulltext_table
'DocumentFilesTest',
'activate'
EXEC
sp_fulltext_catalog
'Ducuments_Catalog_test',
'start_full'
ALTER
FULLTEXT INDEX
ON [dbo].[DocumentFilesTest]
ENABLE
ALTER
FULLTEXT INDEX
ON [dbo].[DocumentFilesTest]
SET CHANGE_TRACKING
= AUTO
ALTER
FULLTEXT CATALOG
Ducuments_Catalog_test REBUILD
WITH ACCENT_SENSITIVITY=OFF;
INSERT
INTO DocumentFilesTest(Extension,
Name,
FileSource)
SELECT
'pdf'
'BOL12006553.pdf'
* FROM
OPENROWSET(BULK
'd:\SQL\PDFBlob\BOL12006553.pdf',
SINGLE_BLOB)
AS BLOB;
GO
INSERT
INTO DocumentFilesTest(Extension,
Name,
FileSource)
SELECT
'docx'
'test.docx'
* FROM
OPENROWSET(BULK
'd:\SQL\PDFBlob\test.docx',
SINGLE_BLOB)
AS Document;
GO
SELECT
d.*
FROM dbo.DocumentFilesTest
d WHERE
Contains(d.FileSource,
'BILL')
Returns nothing. it should come from PDF file
SELECT
d.*
FROM dbo.DocumentFilesTest
d WHERE
Contains(d.FileSource,
'TEST')
Returns from word document as follows:
2 2014-06-04 10:11:41.393 test.docx docx
NULL [BINARY Value] [Binary Value]
Any help is appreciated. Its been a long wait.
Thanks,
Vel
Vel ThavasiHello,
Did you check the fulltext log files for more details about the errors. If the filter isn’t working, there should be errors in the error log file.
The following thread is about similar issue, please refer to:
http://social.msdn.microsoft.com/forums/sqlserver/en-US/69535dbc-c7ef-402d-a347-d3d3e4860d72/sql-server-2008-64bit-fulltext-indexing-pdf-not-working-cant-find-ifilter
Regards,
Fanny Liu
If you have any feedback on our support, please click here.
Fanny Liu
TechNet Community Support -
TREX/Content Server: Full text searches not working
I've setup TREX and Content Server in a sandbox environment and have been trying to get my head around DMS. I've completed what I've believed are the required steps (outlined below) and I have submitted 12 documents of various types into the respository. I'm able to perform meta data searches but not full text searched. Any ideas what I might have missed?
Much thanks!!!!
/Greg
0. Defined connection to TREX Server: TREX_42 (SM59); Using TREXADMIN all services are green.
1. "Define Document Area" - DMS is present; assumed I would use this one.
2. "Defined Indexing Readiness" - selected "Index Release" & "Classify" for DMS; set "Search Srv" to DMS_TEST
3. "Define Content Respository" - Created Z_CR_001 and maintained it as follows:
- Documentation Area: Document Management System
- Storage Type: HTTP content server
- HTTP Server: srv-sptxd2-dal.intervoice.int (content server)
- Port: 1090
- HTTP Script: ContentServer/ContentServer.dll
- Physical Path: /usr/sap/IRD/SYS/global/
4. "Define Content Categories" - Created ZCSSTRUCT; maintained as follows:
- Document Area: DMS
- Content Rep: Z_CR_001
5. Checked CSADMIN for Z_CR_001 - All Green
6. Went into SKPR07 (monitoring tab); entered DMS_PCD1 and "Indexing possible", "Auto indexing" and "DocArea activated" is all green.
7. Went into SMRO
- created SSR: "Search Server ID" = DMS_TEST, "Search engine" = DRFUZZY
- Verified "RFC Destinations"; passed tests; all green.
8. Went into SKPR07; using DMS_PCD1 as document class.
- executed "Clean up table entries"
- deselected "Limited to selected language"
- executed reindex. "Copied successfully from search engine"
- Selected the created index category
- Set the "Document area" indicator
- execute "Trigger process"; 12 documents referenced
9. Going into TREXADMIN I can see the created index; however the document count = 0. Also there is no queue created -- should there be?
Edited by: Greg Preston on Aug 5, 2009 9:11 PMDear
this link will help you,
TREX Architecture
http://help.sap.com/saphelp_erp60_sp/helpdata/EN/71/b26b2bfdc4eb47ab5432e8444290ce/content.htm
File Formats Supported by TREX
http://help.sap.com/saphelp_erp60_sp/helpdata/EN/55/cb634114b78047e10000000a1550b0/content.htm
Detail about TREX Configuration (Basic to advance)
http://help.sap.com/saphelp_erp60_sp/helpdata/EN/46/bab1d48b0a1514e10000000a114a6b/content.htm
Regards
Tushar Dave
Edited by: Tushar Dave on Aug 6, 2009 9:59 AM -
I have downloaded JavaHelp using Sun Download Manager (download and extract JavaHelp) to activate Full-text Search in RoboHelp. But, while generating Help in RoboHelp, I get an error that JavaHelp is not installed. I am not able to understand how to Install JavaHelp. Please help.
That's the way it worked in X4 and later versions up but not including RH8. RH8 includes phrase searching in webhelp.
See www.grainge.org for RoboHelp and Authoring tips -
Document Management / Full Text Search in Projects & SolMan Directory
Hello experts!
I want to implement Full Text Search in my SolMan and therefore need your help.
I have installed Trex 7.10 and am already able to search within my Solution Database (Problems/Solutions).
Now I want to be able to search within all documents in my SolMan Installation - e.g. Roadmaps, SAP Scenario Descriptions or my own uploaded documents.
In the IMG I already found the section Document Management but I cannot get the needed RFCs (IMSDEFAULT and IMSDEFAULT_REG) working.
There is already a RFC called IMSDEFAULT, which was created during the installation of Trex and runs the
Registered Server-Program: Trex_SOT_20080327090311
I tried to configure my RFCs according to the IMG but, as I said, cannot manage to get them working.
I hope anybody has an idea or an guide on how to implement Full Text Search!
Please be so kind and provide help - thanks in advance!
Best regards
GeroldGerold,
I am running into the same issues because we want to do full text search on project documentation within Solution Manager. The default RFC connections IMSDEFAULT_REG and IMSDEFAULT do not work with the standard settings.
We created one index for IWBSOLAR so maybe I also need to check IWBPROJ in SKPR06 for project documentation and create a new index for this one ?
The indexing for IWBSOLAR now fails although there seem to be over 6000 documents marked but none are put in the index. After indexing there is a list of the documents all with code 6401 but cannot find any where what this code means. It seems to be succesful as all entries are green.
Any help/suggestions on this topice would be greatly appreciated.
Maybe you are looking for
-
How to encrypt the text in password field in Oracle Forms version 6i
Need help! How to encrypt the text in password field in Oracle Forms version 6i? one way is to change the settings in the property palette. Can somebody provide me some script to be run while the form is running which will enable the password to be e
-
What is General Error (41)
Ill work longgg and hard on a project only to try and open it open after i've saved it and try to come back to it to finish it and ill get the alert: general error (41) What is that and how do i fix it once and for all?
-
Not sure if this is where I should post this. But I just got a Macbook Pro and have been using my ipod on a windows xp based desktop computer. How do I put my songs from the ipod onto my new mac. I got conflicting info from the genius bar and also fr
-
HT1338 why is ios7 not working for ipod 4
Helplease my ipod touch 4 wont ge ios 7
-
Missing update package xproto-7.0.14-1-i686.pkg.tar.gz
today's updates include a buttload of updates. one of which is xproto-7.0.14-1-i686.pkg.tar.gz, even though its not in the official repos. which is still stuck at 7.0.13, am i missing somehting? or did this package sliped? posting my pacman -Syu :: S