I am sorry, but I'm having trouble understanding how exactly you are configuring the JCIFS connector in these two cases. Can you view the job in each case and provide cut-and-paste of the view?
Karl On Tue, Aug 10, 2021 at 9:09 AM ritika jain <ritikajain5...@gmail.com> wrote: > Hi All, > > I am using Window shares connector in 2.14 manifoldcf version and Elastic > as output. > I have created a dynamic manifoldcf job API via which a job will be > created in manifoldcf with inclusions list and path, only particular file > path is to be mentioned . Example file path:- C:/Users/Dell/Desktop/abc.txt. > > A job will be created to crawl only this single file . > *Issue is :-* > When this job ingest document in Elastic search there is slash, that is > getting appended in the end > > *Ingested file is* :- C:/Users/Dell/Desktop/abc.txt/ > > But when same file is crawled via Manifoldcf job settings by mentioning > path till folder structure (as manual job creation does not allow file path > till particular file it allows till folders only). > It does not append / > > *Ingested file in this case:-* > C:/Users/Dell/Desktop/abc.txt > as expected original file. > > *Query* > Why is this the case as it makes searching in ES ambiguous. > > Thanks > Ritika > > >